5f86d6e6eb
Depsgraph: Cleanup, node from RNA pointer search
2017-12-04 14:17:17 +01:00
6b72d87def
Depsgraph: Remove unused property based update tags
...
Those are unused, and not clear whether we will ever support this.
Seems to be better having more like "component" tags, would be less magic
involved to guess what exactly is to be tagged.
2017-12-04 14:17:17 +01:00
059b878240
Depsgraph: More full explanation for previous commit
2017-11-30 11:57:21 +01:00
Dalai Felinto
4b9b9dbf93
Depsgraph: Fix DEG_id_type_tag comment
2017-11-30 08:53:11 -02:00
5b5939c6e6
Depsgraph: Cleanup, use explicit NULL pointer checks
2017-11-29 17:55:28 +01:00
0af91d7fe6
Cleanup: Remove unused argument
2017-11-29 16:15:52 +01:00
c8b1a83a8c
Depsgraph: Fix assert failure
2017-11-29 14:58:37 +01:00
e3f2b1676c
Depsgraph: Make sure unexpected configuration does not happen
2017-11-27 14:51:49 +01:00
1caa267ee6
Depsgraph: Cleanup, indentation
2017-11-24 15:45:41 +01:00
5f7981243e
Depsgraph: Allow finding operations after construction is done
2017-11-24 15:38:20 +01:00
a8b97b2e41
Depsgraph: Deduplicate operation node finding logic
2017-11-24 15:35:42 +01:00
d232363290
Depsgraph: Use proper return type for find_node method
2017-11-24 15:34:53 +01:00
d80c1e1e11
Depsgraph: Use get_ prefix for function which expect operation to exists
2017-11-24 15:32:29 +01:00
d8f33fc818
Depsgraph: Make has_ prefixed function to return boolean
2017-11-24 15:26:54 +01:00
93e8a045df
Depsgraph: Introduce explicit method which finds operation or returns NULL
2017-11-24 15:24:33 +01:00
68654c0be5
Depsgraph: Make more clear what find_operation() is doing for component
2017-11-24 15:21:50 +01:00
75a87abdc9
Depsgraph: Cleanup, deduplicate code around component registration
2017-11-23 15:23:19 +01:00
f2842ac65e
Depsgraph: Cleanup, split build_object() a bit
2017-11-23 12:01:31 +01:00
f3fa5c1258
Depsgraph: Cleanup, always call full object
2017-11-23 11:39:28 +01:00
40c8a18229
Cleanup: style
2017-11-18 17:22:54 +11:00
9c0a38ee33
Depsgraph: Add missing checks from previous commit
2017-11-17 15:27:02 +01:00
c45afcfa81
Depsgraph: Don't make non-dynamic hair dependent on time
...
This way hair system used for static forest does not make playblack slow.
A bit dangerous, but let's see how far we can go!
2017-11-17 14:57:57 +01:00
Dalai Felinto
f402638211
Cleanup on depsgraph logic
2017-11-13 12:17:14 -02:00
8a03e4d409
Depsgraph: Fix relations for metaballs
...
Initially spotted and investigated by Dalai and Germano.
2017-11-13 14:43:08 +01:00
8d7ec519df
Depsgraph: Add missing handlers of node IDs
...
Worst thing was that point density did not pull object into dependency graph,
which could lead to wrong render results.
2017-11-09 10:33:44 +01:00
5e38ee996c
Depsgraph: Remove chains of scene being passed all over in relations builder
2017-11-09 10:33:44 +01:00
f424d5b5c9
Depsgraph: Cleanup, remove scene being passed all over
...
Use the state one instead.
2017-11-09 10:33:44 +01:00
ad986ae29e
Depsgraph: Remove bmain from internal builder API
...
Use the one from state.
2017-11-09 10:33:44 +01:00
887c2e5c0d
Depsgraph: Make bmain part of builder state and remove bmain from public API
2017-11-09 10:33:44 +01:00
70e34ac186
Depsgraph: Cleanup, use google style for private members
2017-11-09 10:33:44 +01:00
9f0842bbe8
Depsgraph: Synchronize nodes and relations builders
2017-11-09 10:33:44 +01:00
1018683def
Depsgraph: Fix wrong ID type being compared
2017-11-09 10:33:44 +01:00
98425563ed
Depsgraph: Cleanup, reduce indentation level
2017-11-09 10:33:43 +01:00
449687d50a
Depsgraph: Assert when node uses unhandled ID type
2017-11-09 10:33:43 +01:00
66a6d160fe
Rename ID_IS_LINKED_DATABLOCK to ID_IS_LINKED.
...
This makes code closer to id_override/assent-engine ones, which
introduce a new type of linked data, and hence reserve
ID_IS_LINKED_DATABLOCK to real linked datablocks.
2017-11-06 17:17:10 +01:00
8988f383c1
Depsgraph: Cleanup, remove redundant calls to add_component
2017-10-25 14:40:38 +02:00
0bbf2f9554
Depsgraph: Add missing forward struct declarations
2017-10-25 12:11:12 +02:00
6ec8344243
Depsgraph: Add missing movie clip dopesheet invalidation
2017-10-25 11:45:31 +02:00
eb090d0609
Depsgraph: Use explicit opcode for shape key
2017-10-25 11:37:24 +02:00
a2e22c79cb
Depsgraph: Cleanup, use explicit cloth modifier opcode
...
Avoids use of placeholder operation which also was involving some string
comparisons.
2017-10-25 11:34:41 +02:00
3997a157e9
Depsgraph: Cleanup, don't call explicit add_id()
...
This is redundant, adding components will check for ID to exist.
2017-10-25 11:31:22 +02:00
1bdc687e7a
Depsgraph: Use explicit parameters eval operation code
...
This replaces usage of generic PLACEHOLDEWR with string lookup with more
explicit opcode. This should make it faster to build dependency graph by
avoiding string comparisons when it's not needed.
There should be no user measurable different.
2017-10-25 11:25:10 +02:00
11d7445905
Depsgraph: Cleanup, use proper style for macro loop
2017-10-25 11:25:10 +02:00
45329ce319
Depsgraph: Remove unsued node flag
2017-10-25 11:25:10 +02:00
ea29e4c997
Depsgraph: Make operation codes more obvious
...
This synchronizes al lrelated changes from blender2.8 branch.
2017-10-25 11:25:10 +02:00
f29ff14d6e
Depsgraph: Remove bunch of debug code
...
Was never actually used and implementation seems to be slow: we shouldn't be
doing per-node evaluation hash lookups, adds too much overhead. We can instead
store statistics in the node itself, and maybe even group them somehow.
Ideally such a statistics should be user-friendly so riggers and animators
can see exactly what's happening.
2017-10-25 11:25:10 +02:00
6d8f63a834
Fix T53054: Parentless bone + IK crashes
2017-10-16 22:21:45 +11:00
3801f76b7b
Fix T52932: Driver with target of custom property from scene fails to update
...
Note that this is only supported in new depsgraph.
2017-09-28 16:13:28 +05:00
675cef0a16
Fix T52835: When driven IK influence change, ik animation have 1 frame delay
2017-09-25 18:48:55 +05:00
b31faac17e
Depsgraph: Fix wrong flag being assigned
2017-09-19 20:55:15 +05:00