blender.git
5 months agoCleanup: replace attrib w/ attr
Campbell Barton [Mon, 28 Jan 2019 20:46:25 +0000 (07:46 +1100)]
Cleanup: replace attrib w/ attr

Also rename GPUVertexAttribs to GPUVertAttrLayers,
avoids confusion with GPUVertAttr which isn't closely related.

5 months agoMerge branch 'blender2.7'
Bastien Montagne [Mon, 28 Jan 2019 21:27:45 +0000 (22:27 +0100)]
Merge branch 'blender2.7'

Conflicts:
source/creator/CMakeLists.txt

5 months agoFix T60896: Missing update for Auto Texture Space.
Bastien Montagne [Mon, 28 Jan 2019 21:25:26 +0000 (22:25 +0100)]
Fix T60896: Missing update for Auto Texture Space.

5 months agoOutliner: Enable new faster 'Delete Hierarchy' code by default.
Bastien Montagne [Mon, 28 Jan 2019 20:57:56 +0000 (21:57 +0100)]
Outliner: Enable new faster 'Delete Hierarchy' code by default.

Some more tests showed no issue, so now feeling reasonably confident.

Old, 'safer' one remains available through setting debug value to 666,
for a few more weeks.

5 months agoFix several missing cases of copy func for modifiers.
Bastien Montagne [Mon, 28 Jan 2019 20:48:09 +0000 (21:48 +0100)]
Fix several missing cases of copy func for modifiers.

Any time a modifier data has non-ID pointer, it should have own copy
function (and also take care of proper init/reset in its init callback).

5 months agoFix T60840: Serious memleak in solidify modifier.
Bastien Montagne [Mon, 28 Jan 2019 20:46:05 +0000 (21:46 +0100)]
Fix T60840: Serious memleak in solidify modifier.

Another one painful to pin down, due to misleading info in report, and
more than anything else, waaayyyyy too complex example file!

5 months agoFix T60944: Add Tablet eraser support to annotations usin pen
Antonioya [Mon, 28 Jan 2019 16:46:11 +0000 (17:46 +0100)]
Fix T60944: Add Tablet eraser support to annotations usin pen

5 months agoFix T60566: Warnings in rigid body and certain conrfiguration
Sergey Sharybin [Mon, 28 Jan 2019 15:38:12 +0000 (16:38 +0100)]
Fix T60566: Warnings in rigid body and certain conrfiguration

Was visible when constraint object is not directly visible via
view layers, need to indirectly pull it into the graph.

5 months agoFix T60599: Multires crash after doing dyntopo sculpt
Sergey Sharybin [Mon, 28 Jan 2019 15:14:30 +0000 (16:14 +0100)]
Fix T60599: Multires crash after doing dyntopo sculpt

5 months agoFix T59963: Can't manipulate hair keys with G, R, S or mirror transforms
Sergey Sharybin [Mon, 28 Jan 2019 14:45:34 +0000 (15:45 +0100)]
Fix T59963: Can't manipulate hair keys with G, R, S or mirror transforms

Need to pass proper evaluated mesh to calculate hair matrix.

5 months agoDRW: support clipping for object & lamp centers
Campbell Barton [Mon, 28 Jan 2019 13:13:42 +0000 (00:13 +1100)]
DRW: support clipping for object & lamp centers

5 months agomakesrna: write files w/ spaces instead of tabs
Campbell Barton [Mon, 28 Jan 2019 12:06:37 +0000 (23:06 +1100)]
makesrna: write files w/ spaces instead of tabs

We're preparing to move to spaces, having literal tabs in strings
complicates conversion a little, move makesrna to spaces now.

5 months agoFix blenderplayer build after OpenMP changes.
Brecht Van Lommel [Mon, 28 Jan 2019 12:04:20 +0000 (13:04 +0100)]
Fix blenderplayer build after OpenMP changes.

5 months agoMake scene statistics to respect locked interface
Sergey Sharybin [Mon, 28 Jan 2019 11:47:39 +0000 (12:47 +0100)]
Make scene statistics to respect locked interface

Interface is being locked when some destructive operations
are called from non-main thread.

This was causing crash with particles in T60065.

