Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2015-08-23 13:12:25 +0300
committerJoshua Leung <aligorith@gmail.com>2015-08-23 13:23:25 +0300
commitb88d8916e44f998c4f0bc397b29b0d6ff0f011e9 (patch)
tree120ce953eba0b4d7c1f78b17a40e17ed5ed9c9a1 /source/blender/blenkernel/intern/object.c
parente7775833a78019a0e2e87feedf4ff3ec2620d4a8 (diff)
Fix T45633 - Animated modifiers don't update in new depsgraph
* Resolved some todo's where FModifier paths were getting identified using the wrong pattern. * Added the missing animation -> modifier link. The "hacky" part here is just to do with how we check if that link is needed; the link though should exist in the graph.
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r--source/blender/blenkernel/intern/object.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index 352999c96da..c7bcc499985 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -4018,8 +4018,7 @@ bool BKE_object_modifier_use_time(Object *ob, ModifierData *md)
FCurve *fcu;
char pattern[MAX_NAME + 10];
- /* TODO(sergey): Escape modifier name. */
- BLI_snprintf(pattern, sizeof(pattern), "modifiers[%s", md->name);
+ BLI_snprintf(pattern, sizeof(pattern), "modifiers[\"%s\"]", md->name);
/* action - check for F-Curves with paths containing 'modifiers[' */
if (adt->action) {