Bastien Montagne
a9c2971658
Merge branch 'blender2.7'
...
Conflicts:
source/creator/CMakeLists.txt
2019-01-28 22:27:45 +01:00
Bastien Montagne
e63869ca80
Fix T60896: Missing update for Auto Texture Space.
2019-01-28 22:25:26 +01:00
Bastien Montagne
491a98ca44
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.
2019-01-28 21:57:56 +01:00
Bastien Montagne
5537117366
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).
2019-01-28 21:49:23 +01:00
Bastien Montagne
147e22ef70
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!
2019-01-28 21:49:23 +01:00
Antonioya
cad1016c20
Fix T60944: Add Tablet eraser support to annotations usin pen
2019-01-28 17:46:11 +01:00
Sergey Sharybin
55e171be33
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.
2019-01-28 16:39:55 +01:00
Sergey Sharybin
a8c0a57fc3
Fix T60599: Multires crash after doing dyntopo sculpt
2019-01-28 16:14:30 +01:00
Sergey Sharybin
56cc219070
Fix T59963: Can't manipulate hair keys with G, R, S or mirror transforms
...
Need to pass proper evaluated mesh to calculate hair matrix.
2019-01-28 15:45:34 +01:00
Campbell Barton
9bc43223c1
DRW: support clipping for object & lamp centers
2019-01-29 00:27:43 +11:00
Campbell Barton
20acf3ded2
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.
2019-01-28 23:08:59 +11:00
Brecht Van Lommel
f992c92872
Fix blenderplayer build after OpenMP changes.
2019-01-28 13:05:40 +01:00
Sergey Sharybin
704b336899
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.
2019-01-28 12:49:45 +01:00
Campbell Barton
cb69a039e7
Merge branch 'blender2.7'
2019-01-28 22:27:00 +11:00
Sergey Sharybin
2e3433c1f7
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.
2019-01-28 12:19:25 +01:00
Campbell Barton
66d03f61b8
Cleanup: unused struct declarations
2019-01-28 22:15:46 +11:00
Campbell Barton
f8ce24f796
Cleanup: sort forward declarations of enum & struct
...
Done using:
source/tools/utils_maintenance/c_sort_blocks.py
2019-01-28 22:12:49 +11:00
Brecht Van Lommel
409a21b32e
Merge branch 'blender2.7'
2019-01-28 12:05:51 +01:00
Campbell Barton
66e6cd5315
Cleanup: unused struct declarations
2019-01-28 22:06:53 +11:00
Brecht Van Lommel
d918217d35
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.
2019-01-28 12:04:54 +01:00
Brecht Van Lommel
801901a652
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.
2019-01-28 12:01:29 +01:00
Campbell Barton
c0f88ed8a8
Cleanup: sort forward declarations of enum & struct
...
Done using:
source/tools/utils_maintenance/c_sort_blocks.py
2019-01-28 21:17:58 +11:00
Scott Spadea
d473d5be5f
Fix: use correct units for some bone properties
...
Differential Revision: https://developer.blender.org/D4267
2019-01-28 11:01:46 +01:00
Jacques Lucke
e6ba760ce8
Fix: allow removal of addons that are symlinked
...
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D4256
2019-01-28 10:52:54 +01:00
Scott Spadea
534891997a
Fix: use pixel as unit for some properties
...
Differential Revision: https://developer.blender.org/D4266
2019-01-28 10:50:32 +01:00
Brecht Van Lommel
690478027b
Merge branch 'blender2.7'
2019-01-27 20:17:11 +01:00
Brecht Van Lommel
d377cd5db1
Fix Cycles standalone build as part of Blender.
2019-01-27 20:05:25 +01:00
Brecht Van Lommel
d97df138d1
Fix T60908: crash in workbench render after DoF changes.
2019-01-27 13:55:18 +01:00
Łukasz Kwoska
f17afe69a3
Fix: Use correct units in Shrinkwrap modifier
...
Differential Revision: https://developer.blender.org/D4261
2019-01-27 12:23:34 +01:00
Antonioya
25772c9e1d
Fix T59921: RuntimeError:bpy.ops.object.gpencil_modifier_apply()
...
Thanks to Brecht for his help
2019-01-26 16:19:22 +01:00
Brecht Van Lommel
94d88df3a8
Merge branch 'blender2.7'
2019-01-26 15:54:13 +01:00
Arto Kitula
b7a9e980a1
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
2019-01-26 15:48:56 +01:00
Robert Guetzkow
115e1d441b
Cycles: add missing units for properties.
...
Differential Revision: https://developer.blender.org/D4258
2019-01-26 15:38:50 +01:00
Brecht Van Lommel
0b28a9a446
Fix build error after recent cleanup.
2019-01-26 15:38:49 +01:00
Brecht Van Lommel
8d4c4775a0
Cleanup: fix compiler warnings.
2019-01-26 14:49:11 +01:00
Valentin
2a41ea7cc5
Fix: Use correct units for cloth properties
...
Differential Revision: https://developer.blender.org/D4260
2019-01-26 13:37:29 +01:00
Campbell Barton
9e3ac14341
Fix incorrect sizeof use in rna array formatting
2019-01-26 23:18:12 +11:00
Campbell Barton
04a5dbbd09
Correct build error removing includes
2019-01-26 23:08:11 +11:00
Campbell Barton
f20dbc293f
Cleanup: blank lines over doxy headers
2019-01-26 21:43:24 +11:00
Campbell Barton
1e4aab36c2
Cleanup: remove redundant BKE/BLI/BIF headers
2019-01-26 21:20:25 +11:00
Campbell Barton
19b5f5493c
Cleanup: draw manager headers
2019-01-26 20:08:52 +11:00
Campbell Barton
b8467273b8
Cleanup: redundant defines
...
Comment or remove unused defines.
2019-01-26 19:15:30 +11:00
Campbell Barton
b70877bba7
Cleanup: remove blender-internal update flag
2019-01-26 18:46:40 +11:00
Campbell Barton
edd34c924b
Cleanup: wrapper for built-in shader access
2019-01-26 16:39:05 +11:00
Campbell Barton
77b66a9666
DRW: support clipping for empty object
2019-01-26 15:49:14 +11:00
Campbell Barton
9b40da94a3
Keymap: move grease pencil Alt-C to 2.7x map
...
This has been removed from the default map, so don't use elsewhere.
2019-01-26 12:56:56 +11:00
Campbell Barton
1b6da95ccb
Cleanup: avoid static vars to store legacy shaders
2019-01-26 10:33:14 +11:00
Campbell Barton
1393335227
GPU: refactor defines into GPUShaderStages
...
Code comment notes there are "just a few",
now there are enough it's useful to include in GPUShaderStages.
2019-01-26 10:33:14 +11:00
Campbell Barton
0e95abf74b
Cleanup: order GPUShaderStages (vert, geom, frag)
...
Use names for declarations to support adding defines, coming next.
2019-01-26 10:33:14 +11:00
Clément Foucault
c1814d593d
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.
2019-01-25 21:56:10 +01:00