5 months agoMerge branch 'blender2.7'
Campbell Barton [Mon, 28 Jan 2019 11:27:00 +0000 (22:27 +1100)]
Merge branch 'blender2.7'

5 months agoFix T60127: Particles texture mapping coordinates objects
Sergey Sharybin [Mon, 28 Jan 2019 11:17:54 +0000 (12:17 +0100)]
Fix T60127: Particles texture mapping coordinates objects

Part of the issue was a missing relation. Other part wes
aboud object's inverse matrix never being updated.

5 months agoCleanup: unused struct declarations
Campbell Barton [Mon, 28 Jan 2019 11:15:46 +0000 (22:15 +1100)]
Cleanup: unused struct declarations

5 months agoCleanup: sort forward declarations of enum & struct
Campbell Barton [Mon, 28 Jan 2019 11:08:29 +0000 (22:08 +1100)]
Cleanup: sort forward declarations of enum & struct

Done using:
  source/tools/utils_maintenance/c_sort_blocks.py

5 months agoMerge branch 'blender2.7'
Brecht Van Lommel [Mon, 28 Jan 2019 11:05:51 +0000 (12:05 +0100)]
Merge branch 'blender2.7'

5 months agoCleanup: unused struct declarations
Campbell Barton [Mon, 28 Jan 2019 11:06:53 +0000 (22:06 +1100)]
Cleanup: unused struct declarations

5 months agoOSL: remove fresnel template that was not public domain.
Brecht Van Lommel [Mon, 28 Jan 2019 10:51:24 +0000 (11:51 +0100)]
OSL: remove fresnel template that was not public domain.

Convention is to only have public domain code templates. Also fixes wrong
license header in Cycles.

5 months agoFix T57069: macOS window contents scaling bug.
Brecht Van Lommel [Mon, 28 Jan 2019 10:58:00 +0000 (11:58 +0100)]
Fix T57069: macOS window contents scaling bug.

The cause of this is unclear, but delaying querying the native pixel size
appears to help in the one case I could reproduce.

5 months agoCleanup: sort forward declarations of enum & struct
Campbell Barton [Mon, 28 Jan 2019 10:08:24 +0000 (21:08 +1100)]
Cleanup: sort forward declarations of enum & struct

Done using:
  source/tools/utils_maintenance/c_sort_blocks.py

5 months agoFix: use correct units for some bone properties
Scott Spadea [Mon, 28 Jan 2019 10:01:46 +0000 (11:01 +0100)]
Fix: use correct units for some bone properties

Differential Revision: https://developer.blender.org/D4267

5 months agoFix: allow removal of addons that are symlinked
Jacques Lucke [Mon, 28 Jan 2019 09:52:54 +0000 (10:52 +0100)]
Fix: allow removal of addons that are symlinked

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D4256

5 months agoFix: use pixel as unit for some properties
Scott Spadea [Mon, 28 Jan 2019 09:49:00 +0000 (10:49 +0100)]
Fix: use pixel as unit for some properties

Differential Revision: https://developer.blender.org/D4266

5 months agoMerge branch 'blender2.7'
Brecht Van Lommel [Sun, 27 Jan 2019 19:17:11 +0000 (20:17 +0100)]
Merge branch 'blender2.7'

5 months agoFix Cycles standalone build as part of Blender.
Brecht Van Lommel [Sun, 27 Jan 2019 17:26:26 +0000 (18:26 +0100)]
Fix Cycles standalone build as part of Blender.

5 months agoFix T60908: crash in workbench render after DoF changes.
Brecht Van Lommel [Sun, 27 Jan 2019 12:52:28 +0000 (13:52 +0100)]
Fix T60908: crash in workbench render after DoF changes.

5 months agoFix: Use correct units in Shrinkwrap modifier
Łukasz Kwoska [Sun, 27 Jan 2019 11:22:14 +0000 (12:22 +0100)]
Fix: Use correct units in Shrinkwrap modifier

Differential Revision: https://developer.blender.org/D4261

5 months agoFix T59921: RuntimeError:bpy.ops.object.gpencil_modifier_apply()
Antonioya [Sat, 26 Jan 2019 15:19:03 +0000 (16:19 +0100)]
Fix T59921: RuntimeError:bpy.ops.object.gpencil_modifier_apply()

Thanks to Brecht for his help

