Bastien Montagne
5a82aee9e6
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/alembic/intern/abc_exporter.cc
source/blender/blenkernel/BKE_mball.h
source/blender/blenkernel/intern/depsgraph.c
source/blender/blenkernel/intern/mball.c
source/blender/editors/object/object_add.c
source/blender/render/intern/source/convertblender.c
2018-05-31 16:57:39 +02:00
Campbell Barton
8d53e8cd02
UI: hide user preferences from space menu
...
See T54744
2018-05-31 16:46:24 +02:00
Bastien Montagne
da11e33b26
Cleanup: remove G.main from BKE mball code.
2018-05-31 16:44:05 +02:00
Campbell Barton
361b3eb88e
Cleanup: warning
2018-05-31 16:36:24 +02:00
Bastien Montagne
eb1feb9f4a
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/editors/object/object_add.c
source/blender/editors/object/object_select.c
source/blender/editors/space_outliner/outliner_edit.c
2018-05-31 16:21:47 +02:00
Bastien Montagne
16100f8261
Cleanup: get rid of last G.main usages in BKE library code.
2018-05-31 16:04:04 +02:00
Bastien Montagne
b809340960
Merge branch 'master' into blender2.8
...
Conflicts:
intern/cycles/blender/blender_curves.cpp
source/blender/blenkernel/BKE_particle.h
source/blender/blenkernel/intern/modifier.c
source/blender/blenkernel/intern/object_update.c
source/blender/blenkernel/intern/particle_system.c
source/blender/editors/object/object_modifier.c
source/blender/editors/physics/physics_fluid.c
source/blender/makesrna/intern/rna_particle.c
source/blender/modifiers/intern/MOD_particlesystem.c
2018-05-31 15:37:15 +02:00
Bastien Montagne
b53d358261
Cleanup: remove G.main from BKE modifier.
2018-05-31 15:24:30 +02:00
Sergey Sharybin
3248ac5e83
Cleanup: Remove unused variable
2018-05-31 15:02:12 +02:00
Dalai Felinto
25e5ec245c
Support Move / Link to collection in the outliner as well
2018-05-31 14:52:05 +02:00
Dalai Felinto
d0af8edcd1
Outliner: Expose collections editors poll in ED_outliner.h
2018-05-31 14:52:05 +02:00
Dalai Felinto
eaad4caa56
Link to Collection - Add shortcut (Shift + M)
2018-05-31 14:52:05 +02:00
Joshua Leung
54e92bbd29
Fix: View All in Action Editor zoomed in far enough to enter "crazy mode" with a single keyframe
...
Now, when there's just a single keyframe, pressing HomeKey will instead
just center the view instead of trying to do "frame range" + margin.
2018-05-31 14:51:28 +02:00
Sybren A. Stüvel
4e96bff938
Update CoW when adding/removing pose in pose library
2018-05-31 13:53:40 +02:00
Joshua Leung
f56a9fbad5
Depsgraph: Remove the "disable-copy-on-write" option completely
...
After discussion with Sergey and Dalai, we have decided to remove
this option completely. We're getting to the point where it is almost
impossible to really use 2.8 without COW, and keeping the old option
running ends up diverting dev resources away towards tracking down
and fixing problems with a parallel system that will be going away.
2018-05-31 13:43:00 +02:00
Bastien Montagne
9b4e56c091
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/BKE_camera.h
source/blender/blenkernel/BKE_dynamicpaint.h
source/blender/blenkernel/BKE_object.h
source/blender/blenkernel/intern/camera.c
source/blender/blenkernel/intern/dynamicpaint.c
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/smoke.c
source/blender/editors/object/object_transform.c
source/blender/editors/physics/dynamicpaint_ops.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/modifiers/intern/MOD_dynamicpaint.c
source/blenderplayer/bad_level_call_stubs/stubs.c
2018-05-31 12:57:24 +02:00
Bastien Montagne
28369f725c
Cleanup: remove G.main from BKE object
...
Had to add some G.main to modifiers, but in 2.8 we do not need that
anymore, so it's not that bad! ;)
2018-05-31 12:27:47 +02:00
Sybren A. Stüvel
23e375a281
Revert "Tag COW when applying pose from pose library"
...
This reverts commit 24b03729ae5ba4561ace8cbfb2d56cdbde781589; committed
too soon.
2018-05-31 12:00:18 +02:00
Sybren A. Stüvel
24b03729ae
Tag COW when applying pose from pose library
...
Related to T55232
2018-05-31 11:59:04 +02:00
Brecht Van Lommel
9948e26e14
Fix depsgrah copying and evaluating hidden collections.
2018-05-31 11:43:29 +02:00
Sergey Sharybin
46cfa605c3
Cleanup: Reduce indentation level
2018-05-31 11:17:57 +02:00
Bastien Montagne
17f458ff32
Merge branch 'master' into blender2.8
2018-05-31 11:08:02 +02:00
Bastien Montagne
24d1829243
Cleanup: nuke G.main out of BKE PackedFile code.
2018-05-31 11:07:14 +02:00
Brecht Van Lommel
fcfe1963a6
Fix depsgraph copying and evaluating hidden objects.
2018-05-31 10:37:13 +02:00
Campbell Barton
5cbad89637
Cleanup: unused defines
2018-05-31 10:15:48 +02:00
Campbell Barton
12ab59a2d6
Merge branch 'master' into blender2.8
2018-05-31 10:03:15 +02:00
Campbell Barton
84a9647f22
Cleanup: use doxy sections for space types
...
Also use struct names in enum/define comments.
2018-05-31 09:49:58 +02:00
Campbell Barton
d9324b61d5
Cleanup: return types in stubs
2018-05-31 09:49:44 +02:00
Brecht Van Lommel
e4afccf388
Depsgraph: optimization of driver evaluation with many drivers.
2018-05-31 09:46:21 +02:00
Campbell Barton
e910765ad0
WM: Use tool-system for setting brushes
...
This sets the tool instead of the brush, with cycling support.
2018-05-31 09:04:15 +02:00
Campbell Barton
81bf9a41e1
Tool System: Utility to set the tool by name
...
Wrapper for the Python operator.
2018-05-31 09:02:43 +02:00
Jeroen Bakker
fbd614f1fa
Workbench: Highlights
...
Made the highlights darker (using the defaults of blender 2.7
- sharpness = 50
- spec color = 0.025 (I bumped it to 0.1)
- added a log2 to the frontal camera light to reveal more details of the
mesh
2018-05-30 22:19:10 +02:00
Campbell Barton
264a4a8f97
RNA: add tool index access
...
Needed for changing the active tool from Python.
2018-05-30 22:16:13 +02:00
Campbell Barton
84e5c981dc
UI: toolbars now redraw on tool change
2018-05-30 22:16:13 +02:00
Jeroen Bakker
f5f25b843e
Removed Object color from workbench. Added Highlights to FLAT shading.
2018-05-30 20:34:29 +02:00
Campbell Barton
1f693aefca
Cleanup: style/whitespace
...
Also use 'uint'.
2018-05-30 19:49:33 +02:00
Brecht Van Lommel
0b6603d9b6
Fix selection randomly failing with border render.
...
We no longer user scissor for 3D viewport drawing, and some selection
code assumed it still. This also cleans up unnecessary scissor test
switching, we only have it temporarily enabled now.
2018-05-30 19:34:12 +02:00
Brecht Van Lommel
cce16df10f
Fix Cycles viewport render stuck with curve objects.
...
We should solve this better by making the depsgraph convert all curves to
meshes, for now ensure we don't to depsgraph tags during export.
2018-05-30 18:17:49 +02:00
Brecht Van Lommel
17ce968c59
Depsgraph API: renaming, more granular update information.
...
* depsgraph.ids: all evaluated datablocks in the depsgraph
* depsgraph.objects: all evaluated objects in the depsgraph
* depsgraph.object_instances: all object instances to display or render
* depsgraph.updates: list of updates to datablocks
2018-05-30 18:17:49 +02:00
Brecht Van Lommel
08862b8246
Render API: rename some API functions back to earlier names.
...
Their purpose is the same, no reason to break API compatibility here.
2018-05-30 18:17:49 +02:00
Campbell Barton
9fabe3ef53
Cleanup: quiet warning
2018-05-30 17:38:07 +02:00
Campbell Barton
efd0333a9c
UI: fix property split w/ color buttons & empty text
2018-05-30 17:29:20 +02:00
Joshua Leung
1272936773
Tweak for previous commit: Just group all bone properties under the bone name
...
After more testing, I realised that bendy bone properties should also be grouped,
but probably all other per-bone settings too. Now, just group all of them, since
it's easier for everyone this way.
2018-05-30 17:05:37 +02:00
Sergey Sharybin
7661f8a65b
Modifiers: Bring back custom data referencing logic
...
Brings dependency graph evaluation time to similar time than 2.79
for file reported in T55228.
2018-05-30 17:00:47 +02:00
Sergey Sharybin
41fac4fa76
Modifiers: Make input of modifier stack referencing copied CD layers
...
The idea is to allow modifier stack to reference custom data layers
from copied version of mesh datablock.
2018-05-30 17:00:47 +02:00
Sergey Sharybin
25d4d43491
Modifiers: Restore duplication of referenced layers
...
Was no reason to remove those calls, it was always a plan to bring
referenced layers back eventually.
2018-05-30 17:00:47 +02:00
Joshua Leung
cdfa517760
Insert Keyframe: Change default behaviour for how F-Curves get grouped
...
For many years, animators have been complaining about how keyframing a (transform)
property directly would leave them ungrouped, while keyframing them using a Keying Set
would put them into a group based on the name of the keyingset.
This commit attempts to improve (unify + make consistent) the default behaviour:
* All object transforms now get added to an "Object Transforms" group,
regardless of whether they were added individually via buttons or keyingset
* All bone transforms now get added to a group corresponding to the name of the bone
instead of only the ones added via keyingset
2018-05-30 16:46:12 +02:00
Joshua Leung
23b455a891
Cleanup: Reuse existing scene pointer
2018-05-30 16:46:11 +02:00
Bastien Montagne
92e3b3839b
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/editors/space_outliner/outliner_intern.h
2018-05-30 16:32:49 +02:00
Bastien Montagne
10a2562bc5
Fix missing movieclip ID type in allowed ones for Outliner...
2018-05-30 16:14:55 +02:00