Campbell Barton
ab19609233
Fix T55069: 3D widget misses pivot-point refresh
2018-05-22 16:11:39 +02:00
53d1ec95ea
Fix outliner incomplete collections right click menu in Blender File.
2018-05-22 15:49:50 +02:00
Campbell Barton
96a7ed8a15
Tool System: store operator properties in the tool
...
This replaces last-used property use which wasn't reliable since
properties were not considered 'set' - causing them to be ignored.
2018-05-22 15:31:06 +02:00
Campbell Barton
298f8042ef
Cleanup: warning
2018-05-22 15:31:06 +02:00
cc9513d944
Fix outliner crashes when dragging elements in some cases.
...
Avoid rebuilding outliner tree in more cases, also helps performance.
2018-05-22 15:09:21 +02:00
Jeroen Bakker
d97471ddf7
Workbench: Fixed memory leak
...
ImBuf radiance buffers were freed incorrectly
2018-05-22 15:05:11 +02:00
Jeroen Bakker
dfe088c5d9
Workbench: SeeThrough draw option
...
Option to see through all meshes (transparency)
Works for OB_SOLID and OB_TEXTURED. Does not work for
V3D_SHADING_SHADOW.
TODO: Fresnel effect
2018-05-22 14:55:50 +02:00
Jeroen Bakker
ff19b527e8
Workbench: Calculate irradiance using radiance buffers
2018-05-22 14:55:50 +02:00
Clément Foucault
c7df618263
3D Cursor: Clip if behind near plane.
2018-05-22 14:33:07 +02:00
bc46034752
Cleanup: fix compiler warnings.
2018-05-22 14:17:52 +02:00
0d2aa1a7bb
Cleanup: make group/collection versioning a bit more clear.
2018-05-22 14:17:51 +02:00
Germano
f99197fb2d
Transform: Support mixed snap in 3d View.
...
Allows more than one snap mode to be enabled. So different combinations are possible.
Reviewers: campbellbarton
Reviewed By: campbellbarton
Subscribers: Christopher_Anderssarian, duarteframos
Tags: #bf_blender_2.8
Differential Revision: D3400
2018-05-22 08:58:56 -03:00
Joshua Leung
47b9d7494e
Experimental Armature Drawing Tweak for Relationship Lines
...
Only show hierarchy relationship lines when bone or its parent is selected.
This cuts down the clutter visible in general when relationship lines are
enabled (currently they can't be disabled), which should make it more useful
to keep them on (e.g. constraint lines/hints can still be drawn this way).
2018-05-22 13:39:01 +02:00
Ines Almeida
e12df10120
COW Operators: Fix VIEW3D_OT_snap_cursor_to _active _selected _center and _grid
...
Reviewers: sergey, aligorith
Differential Revision: https://developer.blender.org/D3414
2018-05-22 12:20:59 +02:00
Joshua Leung
7f714fdbb2
Depsgraph: Enable copy on write by default
...
As was decided at today's dev kickoff, we're now moving to having
Copy-on-Write enabled by default, as 2.8 is barely functional with
it off.
To run Blender *without* COW (e.g. for testing), use:
--disable-copy-on-write
2018-05-22 12:00:23 +02:00
Campbell Barton
9fc5a0c95e
Fix area tool getting out of sync w/ active tool
2018-05-22 09:41:41 +02:00
Campbell Barton
0c1676f388
WM: call keymap callback from manipulators
...
Not currently needed, add to avoid confusion later on.
2018-05-22 09:27:02 +02:00
Campbell Barton
6974afba82
WM: use keymap poll for manipulators
2018-05-22 09:22:20 +02:00
Campbell Barton
bb45381bc2
Merge branch 'master' into blender2.8
2018-05-22 08:49:24 +02:00
Campbell Barton
28c20fc393
Memory allocator: use lockfree calls internally
...
Was already used in some areas.
2018-05-22 08:45:47 +02:00
Campbell Barton
4e14437cb0
Multi-Object-Mode: EditCurve Select Random
...
D3405 by @dgriffin91
2018-05-22 08:25:05 +02:00
Campbell Barton
c7903f17a2
Fix memory leak in armature delete
2018-05-22 08:20:19 +02:00
Campbell Barton
ee1327a84c
Multi-Object-Mode: EditLattice Select All
...
D3164 by @ranjian0
2018-05-22 08:11:13 +02:00
Campbell Barton
99f994e7ed
Fix crash drawing edit-lattice
...
Edit-mode was never using batch cache.
2018-05-22 08:10:36 +02:00
Campbell Barton
17778ddeb7
Cleanup: naming
...
Use 'ob' prefix for objects, 'eval' suffix for evaluated data.
2018-05-22 07:48:12 +02:00
Campbell Barton
ac476375b1
Cleanup: style, whitespace
2018-05-22 07:39:16 +02:00
Campbell Barton
67cf4cb5ec
Cleanup: replace MEM_SAFE_FREE -> MEM_freeN
...
No need to check for NULL in this case.
2018-05-22 07:28:14 +02:00
Bastien Montagne
feabab6a9e
Fix compilation with ndof code.
2018-05-21 21:18:12 +02:00
Bastien Montagne
612364181a
Static Override: Fix drivers' ID target overridability.
...
You need the whole chain of pointers... This was breaking static
overrides of any rig basically.
Note that this kills performances again (adding several hundreds of
thousands more stuff on a blendrig...), need a better way to handle RNA
override walking.
2018-05-21 21:14:54 +02:00
Ines Almeida
161ab6109e
COW Operators: Fix VIEW3D_OT_ rotate move zoom dolly orbit roll pan smoothview and the ndof versions
...
Fixes camera view locking, camera related transitions and movements with the active object as pivot point
Note there can still be problems if the active object is not selectable
2018-05-21 20:33:12 +02:00
Campbell Barton
9f66d00287
CMake: only include licences for enabled libs
2018-05-21 18:41:59 +02:00
Bastien Montagne
13d2df32c7
Fix broken draw code from last Thursday commit.
...
Seriously... Not all edges have faces!!!!!!!!
Quick fix to make it possible to load/use customshaped bones again, not
100% sure it is correct, but... At least it does not crash anymore!
2018-05-21 18:00:50 +02:00
Campbell Barton
f0fda91a55
Merge branch 'master' into blender2.8
2018-05-21 17:27:38 +02:00
Campbell Barton
20bafbd550
Cleanup: unused vars
2018-05-21 17:27:21 +02:00
Campbell Barton
605e184167
Cleanup: use const for transform internal API
2018-05-21 17:24:14 +02:00
Germano
08ba057eef
Fix misuse of the use_occlusion_test
parameter.
2018-05-21 11:17:19 -03:00
Germano
f14e4510ac
Transform Snap: Fix normal in the wrong space.
2018-05-21 11:05:34 -03:00
Campbell Barton
575437ac90
3D View: fix scale of 3D cursor crosshair
...
Interface scale was applied twice.
2018-05-21 14:51:10 +02:00
Campbell Barton
fbe73d1f31
UI: fix error for tools w/o a keymap
2018-05-21 13:08:44 +02:00
Campbell Barton
3b1b625ead
UI: use spacebar for toolbar
...
- This allows quick, consistent toolbar access
w/o conflicting w/ the keymap.
Where pressing space before a key activates that operator as a tool
instead of running immediately.
- Search can still be accessed by pressing spacebar again.
- When there is no toolbar for a space, operator search still opens.
2018-05-21 12:46:26 +02:00
Campbell Barton
3102821c9c
Revert "Fix/workaround RNA build error in C++ API."
...
This reverts commit 9f2ae547c0a4f8a230135423e163b22053251f1d.
Args were reordered.
2018-05-21 12:38:52 +02:00
Campbell Barton
bdc3335016
Merge branch 'master' into blender2.8
2018-05-21 12:37:54 +02:00
Campbell Barton
882daeffc5
RNA: support for PARM_OUTPUT & PARM_RNAPTR
2018-05-21 12:34:11 +02:00
Campbell Barton
21777533fb
Merge branch 'master' into blender2.8
2018-05-21 12:26:36 +02:00
6d8aa85051
Fix too much memory usage for Cycles attribute map.
...
Thanks to Thomas Krebs for identifying the problem and solution.
2018-05-21 11:14:59 +02:00
9f2ae547c0
Fix/workaround RNA build error in C++ API.
...
It seems output parameter needs to be the last one.
2018-05-21 11:13:56 +02:00
Campbell Barton
0e9605f44d
Merge branch 'master' into blender2.8
2018-05-21 10:54:51 +02:00
Campbell Barton
4198c18f15
Cleanup: correct variable names
2018-05-21 10:53:50 +02:00
Campbell Barton
698dbd6500
UI: generate dynamic keymap for popup toolbar
...
Set keys for tools based on the current keymap.
This keeps consistency between tools immediate execution.
2018-05-21 10:46:27 +02:00
Campbell Barton
351c6d4346
Merge branch 'master' into blender2.8
2018-05-21 10:40:09 +02:00