5 months agoMerge branch 'blender2.7'
Brecht Van Lommel [Sat, 26 Jan 2019 14:54:13 +0000 (15:54 +0100)]
Merge branch 'blender2.7'

5 months agomacOS: add support for OpenMP, making smoke/fluid/cloth simulations faster.
Arto Kitula [Sat, 26 Jan 2019 13:14:51 +0000 (14:14 +0100)]
macOS: add support for OpenMP, making smoke/fluid/cloth simulations faster.

This bring macOS on par with Windows and Linux. It uses the OpenMP library
added to our precompiled libraries.

Custom flags are set because FindOpenMP from CMake below 3.12 does not support
AppleClang, and more recent versions do not work with our custom directory
location either.

Differential Revision: https://developer.blender.org/D4257

5 months agoCycles: add missing units for properties.
Robert Guetzkow [Sat, 26 Jan 2019 14:08:59 +0000 (15:08 +0100)]
Cycles: add missing units for properties.

Differential Revision: https://developer.blender.org/D4258

5 months agoFix build error after recent cleanup.
Brecht Van Lommel [Sat, 26 Jan 2019 14:02:52 +0000 (15:02 +0100)]
Fix build error after recent cleanup.

5 months agoCleanup: fix compiler warnings.
Brecht Van Lommel [Sat, 26 Jan 2019 13:46:38 +0000 (14:46 +0100)]
Cleanup: fix compiler warnings.

5 months agoFix: Use correct units for cloth properties
Valentin [Sat, 26 Jan 2019 12:31:07 +0000 (13:31 +0100)]
Fix: Use correct units for cloth properties

Differential Revision: https://developer.blender.org/D4260

5 months agoFix incorrect sizeof use in rna array formatting
Campbell Barton [Sat, 26 Jan 2019 12:17:31 +0000 (23:17 +1100)]
Fix incorrect sizeof use in rna array formatting

5 months agoCorrect build error removing includes
Campbell Barton [Sat, 26 Jan 2019 12:08:11 +0000 (23:08 +1100)]
Correct build error removing includes

5 months agoCleanup: blank lines over doxy headers
Campbell Barton [Sat, 26 Jan 2019 10:43:24 +0000 (21:43 +1100)]
Cleanup: blank lines over doxy headers

5 months agoCleanup: remove redundant BKE/BLI/BIF headers
Campbell Barton [Sat, 26 Jan 2019 09:41:52 +0000 (20:41 +1100)]
Cleanup: remove redundant BKE/BLI/BIF headers

5 months agoCleanup: draw manager headers
Campbell Barton [Sat, 26 Jan 2019 09:07:31 +0000 (20:07 +1100)]
Cleanup: draw manager headers

5 months agoCleanup: redundant defines
Campbell Barton [Sat, 26 Jan 2019 05:50:13 +0000 (16:50 +1100)]
Cleanup: redundant defines

Comment or remove unused defines.

5 months agoCleanup: remove blender-internal update flag
Campbell Barton [Sat, 26 Jan 2019 07:18:13 +0000 (18:18 +1100)]
Cleanup: remove blender-internal update flag

5 months agoCleanup: wrapper for built-in shader access
Campbell Barton [Sat, 26 Jan 2019 05:39:05 +0000 (16:39 +1100)]
Cleanup: wrapper for built-in shader access

5 months agoDRW: support clipping for empty object
Campbell Barton [Sat, 26 Jan 2019 04:00:03 +0000 (15:00 +1100)]
DRW: support clipping for empty object

5 months agoKeymap: move grease pencil Alt-C to 2.7x map
Campbell Barton [Sat, 26 Jan 2019 01:56:56 +0000 (12:56 +1100)]
Keymap: move grease pencil Alt-C to 2.7x map

This has been removed from the default map, so don't use elsewhere.

5 months agoCleanup: avoid static vars to store legacy shaders
Campbell Barton [Fri, 25 Jan 2019 23:31:53 +0000 (10:31 +1100)]
Cleanup: avoid static vars to store legacy shaders

5 months agoGPU: refactor defines into GPUShaderStages
Campbell Barton [Fri, 25 Jan 2019 23:04:10 +0000 (10:04 +1100)]
GPU: refactor defines into GPUShaderStages

