Commit: 3fa4e52657758b37698a6187764239560ff3d573
Author: Joshua Leung
Date:   Thu Aug 23 16:51:54 2018 +1200
Branches: blender2.8
https://developer.blender.org/rB3fa4e52657758b37698a6187764239560ff3d573

Motion Path Calcs: Use filtered depsgraph by default

Use debug_value = -1 to disable the use of the filtered depsgraph.
It's still useful to have this for benchmarking + until we're
confident the filtering works safely.

===================================================================

M       source/blender/editors/armature/pose_edit.c

===================================================================

diff --git a/source/blender/editors/armature/pose_edit.c 
b/source/blender/editors/armature/pose_edit.c
index ca4ea0c5ff9..2ebc04a39ee 100644
--- a/source/blender/editors/armature/pose_edit.c
+++ b/source/blender/editors/armature/pose_edit.c
@@ -201,7 +201,7 @@ void ED_pose_recalculate_paths(bContext *C, Scene *scene, 
Object *ob)
        bool free_depsgraph = false;
 
        /* Override depsgraph with a filtered, simpler copy */
-       if (G.debug_value == 555) {
+       if (G.debug_value != -1) {
 TIMEIT_START(filter_pose_depsgraph);
                DEG_FilterQuery query = {0};

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to