[Bf-extensions-cvs] [4b91309b] master: Depsgraph debug: Fix for recent RNA changes
Sergey Sharybin
noreply at git.blender.org
Mon Apr 30 15:34:17 CEST 2018
Commit: 4b91309b122bcdcddd1854b1137407b2c4f55c7e
Author: Sergey Sharybin
Date: Mon Apr 30 15:33:05 2018 +0200
Branches: master
https://developer.blender.org/rBA4b91309b122bcdcddd1854b1137407b2c4f55c7e
Depsgraph debug: Fix for recent RNA changes
===================================================================
M depsgraph_debug.py
===================================================================
diff --git a/depsgraph_debug.py b/depsgraph_debug.py
index 9e4c67f0..438d4885 100644
--- a/depsgraph_debug.py
+++ b/depsgraph_debug.py
@@ -40,8 +40,8 @@ def _get_depsgraph(context):
if bpy.app.version < (2, 80, 0,):
return scene.depsgraph
else:
- scene_layer = scene.view_layers.active
- return scene_layer.depsgraph
+ view_layer = context.view_layer
+ return view_layer.depsgraph
###############################################################################
More information about the Bf-extensions-cvs
mailing list