3ab5075cf9
Add logicbricks to ID looper.
2015-10-08 15:05:37 +02:00
4f0f0d1bce
Add rigidbodyworld to id looper.
2015-10-08 15:05:37 +02:00
74f557982d
Add id looper for particlesystem.
2015-10-08 15:05:37 +02:00
b0bce65d67
Add a bunch of missing IDs in ID looper...
2015-10-08 15:05:37 +02:00
f375028a25
Modifiers: add 'cd_flag' parameter to their ID looping callbacks, needed
...
since some IDs (objects) are not 'refcounted' while others (textures) are...
Partial merge from id-remap branch.
2015-10-08 15:05:37 +02:00
97b6948181
Fix T46386: Duplicate fails updating driver links
...
Duplicate wasn't updating links,
so duplicatinvg a objects would still point to the originals for curve-taper, texmesh, drivers.
Use generic id-looper to handle replacing data.
2015-10-08 20:29:49 +11:00
5eb500f2fc
Add USER flags to BKE_library_foreach_ID_link
...
This way callbacks can know if adjusting user-count is needed.
2015-10-08 20:14:15 +11:00
9f2e225f5c
Add missing object-data ID loop pointer
2015-10-08 19:25:51 +11:00
58869a3ecb
Add missing object ID loop pointers
2015-10-08 18:15:35 +11:00
d5882352b3
Cleanup of BKE_library_foreach_ID_link.
...
This func is long enough, there's no real need to make it even longer with
verbose local varnames and multi-line for loops...
Also, avoid mono-leters names as well for data pointers.
2015-10-07 20:50:34 +02:00
7f5d9a1f74
Fix compilation error after recent changes
...
fmc->script is a text datablock, for which we need to
access to it's IT property.
2014-06-06 16:07:58 +06:00
96f81242bd
Fix for missing visits of ID's within SceneRenderLayer in BKE_library_foreach_ID_link().
...
Just noticed them while working on the previous commit (rB00f722042c07).
2014-06-06 12:51:14 +09:00
00f722042c
Fix for missing visits of Freestyle-related ID data blocks in BKE_library_foreach_ID_link().
2014-06-06 12:48:53 +09:00
b7f085d9c1
Patch D246: Texture Marks for freestyle strokes, written and contributed by Paolo Acampora.
...
Reviewers: brecht, kjym3, #freestyle
Reviewed By: brecht, kjym3
Differential Revision: https://developer.blender.org/D246
2014-05-03 18:54:59 +09:00
4ca67869cc
Code cleanup: remove unused includes
...
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-05-01 04:47:51 +10:00
3216e4b202
API Cleanup: Use BKE_constraint prefix for constraint api
2014-04-11 11:47:07 +10:00
a15b3c4d11
Code cleanup: use bool
2014-04-11 11:33:29 +10:00
0b8774fc42
Fix for missing break statements
2014-03-31 05:46:19 +11:00
90d4bb1403
Fix for uninitialized var use
2014-03-30 19:36:51 +11:00
6e5e3b73f3
Fix T37599: Crash making linked objects local and undo
...
Root of the issues comes to the fact that it's possible to produce
a situation when library object data uses local object. This is
actually forbidden and not supported by .blend IO.
Made it so Make Local wouldn't produce such an unsupported states.
Reviewers: brecht
Differential Revision: https://developer.blender.org/D372
2014-03-28 17:14:11 +06:00