Code comment notes there are "just a few",
now there are enough it's useful to include in GPUShaderStages.

5 months agoCleanup: order GPUShaderStages (vert, geom, frag)
Campbell Barton [Fri, 25 Jan 2019 22:46:29 +0000 (09:46 +1100)]
Cleanup: order GPUShaderStages (vert, geom, frag)

Use names for declarations to support adding defines, coming next.

5 months agoWorkbench: Depth Of Field: Add toggle option in shading popover
Clément Foucault [Fri, 25 Jan 2019 20:03:50 +0000 (21:03 +0100)]
Workbench: Depth Of Field: Add toggle option in shading popover

Pretty straight forward. Just an option to turn the DoF per viewport.
Default is off as in 2.79.

5 months agoWorkbench: Depth Of Field: Cleanups
Clément Foucault [Fri, 25 Jan 2019 20:02:24 +0000 (21:02 +0100)]
Workbench: Depth Of Field: Cleanups

5 months agoGP: Apply scale to particles
Antonioya [Fri, 25 Jan 2019 19:40:56 +0000 (20:40 +0100)]
GP: Apply scale to particles

The particles were using the scale of the original object and the thickness of the stroke was not correct. Now, the scale is applied by particle.

5 months agoGP: Set cyclic to OFF when use cutter
Antonioya [Fri, 25 Jan 2019 19:01:11 +0000 (20:01 +0100)]
GP: Set cyclic to OFF when use cutter

When cut a stroke, the cyclic must be set to off because keep it gets very weird results.

5 months agoAmmend to rBea5326df86cb.
Bastien Montagne [Fri, 25 Jan 2019 18:51:38 +0000 (19:51 +0100)]
Ammend to rBea5326df86cb.

As suggested by @sergey, better use RECALC flag dedicated to pointcache.

5 months agoFix T58142: Crash when use Cycles to render stereoscopy
Dalai Felinto [Fri, 25 Jan 2019 13:05:04 +0000 (11:05 -0200)]
Fix T58142: Crash when use Cycles to render stereoscopy

This is a quick workaround to prevent the crashes with multi-view.
The ultimate solution can be plenty, and would turn around refactoring
Cycles to handle multi-view internally, so that depsgraph could be freed
before render with no problems.

Reviewers: brecht, sergey

For the complete discussion check: https://developer.blender.org/D4239

5 months agoFix Freestyle (ASAN detected) crash
Dalai Felinto [Fri, 25 Jan 2019 16:54:36 +0000 (14:54 -0200)]
Fix Freestyle (ASAN detected) crash

This was very simple to reproduce, just turn on Freestyle and press render.

Now to the truth of things. Most (if not all) of
~BlenderStrokeRenderer() can be removed. I believe this was done back
when freestyle was using G.main, and since we gave freestyle its own
main we can just leave the cleanup for later.

I will leave this for freestyle maintainers to think over though.

Note: There is a chance this was the issue reported on T57890. I will
wait for the reporter to confirm this as fixed though.

5 months agoFix T60783: (Certain) shapekeys stopped working in 2.8.
Bastien Montagne [Fri, 25 Jan 2019 16:42:43 +0000 (17:42 +0100)]
Fix T60783: (Certain) shapekeys stopped working in 2.8.

This commit adds another optional check (when `--debug-io` is set) on
write .blend process, to check and ensure all shape keys have their
'from' pointer properly set to their respective user ID.
This is intended to be used as debuging tool mostly (to try to detect
when/why some of those pointers can become NULL).

