Campbell Barton
b2f0803b5b
Fix T55511: Decorator drag makes many undo steps
...
Each keyframe made a separate undo step.
2018-06-18 08:25:05 +02:00
Campbell Barton
af51ec3214
Cleanup: indentation
2018-06-18 08:10:23 +02:00
Campbell Barton
0d45074768
Cleanup: whitespace
2018-06-18 08:08:08 +02:00
Campbell Barton
a794da5200
Fix T55517: Property-split fails w/ expanded enum
2018-06-18 08:05:46 +02:00
Campbell Barton
9d57b5aa44
Merge branch 'master' into blender2.8
2018-06-18 07:34:31 +02:00
Campbell Barton
b66ae8259e
RNA: disable animation for file output options
2018-06-18 07:31:21 +02:00
Campbell Barton
05dc109553
Merge branch 'master' into blender2.8
2018-06-17 20:37:10 +02:00
Clément Foucault
195879a50d
Edit Mesh: Fix buggy occlusion when in xray mode.
...
This mimics the behaviour of the old wireframe mode. When in Xray mode,
don't use the limit selection to visible option.
Also hide the option if Xray is enabled.
2018-06-17 20:11:37 +02:00
Campbell Barton
2ceff8bd63
Python: Allow untrusted py-drivers to run limited expressions
...
Limit to a restricted set of built-ins, as well as the math module.
Also restrict of op-codes, disallowing imports and attribute access.
This allows most math expressions to run
without any performance cost once the initial check is done.
See: D1862 for details.
2018-06-17 20:01:05 +02:00
Campbell Barton
06a1a66a9b
Merge branch 'master' into blender2.8
2018-06-17 17:10:19 +02:00
Campbell Barton
a24b4e6090
Cleanup: trailing space for remaining source/
2018-06-17 17:06:28 +02:00
Campbell Barton
76c2203f9c
Cleanup: trailing space for blenloader
2018-06-17 17:06:07 +02:00
Campbell Barton
6fc8a74886
Cleanup: trailing space for blenkernel
2018-06-17 17:05:51 +02:00
Campbell Barton
a262ea8c47
Cleanup: trailing space for compositor
2018-06-17 17:05:29 +02:00
Campbell Barton
410880552b
Cleanup: trailing space for freestyle
2018-06-17 17:05:14 +02:00
Campbell Barton
e74bd46ede
Cleanup: trailing space for imbuf module
2018-06-17 17:04:54 +02:00
Campbell Barton
1eed46c788
Cleanup: trailing space for modifiers
2018-06-17 17:04:27 +02:00
Campbell Barton
78fbd146f3
Cleanup: trailing space for DNA headers
2018-06-17 17:04:09 +02:00
Campbell Barton
4be752a93c
Cleanup: trailing space in source/gameengine/
2018-06-17 17:03:10 +02:00
Campbell Barton
61d27db359
Merge branch 'master' into blender2.8
2018-06-17 16:36:30 +02:00
Campbell Barton
5513da65b2
Cleanup: trailing space for BLI
2018-06-17 16:32:54 +02:00
Campbell Barton
f19ecdeec6
Cleanup: remove unused BLI_rebase_path
2018-06-17 16:26:47 +02:00
Campbell Barton
56173e512c
Merge branch 'master' into blender2.8
2018-06-17 16:18:15 +02:00
Campbell Barton
a0a1fc8938
Cleanup: BLI path extension API
...
Use BLI_path_extension_* prefix.
2018-06-17 16:13:24 +02:00
Campbell Barton
6855d537e3
Merge branch 'master' into blender2.8
2018-06-17 15:52:32 +02:00
Campbell Barton
6453814ec0
BLI_path: add string size debug define
...
Off by default, only for debugging.
2018-06-17 15:35:00 +02:00
Campbell Barton
c7ae7ccfb8
Driver: trailing zeros from expression
2018-06-17 14:50:42 +02:00
Campbell Barton
547e962bf6
3D View: 3D Cursor was not restoring GL state
...
Caused camera frame to be double width.
2018-06-17 14:43:31 +02:00
Campbell Barton
529669fde7
Edit Mesh: tweak active face edge width
...
This rewinds a change from own commit e3d88b021c
The only took edge overlay into account (crease, seam.. etc)
Currently active-face also uses this width.
While the difference is subtle,
this makes the active-face stand out more clearly.
2018-06-17 12:31:01 +02:00
Campbell Barton
d53d78ac45
UI: correct decorator buttons 'enabled' flag
2018-06-17 12:15:32 +02:00
Campbell Barton
e960920f2f
UI: decorator color button assert
...
Also set 'all' argument based on the RNA-index
(even though it worked, better set to correct value).
2018-06-17 12:15:32 +02:00
Campbell Barton
ab20901c9e
Cleanup: codestyle
2018-06-17 12:03:22 +02:00
Campbell Barton
43ce201125
Merge branch 'master' into blender2.8
2018-06-17 11:57:49 +02:00
Campbell Barton
42103a3eb8
CMake: add missing headers
2018-06-17 11:56:20 +02:00
Campbell Barton
2f1e34cfcc
Cleanup: use clamp_* from BLI_math (replace macro)
2018-06-17 11:50:56 +02:00
Clément Foucault
fe98124a98
Custom Hdri: Use same AntiAliasing as Matcaps
2018-06-16 23:28:39 +02:00
Clément Foucault
b503dd7747
StudioLights: Fix preview icon.
...
Use same antialiasing method as the matcaps and fix the normal computation.
2018-06-16 23:28:39 +02:00
Clément Foucault
48adf90367
Matcap: Make matcap preview the same size as the other StudioLights
2018-06-16 23:28:39 +02:00
Clément Foucault
224daf55ac
Matcaps: Add AntiAlias alpha mask to icon preview.
2018-06-16 23:28:39 +02:00
Clément Foucault
0332d338ea
Studio Light: Fix typo
2018-06-16 23:28:39 +02:00
Clément Foucault
4a2c58e077
Outlines: Don't draw Xray mode outlines in material or render mode
2018-06-16 23:28:39 +02:00
Campbell Barton
c21499ba4a
UI: show decorator icon for static-override
2018-06-16 18:27:04 +02:00
Bastien Montagne
3b7f630a54
Merge branch 'master' into blender2.8
2018-06-16 18:02:50 +02:00
Bastien Montagne
dc1c820b2b
Cleanup: remove BLI_frand from GreasePencil code.
2018-06-16 18:02:23 +02:00
Campbell Barton
0a8e6b48c4
Correct assert in recent changes
2018-06-16 17:31:37 +02:00
Campbell Barton
3cf239ccfa
UI: support dragging to key-frame
2018-06-16 16:29:05 +02:00
Campbell Barton
d8c2c63c00
UI: Add property decorator buttons
...
When use_property_split is enabled, this template adds
buttons to set keyframes, (Alternative to showing color).
See: T54951
2018-06-16 16:28:42 +02:00
Bastien Montagne
ace8ad861d
Fix T55427: Removing Vertex Group used by Data Transfer Modifier results in crash.
...
Only fixing crash, proper handling (a.k.a remapping) of all
possible cases here, for all possible data layers, is rather involved...
2018-06-16 16:22:00 +02:00
Campbell Barton
8f2acda7d7
Merge branch 'master' into blender2.8
2018-06-16 16:16:53 +02:00
Campbell Barton
35c71aed25
UI: refactor drag-toggle for other button types
2018-06-16 16:04:26 +02:00