Sergey Sharybin
bfbcc5e581
Fix T53499: Cannot load DPX files
...
The issue was caused by unspecified color transfer. New behavior gives same
result as other viewers here, so likely is fine :)
2017-12-07 14:07:57 +01:00
Sergey Sharybin
9ea7d0bf44
DPX: Fix wrong flag being checked for debug
2017-12-07 14:04:27 +01:00
Campbell Barton
2e2e6e3bdb
Cleanup: Use BKE_colorband prefix
2017-12-07 15:52:59 +11:00
Campbell Barton
cc811d1fd6
Cleanup: extract BKE_colorband from BKE_texture
2017-12-07 15:40:11 +11:00
Campbell Barton
6d31eb015c
Array Modifier: option to offset UV's
...
D2912 by @Zuorion
2017-12-07 04:33:52 +11:00
Daniel Silva
2dfd795bd2
Proposed fix for T53263 -- Blender crashes when rendering with Stabilizer 2D node without movie selected
...
The program won't crash anymore, but a warning won't be displayed. Anyway, this gives the user the chance to save the project.
https://developer.blender.org/T53263
Reviewers: lukastoenne
Differential Revision: https://developer.blender.org/D2934
2017-12-06 14:54:51 +01:00
Sergey Sharybin
13e9291650
Library: Add flag top keep ID library pointer around
...
This only applies to ID being copied outside of bmain. Handy for cases when it
is important to check if the copy corresponds to a data block coming from
library.
Example of that is proxy evaluation with copy on write.
Thanks Bastien for review!
2017-12-06 13:00:08 +01:00
Sergey Sharybin
3ae6a8512d
Depsgraph: Cleanup, use less geenric data type
2017-12-06 12:26:10 +01:00
Sergey Sharybin
b5be65dc0e
Depsgraph: Forgot this in previous commit
2017-12-06 11:57:57 +01:00
Sergey Sharybin
5ad3cc4e03
Depsgraph: Ignore text datablocks from nodes
...
Those are not part of dependency graph, but still could be referenced from
the tree.
2017-12-06 11:54:52 +01:00
Sergey Sharybin
1027ddfa2d
Depsgraph: Add missing bone properties to proxy rigs
2017-12-06 10:21:33 +01:00
Sergey Sharybin
99b9e23ce1
Depsgraph: Add missing NULL pointer check
2017-12-06 10:21:33 +01:00
Sergey Sharybin
4c5736a77f
Depsgraph: Cleanup, remove unused function
2017-12-06 10:21:33 +01:00
Sergey Sharybin
1915c30a42
Depsgraph: Remove workaround of parameters animation in node tree
2017-12-06 10:21:33 +01:00
Sergey Sharybin
630ed82ff2
Depsgraph: Remove workaround of parameters animation in lamp
2017-12-06 10:21:33 +01:00
Sergey Sharybin
8acca0e9e1
Depsgraph: Remove workaround of parameters animation in camera
...
This is something what should be done by build_animation().
2017-12-06 10:21:33 +01:00
Sergey Sharybin
21ef8e7d29
Depsgraph: Remove workaround for animated geometry component
2017-12-06 10:21:33 +01:00
Sergey Sharybin
b552e03716
Depsgraph: Remove workaround for animated modifiers
2017-12-06 10:21:33 +01:00
Sergey Sharybin
f348b7924c
Depsgraph: Leave armature animation relation to build_animation()
...
Needs some optimization trick to hook pose init function to animation
instead of a bone. This is how flush will work anyway.
2017-12-06 10:21:33 +01:00
Sergey Sharybin
cbb42fcd96
Depsgraph: Use default argument value for relations builder
...
Follows other function definitions.
2017-12-06 10:21:33 +01:00
Sergey Sharybin
18ca793ca0
Depsgraph: Cleanup, line wrapping
2017-12-06 10:21:33 +01:00
Sergey Sharybin
abc55bf84a
Depsgraph: Use build_animation() to build relations to animated properties
...
Before that it was up to lots of other places to keep track on whether
something is to be dependent on time or not. Was annoying, and unreliable,
and fragile.
This commit avoids hacks in object builder. Other areas will be adopted
soon.
2017-12-06 10:21:33 +01:00
Sergey Sharybin
4a99cc5850
Depsgraph: Add ability to check whether relation exists before adding it
...
Currently not used, but this is aimed to be used when adding relations from
FCurve to property which is being animated.
2017-12-06 10:21:33 +01:00
Sergey Sharybin
8b3aa8ef45
Depsgraph: Cleanup, line wrapping
2017-12-06 10:21:33 +01:00
Sergey Sharybin
7de3c8ace7
Depsgraph: Move implementation part of relations header to own file
2017-12-06 10:21:33 +01:00
Sergey Sharybin
335343fe93
Fix T53408: Updating Cycles Nodes via Drivers in Material View
...
This is something what should be supported by the new dependency graph.
Fixed by making it so, build_animation() adds relation between Animation
component and whatever-is-being-animated. In fact, for now, only relations to
ID properties are added. Rest of the relations are kind of hacked in all over
the code and needs to be removed and verified with specific .blend files.
2017-12-06 10:21:33 +01:00
Sergey Sharybin
f1ad6b43b3
Depsgraph: Cleanup, split build_animation
2017-12-06 10:21:33 +01:00
Sergey Sharybin
9f9b666d9a
Depsgraph: Correct fallback for the parameters calculation
...
We can't use a single component here, sine it might consist of multiple
operations. So, for example, having driver operation will confuse targets
of another driver.
2017-12-06 10:21:33 +01:00
Sergey Sharybin
b5a8d0acaf
Depsgraph: Cleanup, split driver builder function
2017-12-06 10:21:33 +01:00
Sergey Sharybin
3e9cd53687
Depsgraph: Cleanup, deduplicate as much as possible in build_driver
2017-12-06 10:21:33 +01:00
Sergey Sharybin
8c4363e3b1
Depsgraph: Remove old comments which are likely outdated
2017-12-06 10:21:33 +01:00
Sergey Sharybin
8912e4faef
Depsgraph: Replace last obvious part of driver builder with generic RNA code
2017-12-06 10:21:33 +01:00
Sergey Sharybin
b26992fe6e
Depsgraph: Add criteria for RNA_Key
2017-12-06 10:21:33 +01:00
Sergey Sharybin
fe5e8593b7
Depsgraph: Remove confusing ID node criteria
...
it sometimes overrides all possible other criteria, even tho we might want to
be very specific about what component we are looking for here.
2017-12-06 10:21:33 +01:00
Sergey Sharybin
35364e2fb2
Depsgraph: Use generic function for shape key driver target
...
There was a second place for shape keys.
2017-12-06 10:21:33 +01:00
Sergey Sharybin
070c735b13
Depsgraph: Fix wrong relations built for drivers
...
When target was changed from bone to regular object, new dependency graph was
still trying to build relations as if driver was using bone.
2017-12-06 10:21:33 +01:00
Sergey Sharybin
f8fd8b0744
Depsgraph: Use generic function for shape key driver target
2017-12-06 10:21:33 +01:00
Sergey Sharybin
235a68d8f3
Depsgraph: Use generic function for modifiers driver target
2017-12-06 10:21:32 +01:00
Sergey Sharybin
7586266343
Depsgraph: Use existing utility function to get driver target node
...
Only done for pose bone for now, but the idea is to go case bu case in
build_driver and move all custom logic from there to find_node_from_pointer().
2017-12-06 10:21:32 +01:00
Sergey Sharybin
3795e37c62
Depsgraph: Cleanup, split build_driver function up
2017-12-06 10:21:32 +01:00
Sergey Sharybin
52e81de9f7
Depsgraph: Don't see reason to have special case for bone's RNA path
2017-12-06 10:21:32 +01:00
Sergey Sharybin
97e92d6f3e
Depsgraph: SImplify chjecks in directly address bone
2017-12-06 10:21:32 +01:00
Sergey Sharybin
284f106c91
Depsgraph: begin use of RNAPathKey instead of re-implemented checks in driver variables
2017-12-06 10:21:32 +01:00
Sergey Sharybin
0cd2303e67
Depsgraph: Cleanup, don't use static qualifier inside of anonymous namespace
2017-12-06 10:21:32 +01:00
Sergey Sharybin
aed1320b24
Add utility function to compare PointerRNA with NULL
...
Thanks Campbell for review!
2017-12-06 10:21:32 +01:00
Sergey Sharybin
a68e10be5e
Depsgraph: Correct RNA pointer criteria to deal with bone custom properties
2017-12-06 10:21:32 +01:00
Campbell Barton
e6404274a1
Fix T53441: Inset doesn't start at zero
2017-12-06 16:45:51 +11:00
Campbell Barton
9ab430e9cb
Cleanup: line length
2017-12-06 16:42:34 +11:00
Campbell Barton
2480a190de
CMake: remove git found message
2017-12-06 16:37:50 +11:00
Lukas Stockner
2069102c56
Cycles: Fix constness for load_kernels in device_cpu.cpp
2017-12-06 00:00:18 +01:00