For now, it also systematically perform same checks/fixes when loading a
.blend file, to fix all broken ones laying around. Later we might move
that usage to a do_version instead, but for now think it's safer to
always perfom it (and it's rather cheap process anyway).

5 months agoShapeKey: add utils to say whether given ID type supports shapekeys.
Bastien Montagne [Fri, 25 Jan 2019 16:37:19 +0000 (17:37 +0100)]
ShapeKey: add utils to say whether given ID type supports shapekeys.

Those kind of checks are handy to have for generic processing...

5 months agoCleanup: BLO: move validate code into own header.
Bastien Montagne [Fri, 25 Jan 2019 16:31:32 +0000 (17:31 +0100)]
Cleanup: BLO: move validate code into own header.

Does not make sense to keep that with BLO_writefile.h, this can also be
used by read code, and some other parts of Blender (like ed_undo.c
currently)...

5 months agoFix T55462: Ungroup in Node editor crash Blender
Sergey Sharybin [Fri, 25 Jan 2019 15:49:40 +0000 (16:49 +0100)]
Fix T55462: Ungroup in Node editor crash Blender

If ID doesn't want to do user counting it shouldn't be in main.

5 months agoFix T60775: Stereo drawing in image editor broken (shows only right eye)
Dalai Felinto [Fri, 25 Jan 2019 14:58:31 +0000 (12:58 -0200)]
Fix T60775: Stereo drawing in image editor broken (shows only right eye)

5 months agoUI: Particles
Pablo Vazquez [Fri, 25 Jan 2019 14:30:04 +0000 (15:30 +0100)]
UI: Particles

Dupli Collection -> Instance Collection

5 months agoUI: Particles. Open render type panels by default
Pablo Vazquez [Fri, 25 Jan 2019 14:29:22 +0000 (15:29 +0100)]
UI: Particles. Open render type panels by default

Render-type panels are only shown when the relevant type is active anyway.
Saves a click especially when using object or collection as render, since
you _have_ to set an object or collection to use it.

5 months agoUI: Particle. Remove unnecessary label for grid distribution
Pablo Vazquez [Fri, 25 Jan 2019 14:18:03 +0000 (15:18 +0100)]
UI: Particle. Remove unnecessary label for grid distribution

None of the other distribution modes have labels, and it's pretty clear
anyway since the fields below have the Grid word in them.

5 months agoUI: Particles
Pablo Vazquez [Fri, 25 Jan 2019 14:16:49 +0000 (15:16 +0100)]
UI: Particles

Remove duplicate "Use Modifier Stack"

5 months agoFix T60204: Crash when opening a File
Sergey Sharybin [Fri, 25 Jan 2019 14:18:32 +0000 (15:18 +0100)]
Fix T60204: Crash when opening a File

Missing code from 3d083f37. Need to ensure that ID properties
are properly allocated and restored on read.

5 months agoWorkbench: Depth Of Field: Optimisation
Clément Foucault [Thu, 24 Jan 2019 21:01:03 +0000 (22:01 +0100)]
Workbench: Depth Of Field: Optimisation

- Compute samples positions on CPU.
- Use 3x3 Box blur instead of 2x2.
- Implement bokeh parameters.

With this commit, dof performance is almost negligeable.
The quality is a bit lower than before but can be improve. Also now big
Circle of confusion are supported (up to 200px).
Cost is ~1.25ms on AMD Vega with a 2560p viewport than full HD and
pretty shallow depth of field.

Coc downsampling and dilation is not used anymore for now (commented).

5 months agoWorkbench: Depth Of Field: Initial Commit
Clément Foucault [Thu, 24 Jan 2019 16:28:51 +0000 (17:28 +0100)]
Workbench: Depth Of Field: Initial Commit

The algorithm used is borrowed from :
http://tuxedolabs.blogspot.com/2018/05/bokeh-depth-of-field-in-single-pass.html

This makes it possible to have a decent blur for foreground over defocused
background in one pass only.

The algorithm is using a gather approach that is much faster
than the scatter approach used in Eevee. This makes it possible to have
custom bokeh shapes (not implemented yet) which would be impossible with
a separable gaussian technique.

The blur is done in 2 steps. The first one define the shape of the bokeh
and the second that fill the undersampling.

A downsample max-CoC tile texture speed up the gathering process.

5 months agoT60745: GPU texture alloc failed when opening Preference Windows
Clément Foucault [Tue, 22 Jan 2019 15:30:17 +0000 (16:30 +0100)]
T60745: GPU texture alloc failed when opening Preference Windows

Was generating INVALID_FRAMEBUFFER here instead of failled texture alloc.

Add safety asserts in gpu_texture.c and clamp minimum size to 1 inside
GPU_offscreen_create.

5 months agoGP: Use Fill color when drawing strokes for no stroke materials
Antonioya [Fri, 25 Jan 2019 13:34:56 +0000 (14:34 +0100)]
GP: Use Fill color when drawing strokes for no stroke materials

Artists requested to show the stroke while drawing a new stroke using a material with fill color only, because it's very difficult to see the stroke.

Now the stroke shows always but using the fill color, not the stroke color because maybe is not set.

5 months agoFix crash happening with hair step
Sergey Sharybin [Fri, 25 Jan 2019 12:58:42 +0000 (13:58 +0100)]
Fix crash happening with hair step

The issue was caused by the hair step checking whether
particle system needs to have path cache. This was done
in a way which was traversing an entire scene and was
checking every object for particle instance modifier.

Ideally, path cache should be an own operation in the
dependency graph. Or at least, this flag should be set
by dependency graph builder, similar to curve's path.

Since the code was broken already (it was only checking
first particle instance modifier), it is easier to
remove the buggy code, solve the crash and move on for
now.

If this causes an issue, simply set particle system to
be rendered as path.

Fixes crash with playback of Spring scenes.

5 months agoFix texture paint accessing freed memory
Campbell Barton [Fri, 25 Jan 2019 12:49:21 +0000 (23:49 +1100)]
Fix texture paint accessing freed memory

Part of T60660

5 months agoCorrect last commit, wire xray is supported
Campbell Barton [Fri, 25 Jan 2019 12:36:31 +0000 (23:36 +1100)]
Correct last commit, wire xray is supported

5 months agoDRW: disable clipping background drawing w/ xray mode
Campbell Barton [Fri, 25 Jan 2019 12:24:34 +0000 (23:24 +1100)]
DRW: disable clipping background drawing w/ xray mode

This interfered with drawing the mesh.

5 months agoDepsgraph: use specific tag to update shading
Campbell Barton [Fri, 25 Jan 2019 12:11:58 +0000 (23:11 +1100)]
Depsgraph: use specific tag to update shading

5 months agoFix T59958: Blender 2.80 - Removing second Particle System cache causes crash.
Bastien Montagne [Fri, 25 Jan 2019 11:31:24 +0000 (12:31 +0100)]
Fix T59958: Blender 2.80 - Removing second Particle System cache causes crash.

Usual DEG tag missing.

Also do not tag/send notifiers when we do not change anything!

5 months agoFix T60839: Deleting bevel object for curve will not update
Sergey Sharybin [Fri, 25 Jan 2019 10:22:22 +0000 (11:22 +0100)]
Fix T60839: Deleting bevel object for curve will not update

Was missing conversion of ID_RECALC_GEOEMTRY to curve's operation.

5 months agoT60748 Second try to fix start extreme in Noise modifier
Antonioya [Fri, 25 Jan 2019 09:44:46 +0000 (10:44 +0100)]
T60748 Second try to fix start extreme in Noise modifier

The first point was moving inverted because first vector was inverted. Now, the vector is changed for the first point to get the same direction.

5 months agoFix texture paint showing pink texture on load
Campbell Barton [Fri, 25 Jan 2019 06:09:12 +0000 (17:09 +1100)]
Fix texture paint showing pink texture on load

5 months agoFix UI extension removal
Campbell Barton [Fri, 25 Jan 2019 02:45:56 +0000 (13:45 +1100)]
Fix UI extension removal

App-templates & keymap names had their extensions removed twice.

Confusing for filenames containing dots.

5 months agoFix T60777: Grid fill fails when run via Repeat Last
Campbell Barton [Fri, 25 Jan 2019 00:37:37 +0000 (11:37 +1100)]
Fix T60777: Grid fill fails when run via Repeat Last

5 months agoWM: don't set repeat flag w/ interactive repeat
Campbell Barton [Fri, 25 Jan 2019 00:29:41 +0000 (11:29 +1100)]
WM: don't set repeat flag w/ interactive repeat

This allows operators to distinguish between redo and executing
repeat last operator, needed for T60777 fix.

5 months agoRevert "WM: Repeat Last no longer reuses skip-save properties"
Campbell Barton [Fri, 25 Jan 2019 00:10:55 +0000 (11:10 +1100)]
Revert "WM: Repeat Last no longer reuses skip-save properties"

This reverts commit 1d908bffddb4c9815a986305ad4588032b81deee.

Enough uses of repeat last expect skip-save properties to be set,
transform being the most obvious example T60777#605681.

I wanted to avoid operators having account for two kinds of 'skip-save'
but this may be unavoidable.

5 months agoMissed last commit
Campbell Barton [Fri, 25 Jan 2019 00:04:00 +0000 (11:04 +1100)]
Missed last commit

5 months agoCleanup: replace VSE /w Sequencer
Campbell Barton [Thu, 24 Jan 2019 22:42:03 +0000 (09:42 +1100)]
Cleanup: replace VSE /w Sequencer

This abbreviation isn't used anywhere else in Blender's UI.

5 months agomake.bat: remove stray quote in msvc2017 detection.
Ray Molenkamp [Thu, 24 Jan 2019 22:21:31 +0000 (15:21 -0700)]
make.bat: remove stray quote in msvc2017 detection.

Shouldn't cause issues, but better safe than sorry.

5 months agoMerge branch 'blender2.7'
Campbell Barton [Thu, 24 Jan 2019 21:54:20 +0000 (08:54 +1100)]
Merge branch 'blender2.7'

5 months agoCleanup: sort cmake file lists
Campbell Barton [Thu, 24 Jan 2019 21:30:33 +0000 (08:30 +1100)]
Cleanup: sort cmake file lists

5 months agoCleanup: sort cmake file lists
Campbell Barton [Thu, 24 Jan 2019 21:30:33 +0000 (08:30 +1100)]
Cleanup: sort cmake file lists

5 months agoCleanup: remove duplicated shaders that only added clipping checks
Campbell Barton [Thu, 24 Jan 2019 21:01:07 +0000 (08:01 +1100)]
Cleanup: remove duplicated shaders that only added clipping checks

Originally I wanted to avoid adding draw manager specific ifdef's all
over generic shaders however this isn't needed in so many places.

Also there are shaders that are only used by the draw manager so
duplicating them only to have the original unused doesn't make sense.

5 months agoDRW: support clipping for camera objects
Campbell Barton [Thu, 24 Jan 2019 20:13:02 +0000 (07:13 +1100)]
DRW: support clipping for camera objects

5 months agoCleanup: add missing braces to draw manager
Campbell Barton [Thu, 24 Jan 2019 20:10:13 +0000 (07:10 +1100)]
Cleanup: add missing braces to draw manager

5 months agoCleanup: use macro to set flags
Campbell Barton [Thu, 24 Jan 2019 13:34:36 +0000 (00:34 +1100)]
Cleanup: use macro to set flags

5 months agoFix smoke clipping being ignored by Cycles and not being editable after baking.
Brecht Van Lommel [Thu, 24 Jan 2019 18:44:43 +0000 (19:44 +0100)]
Fix smoke clipping being ignored by Cycles and not being editable after baking.

The value worked in 2.7, but not with copy-on-write in 2.8.

5 months agoFix T59650: adding texture paint slot image shows wrong color.
Brecht Van Lommel [Thu, 24 Jan 2019 18:05:45 +0000 (19:05 +0100)]
Fix T59650: adding texture paint slot image shows wrong color.

5 months agoMerge branch 'blender2.7'
Brecht Van Lommel [Thu, 24 Jan 2019 18:02:10 +0000 (19:02 +0100)]
Merge branch 'blender2.7'

5 months agoFix T60597, T60806: Cycles crash rendering principled BSDF + volume interior.
Brecht Van Lommel [Thu, 24 Jan 2019 14:15:57 +0000 (15:15 +0100)]
Fix T60597, T60806: Cycles crash rendering principled BSDF + volume interior.

The integrator maximum number of closures was not set properly for the CPU/mega
kernels to match the actual available memory. Before relatively recent code
refactoring we did not use this value in those kernels so it worked fine.

5 months agoFix T60350: Removed objects that are still in the outliner will crash Blender.
Bastien Montagne [Thu, 24 Jan 2019 16:44:13 +0000 (17:44 +0100)]
Fix T60350: Removed objects that are still in the outliner will crash Blender.

We need to force UI to fully redraw, BKE_id_delete & co won't do that
for us.

5 months agoCleanup: remove unused "guide_origin" property
Jacques Lucke [Thu, 24 Jan 2019 16:39:14 +0000 (17:39 +0100)]
Cleanup: remove unused "guide_origin" property