From 2e1ac7e2df812bf3398e6910540da2e3523da73a Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 23 Apr 2018 16:08:45 +0200 Subject: [PATCH] Static Overrides: disable animated check for now. This is actually rather slow process, commeting it out gives us another 10% speedup... On a non-animated char! Don't even want to know how much this would have costed on a rig with hundreds of fcurves! And checking this is not really critical for us anyway, once animated you do not really care whether props are also statically overridden or not. --- source/blender/makesrna/intern/rna_access.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 59d0095e3fb..4806bd147fc 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -7506,11 +7506,13 @@ bool RNA_struct_override_matches( continue; } +#if 0 /* This actually makes things slower, since it has to check for animation paths etc! */ if (RNA_property_animated(ptr_local, prop_local)) { /* We cannot do anything here really, animation is some kind of dynamic overrides that has * precedence over static one... */ continue; } +#endif #define RNA_PATH_BUFFSIZE 8192 #define RNA_PATH_PRINTF(_str, ...) \