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.
This commit is contained in:
Bastien Montagne 2018-04-23 16:08:45 +02:00
parent a7960db471
commit 2e1ac7e2df
1 changed files with 2 additions and 0 deletions

View File

@ -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, ...) \