Campbell Barton
f4379f8b91
Use Ctrl Snap to seconds w/ play-head drag
...
D3056 by @alourenco
2018-07-30 16:16:44 +10:00
Campbell Barton
9c960557a7
Cleanup: trailing space
2018-07-30 15:38:39 +10:00
Campbell Barton
018c9af446
Fix T56120: bad property access (from 2.8)
...
Thanks to @brita_ for the fix.
2018-07-29 12:09:00 +10:00
Campbell Barton
fe8d8aa27e
Fix Vector.project crash w/ >4 length vectors
2018-07-27 17:41:20 +10:00
Campbell Barton
3e2dfc6db8
Fix T55991: Python ignores scene switch argument
2018-07-27 16:49:41 +10:00
Campbell Barton
98c8094e3a
Correct arguments for callback
2018-07-27 16:41:18 +10:00
Campbell Barton
71564debf9
Fix T56074: Remove doubles creates holes
...
Own regression when moving remove-doubles to kd-tree
(seems to happen only in rare cases).
2018-07-27 10:55:30 +10:00
Jens Verwiebe
1c41dbb079
Fix compiling after ui cleanups
2018-07-26 14:21:15 +02:00
Campbell Barton
ab67c6e46b
WM: replace UI draw callbacks w/ property poll
...
Custom drawing functions were used just to control property display.
Move to poll function.
2018-07-26 17:35:33 +10:00
Campbell Barton
44370a307c
UI: hide transform constraints when not used
2018-07-26 15:44:27 +10:00
Campbell Barton
e6c5490323
UI: hide proportional transform options
...
Adds property poll function to transform.
2018-07-26 11:53:58 +10:00
Campbell Barton
dbd79c097c
WM: Add operator property poll callback
...
This allows operators to filter out properties from the
auto-generated draw functions.
Some custom draw functions can move to using this.
2018-07-26 11:53:53 +10:00
Campbell Barton
2df27fa6cf
Cleanup: Use const argument
2018-07-26 11:20:03 +10:00
Bastien Montagne
29d1db9ed6
Fix T55964: Direction not normalized in isect_ray_aabb_v3_simple()?
...
RNA API Object.ray_cast would not normalize direction vector before
doing first quick bbox intersection test, while using its returned
distance value. This could lead to wrong exclusion of object.
Thanks to @codemanx for finding that issue.
2018-07-25 21:05:44 +02:00
Bastien Montagne
5ba4d059c0
Fix (unreported) potential div-by-zero in ray/bbox intersection BLI code.
...
Also added note that direction parameter should be normalized vector
in case one intend to use returned distance values.
2018-07-25 21:04:28 +02:00
Alexander Gavrilov
ec640510a8
Fix T55958: allow the user to select between spring and spring2.
...
The old springs with damping 1.0 operate in a special way that
is more similar to plastic deformation than a spring. Some users
rely on that, so let the user choose which implementation to use.
This also restores full backward compatibility with 2.79.
Reviewers: sergof
Differential Revision: https://developer.blender.org/D3544
2018-07-24 10:10:48 +03:00
Campbell Barton
4d978cc2e4
Cleanup: changes from 2.8
2018-07-24 13:59:35 +10:00
Bastien Montagne
bb98e83b99
Fix T55668: Volume Keyframe on Cut-ted Metastrip.
...
We actually still had cases of Meta strip duplication resulting in
non-unique strip names. Quiet surprising this went unoticed for so long. :(
Fixed that bug, and think it was last one (at least, no other case of
SEQ_DUPE_UNIQUE_NAME usage should be broken, I think...), and raised
subversion and updated doversion to run uniquename check on strips on
all previous fileversions.
Note: will have to do that again when merging in 2.8...
2018-07-23 17:42:55 +02:00
Bastien Montagne
710a059549
Cleanup: Move 'WAVEFORM_LOADING' of sounds from flags to tags.
...
This is purely runtime data, so move it to new tags. ;)
2018-07-20 12:11:34 +02:00
Bastien Montagne
f48e81e720
Fix T55414: waveforms are reprocessed when undoing
...
Add new tag to bSound (runtime flags), and make read code to set a 'no
reload waveform' new tag, since it uses a mapping to get existing
waveform in undo case...
2018-07-20 12:01:38 +02:00
Alexander Gavrilov
0bf8096501
Resolve the opposite vector ambiguity in Damped Track constraint.
...
Damped Track by specification attempts to arrive at the desired
direction via the shortest rotation. However with opposite vectors
there are infinitely many valid 180 degree rotations. Currently
it gives up and does nothing.
I think that it would be more reasonable to resolve the ambiguity
arbitrarily, so that Damped Track won't have a weird dead zone.
To make it more predictable I use a local axis.
In addition, the singularity area vicinity has some floating
point precision problems that result in significant jitter.
This applies workarounds for two causes of instability.
Differential Revision: https://developer.blender.org/D3530
2018-07-19 17:58:27 +03:00
e81dc0b7bc
Fix E key in Python console not working after recent changes.
2018-07-18 22:23:29 +02:00
L. E. Segovia
5078b9d2d0
Cycles: add Principled Hair BSDF.
...
This is a physically-based, easy-to-use shader for rendering hair and fur,
with controls for melanin, roughness and randomization.
Based on the paper "A Practical and Controllable Hair and Fur Model for
Production Path Tracing".
Implemented by Leonardo E. Segovia and Lukas Stockner, part of Google
Summer of Code 2018.
2018-07-18 13:59:06 +02:00
566b319335
Cleanup: Cryptomatte node style tweaks.
2018-07-18 13:59:06 +02:00
Stefan Werner
bdda0964e0
Compositor: Cryptomatte compositing node.
...
This patch adds a new matte node that implements the Cryptomatte specification.
It also incluces a custom eye dropper that works outside of a color picker.
Cryptomatte export for the Cycles render engine will be in a separate patch.
Reviewers: brecht
Reviewed By: brecht
Subscribers: brecht
Tags: #compositing
Differential Revision: https://developer.blender.org/D3531
2018-07-18 13:03:34 +02:00
Bastien Montagne
efe94793c0
Fix T56003: Opening image files as movies in VSE crashes.
...
metadata loading code was assuming all videos in Blender were from
FFMPEG... added empty place-holders for other types too, we probably
could load some metadata from pictures or AVI files too!
2018-07-17 13:55:43 +02:00
Bastien Montagne
b85be88655
Fix (IRC-reported) wrong usercount handling of deprecated IPO datablocks.
...
versionning code would unref those twice... Reported by @ßergey on IRC, thanks!
2018-07-16 22:29:26 +02:00
Sergey Sharybin
1e1c858cf1
Cleanup: Remove obscure flag which was only used for read in subsurf code
...
Some sort of rudiment from many years ago, is never set by 2.5x code.
2018-07-16 16:15:57 +02:00
Sergey Sharybin
72d1fb9934
Cleanup: Use const qualifier for UV vertex map
2018-07-16 15:58:12 +02:00
Sergey Sharybin
20f3cbfb78
Cleanup: More clear naming in UV vertex/element mappings
...
Also use unsigned short for loop index within a polygon for UV vertex
mapping, which matches UV element mapping.
2018-07-16 15:44:43 +02:00
Philipp Oeser
43f0af734e
Fix T55944: fbx export error with smoothing face
...
ddee0931b868 added PROP_RAW_BOOLEAN case for foreach_set, but missed
foreach_get
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D3534
2018-07-16 15:03:21 +02:00
Philipp Oeser
96b4e43e8d
Fix T55527: creating a Quaternion without args should result in identity
...
quaternion
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3487
2018-07-16 15:03:21 +02:00
Campbell Barton
ab9bd557ad
Cleanup: doxy comments
2018-07-15 20:34:24 +02:00
charlie
83a4e1aaf9
Cycles: add voronoi features and distance settings from Blender.
...
Features to get the 2nd, 3rd, 4th closest point instead of the closest, and
various distance metrics. No viewport/Eevee support yet.
Patch by Michel Anders, Charlie Jolly and Brecht Van Lommel.
Differential Revision: https://developer.blender.org/D3503
2018-07-15 00:45:42 +02:00
Campbell Barton
a6ec402f5a
Remove invalid assert
2018-07-13 17:59:26 +02:00
Campbell Barton
f6367ecfb6
Cleanup: operator type API, header
2018-07-13 12:47:04 +02:00
Campbell Barton
8ff3f7f601
Cleanup: move WM type registration into own files
...
Type registration is mostly boiler plate logic,
which can be separated from other API's.
2018-07-13 12:20:42 +02:00
Charlie Jolly
30bffb5a3a
Nodes: add sqrt, ceil, floor and fract to math nodes.
...
This works for Cycles, Eevee, texture nodes and compositing. It helps to
reduce the number of math nodes required in various node setups.
Differential Revision: https://developer.blender.org/D3537
2018-07-13 11:00:10 +02:00
Campbell Barton
f4213c1408
Cleanup: id-property API use
...
Also clarify comments.
2018-07-13 10:51:49 +02:00
Campbell Barton
252ebf6bfd
Cleanup: split keymap lookups into own functions
...
More will be added in 2.8, keep this manageable.
2018-07-13 10:30:18 +02:00
Philipp Oeser
8c957468bc
Keymap: dope-sheet hotkey to change falloff
2018-07-13 09:05:41 +02:00
Campbell Barton
fb5597540d
Cleanup: right shift arguments
2018-07-13 08:36:10 +02:00
Campbell Barton
e77d2b4e3f
Cleanup: remove legacy mesh save support
...
This was used for saving files for Blender 2.6x.
2018-07-12 21:35:57 +02:00
Campbell Barton
753a600e35
PyAPI: add undo redo handlers
...
Useful so Python can clean up before/after undo steps.
2018-07-12 14:43:35 +02:00
9a5fb0209e
Fix T55949: increase color management exposure hard range.
2018-07-12 11:47:19 +02:00
Campbell Barton
d75b8e5f01
Cleanup: header guards
2018-07-12 11:19:22 +02:00
Campbell Barton
1db47a2ccd
Fix PyRNA class registration w/ Python 3.7
...
In Python3.7 this now raises an error.
2018-07-12 08:30:39 +02:00
Bastien Montagne
08274433e1
Fix T55912: saving Viewer Node image error.
...
Images from viewer node needs the lock parameter...
2018-07-11 14:32:43 +02:00
Bastien Montagne
59b4c67536
Minor cleanup to logic in BKE's imbuf releasing code.
2018-07-11 14:32:06 +02:00
Campbell Barton
2b963ecb81
Cleanup: duplicate versioning block
2018-07-11 11:39:58 +02:00
Sergey Sharybin
0ed54cf9ba
Depsgraph: Fix face dependency cycle when bone uses id property from self
2018-07-11 10:19:56 +02:00
Sergey Sharybin
c17cb50ae2
OpenSubdiv: Make more flexible C-API to specify FVar interpolation
2018-07-10 14:40:45 +02:00
Campbell Barton
f9107eae6a
Keymap: minor changes for keymap display
2018-07-10 07:41:49 +02:00
Campbell Barton
f51c6efbc1
Fix transform plane constraint orientation cycle
...
Regression since 2.79b release
2018-07-10 06:51:25 +02:00
Campbell Barton
8c528a4f0a
Cleanup: use const transform args
2018-07-09 17:57:05 +02:00
Campbell Barton
6793aebad2
Cleanup: remove 'Orientation' from keymap item name
...
It's constraint not an orientation,
in transform context it can be inferred.
2018-07-09 07:39:26 +02:00
Campbell Barton
70e2824126
Keymap: remove some hard coded transform events
...
Also re-order for display purposes
2018-07-09 07:29:12 +02:00
Campbell Barton
9856dd9fec
Cleanup: right shift
2018-07-09 06:38:07 +02:00
Alexander Gavrilov
5480de3fca
Fix scale in Apply Pose As Rest Pose for bendy bones.
...
Scale is multiplicative, and adding it up causes the bone to bloat.
2018-07-07 15:10:41 +03:00
Campbell Barton
4b373ed086
Cleanup: pep8
2018-07-07 08:48:35 +02:00
Campbell Barton
b94222b090
PyDrivers: update bytecode check for Python3.6
2018-07-06 19:31:00 +02:00
Sergey Sharybin
22150eb409
Animation player: Ensure new frames are displayed while dragging mouse
...
Thanks Campbell for review!
2018-07-06 17:15:40 +02:00
Campbell Barton
3527857cdc
Cleanup: use outliner_flag_* name prefix
2018-07-06 14:40:13 +02:00
Philipp Oeser
0987c11c76
fix c++ comment style in 3cc2a9b934d0
2018-07-06 13:15:44 +02:00
Sybren A. Stüvel
12ce0cfb21
Ocean Modifier: removed unused refresh flags
...
The flags were set and cleared correctly, but nothing was actually reading
them.
2018-07-06 12:50:04 +02:00
Sybren A. Stüvel
7691040166
Ocean Modifier: removed the MOD_OCEAN_REFRESH_ADD flag
...
The flag was only used in readfile.c, and resulted in a delayed call to
BKE_ocean_add(); this call is now immediately made instead as it's not
very expensive.
2018-07-06 12:46:58 +02:00
Philipp Oeser
3cc2a9b934
Fix T55581: kill running (render) jobs when deleting a scene
...
also fixed passing WM_JOB_TYPE_ANY to WM_jobs_kill_type()
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D3498
2018-07-06 11:58:13 +02:00
Campbell Barton
62fbb7d4a1
Empty Object: Center images by default
2018-07-06 10:05:37 +02:00
Campbell Barton
d56b90705e
BKE_addons: utility to remove by name
2018-07-06 07:55:29 +02:00
Campbell Barton
52655f5161
Cleanup: flag checks
2018-07-05 22:49:42 +02:00
Campbell Barton
0e2915b292
RNA: correct callback type
...
Missed when changing callbacks from int to bool type.
2018-07-05 22:25:34 +02:00
Campbell Barton
eb7286bfd2
Python: Print file:line when editing UI source
2018-07-03 07:22:26 +02:00
Campbell Barton
8c15d612a5
Cleanup: pep8
2018-07-03 06:55:02 +02:00
Campbell Barton
dbe1b07e05
Cleanup: right shift
2018-07-02 18:45:26 +02:00
Campbell Barton
73c577d46a
Painting: fix uninitialized variable use
2018-07-02 18:16:37 +02:00
Campbell Barton
c6416ae653
Screen: support splitting from floating menu
2018-07-02 12:40:17 +02:00
Campbell Barton
b88e51dd55
Cleanup: use bool for poll functions
2018-07-02 11:51:31 +02:00
Campbell Barton
26c5a1c301
Cleanup: right shift in interface code
2018-07-01 20:12:07 +02:00
71e65daf5c
Fix T55687: compile error when not using c++11.
2018-07-01 16:48:19 +02:00
Campbell Barton
ddee0931b8
RNA: use bool for boolean RNA types
...
We were using int's for bool arguments in BKE,
just to avoid having wrapper functions.
2018-07-01 15:57:59 +02:00
Campbell Barton
3ec6f2172d
Cleanup: reduce variable scope
2018-07-01 10:32:47 +02:00
Campbell Barton
fadad17c58
Cleanup: avoid calloc when immediately overwritten
2018-07-01 10:26:37 +02:00
Campbell Barton
bea62c5c1a
Cleanup: split out context member query
2018-06-30 18:05:01 +02:00
Campbell Barton
bdc1108e8c
Cleanup: remove unused context arg to menu
2018-06-30 12:31:53 +02:00
Campbell Barton
a42fd3de5d
UI: Add 'interface_query.c'
...
Interface files are increasingly mixing up too much functionality,
add a file only to handle queries.
More functions can be moved/added here.
2018-06-30 10:49:04 +02:00
Campbell Barton
b26e9f0000
Cleanup: rename bmesh_queries -> bmesh_query
...
Other files with the same purpose already used 'query'.
2018-06-30 10:32:21 +02:00
728e92422e
Fix T54524: keyframe and driver colors not showing in shape key list.
...
This reverts commit 357b72e0a7d4a270bf1273102595446ccca16259 which caused
the issue, we need a better fix for that cosmetic issue from T50862. For
now displaying keyframes and drivers is the more important one.
2018-06-29 21:23:13 +02:00
ccacf3ae3c
Cycles: change AO node default to 16 samples and only local off.
2018-06-29 15:43:55 +02:00
Campbell Barton
b372766816
Cleanup: trailing newlines
2018-06-29 09:23:51 +02:00
Campbell Barton
af36dd4664
Cleanup: trailing newlines
2018-06-29 08:02:49 +02:00
Campbell Barton
46dceefc35
WM: Remove Screen Cast
...
This feature is better handled by specialized tools.
2018-06-28 23:40:51 +02:00
Cédric Paille
aa6247a385
Alembic: speed up export of packed UV islands.
...
Differential Revision: https://developer.blender.org/D3510
2018-06-28 15:46:05 +02:00
Campbell Barton
f22ef1706d
Fix T55662: Crash on text autocomplete
...
Regression from undo system upgrade.
2018-06-28 11:09:09 +02:00
Campbell Barton
d5a8c0c414
UI: use two dot ellipses
...
Use less space for sign used when we don't have enough.
2018-06-28 10:45:39 +02:00
Campbell Barton
b633d760a2
Cleanup: style
2018-06-27 22:32:52 +02:00
Aaron Carlisle
ecb56eac57
UI: Add/Update bad tooltips
...
Part of T51061
2018-06-26 12:29:11 -04:00
Sybren A. Stüvel
599e979d90
Fix bug in DNA_struct_elem_find when checking the first field
...
find_elem(olddata=NULL) doesn't work reliably for existence checks; it will
return NULL both when the field is found at offset 0 and when it is not
found at all.
2018-06-26 17:35:21 +02:00
Stefan Werner
73eb1bfd55
Revert "Turned off clang warnings in third party includes."
...
This reverts commit d53093953f8f3b58600cb19020ecbe0b5f254b52.
2018-06-26 10:26:56 +02:00
Campbell Barton
df237b964b
PyAPI: add ImBuf.copy
...
DD348 by @kilon w/ edits.
2018-06-26 09:31:57 +02:00
Campbell Barton
a69f985f40
PyAPI: move deep-copy args check to py_capi_utils
2018-06-26 09:31:57 +02:00
Stefan Werner
d53093953f
Turned off clang warnings in third party includes.
...
The latest clang compiler (at least the one in Xcode 9.4.1) warns about the register keyword and macro expansions using defined().
Since these warnings come from third party code, we can't address them directly in Blender. Silencing them via #pramgas will
at least keep the warnings during a build down to the ones that are relevant to Blender code.
2018-06-25 23:02:01 +02:00
Bastien Montagne
8a7f317666
Cleanup: Nuke most of G.main from GPU code.
2018-06-25 12:32:48 +02:00
Bastien Montagne
f33cb522dd
Cleanup: Few more validation of G_MAIN usages...
2018-06-25 12:02:20 +02:00
Campbell Barton
b09387c388
Add back header needed win32
2018-06-25 09:46:03 +02:00
574c716f2d
Cycles: change AO node color default to 1.0.
2018-06-24 12:24:30 +02:00
Campbell Barton
e61bbc00b7
Cleanup: move UI context menus into own file
2018-06-24 10:43:09 +02:00
Campbell Barton
f8a3636374
UI: alternate fix for empty context menu
...
block and layout could be NULL and checking this everywhere
wasn't practical.
Instead of lazy initializing, add UI_popup_menu_end_or_cancel
which cancels empty popup menus.
2018-06-23 10:31:10 +02:00
Sergey Sharybin
6cd0484de8
CMake: Make language explicit for per-file strict flags removal
2018-06-22 14:40:00 +02:00
Campbell Barton
a5f046f449
Cleanup: rename 3D cursor calculation vars
2018-06-22 12:55:15 +02:00
Bastien Montagne
2fe528424d
Cleanup: remove last G.main from RNA.
...
Again, we cannot actually get rid of G_MAIN global access here, so in
most case just 'marked' them as valid, and added assert checks to ensure
we do only work with IDs in G_MAIN in those cases.
2018-06-22 12:35:41 +02:00
Bastien Montagne
101fd7ec06
Tweak new BKE_id_is_in_global_main to accept NULL pointer (and consider them as valid).
2018-06-22 12:26:45 +02:00
Bastien Montagne
cbf5c738d6
Cleanup: get rid of last G.main's in bpy area.
...
Essentially 'validating' them as G_MAIN, and adding some asserts in
dubious places, that handled IDs are actually in G_MAIN.
2018-06-22 11:37:47 +02:00
Bastien Montagne
1870a1adc7
BKE_library: Add func to check an ID is actually in G_MAIN database.
2018-06-22 11:37:08 +02:00
Aaron Carlisle
a0dce6810d
Edit Mode: Bevel Op: Offset Soft Max to 100
...
This is consistent with the modifier
2018-06-21 13:46:11 -04:00
Campbell Barton
68f4a4641e
Fix T55568: second click event ignored
2018-06-21 19:26:21 +02:00
Campbell Barton
51f6b25afd
Revert "Fix T55568: second click event ignored"
...
This reverts commit 52aa963f0ef1b6f4abba6653e9a441dee234127a.
Fixed for keyboards, broke mouse buttons.
2018-06-21 19:24:53 +02:00
Campbell Barton
84dbf949d7
UI: don't show empty button context menu
2018-06-21 16:37:19 +02:00
Campbell Barton
a4f08297ed
UI: preference for developer extras
...
Currently only used for "Edit Source" feature.
2018-06-21 14:54:21 +02:00
Campbell Barton
52aa963f0e
Fix T55568: second click event ignored
...
Double-click handling caused the second click to be ignored
for keymaps that only handle click.
2018-06-21 14:04:43 +02:00
Campbell Barton
f1bc9331b1
Fix T55491: Double click fail in menu popups
2018-06-21 10:07:18 +02:00
Campbell Barton
3995b33a42
WM: don't make LMB a special case for double click
2018-06-21 09:49:30 +02:00
Campbell Barton
d312dbea2d
Cleanup: naming (make it clear vars are squared)
2018-06-20 15:58:46 +02:00
Campbell Barton
372754c164
Screen: split ED_area_actionzone_find_xy
...
Add ED_area_actionzone_refresh_xy which can tag redraw
find no longer changes changes to the action zone.
2018-06-20 15:34:20 +02:00
Campbell Barton
5cad6afac6
Cleanup: rename is_in_area_actionzone
2018-06-20 15:34:20 +02:00
Bastien Montagne
fd48e685c3
Cleanup: remove some G.main from BKE's node.c
...
Validate some cases using G_MAIN instead (I don't think we want to work
on any other Main than G.main one when registering/unregistering nodes
etc.).
And when freeing, all ID not in Main shall now be tagged accordingly, so
we *should* not need to do that stupi search over all ntrees in G.main
to check wether we have to free it ourself or not!
2018-06-20 12:27:26 +02:00
Campbell Barton
d4519f54b3
UI: only show "Edit Translations" when addon used
2018-06-20 10:45:03 +02:00
Bastien Montagne
0a8af46707
Final cleanup of G.mains in render area.
2018-06-19 19:25:06 +02:00
Bastien Montagne
b5893b1ba3
Fix (unreported) passing CDLayer 'ID' instead of bitflag to a cdlayer mask!
...
Probably harmless, since I bet CD_ORIGINDEX is nearly always generated,
but still...
2018-06-19 16:25:24 +02:00
Bastien Montagne
b09a8203e9
Cleanup DM generation code for ProjPaint.
...
Two branches were actually doing essentially the same thing here, no
need to artificially complicate things. ;)
2018-06-19 10:48:37 +02:00
Bastien Montagne
64a2f98062
Fix (unreported) unauthorized relesing of derived_final DM in paint projection code.
...
NEVER free yourself DM returned by mesh_get_derived_final(), it's always
to one assigned to ob->derived_final!
2018-06-19 10:43:54 +02:00
Campbell Barton
751189e9d6
Vertex Paint: set sculpt object mode immediately
...
SculptSession.mode_type wasn't initialized until painting,
making it unreliable for checks in other parts of the code.
Also remove unnecessary initialization,
matching sculpt mode more closely.
2018-06-19 08:50:35 +02:00
Bastien Montagne
579631819f
Fix T55503: File browser filter not working correctly.
...
There were two issues here, introduced by rB66aa4af836:
* Forgot to change length of some filter_glob var deep in filebrowser code.
* Truncating filter_glob in general can be dangerous, generating
unexpected patterns.
Last point was the root of the issue here, truncating to 63 chars string
left last group as 'match everything' `*` pattern.
To fix that to some extent, added a new BLI_path_extension_glob_validate
helper to BLI_path_util, which ensures we do not have last
wildcards-only group in our pattern, when there are more than one group.
2018-06-18 12:26:47 +02:00
Campbell Barton
b66ae8259e
RNA: disable animation for file output options
2018-06-18 07:31:21 +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
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
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
a0a1fc8938
Cleanup: BLI path extension API
...
Use BLI_path_extension_* prefix.
2018-06-17 16:13:24 +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
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
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