From 270b0fb20e255d7a42947d3c7aa6ac7a2a042d97 Mon Sep 17 00:00:00 2001 From: pullusb Date: Mon, 22 Apr 2024 15:48:45 +0200 Subject: [PATCH] ensure node_scene use node --- gen_vlayer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gen_vlayer.py b/gen_vlayer.py index a906c5a..0d21302 100644 --- a/gen_vlayer.py +++ b/gen_vlayer.py @@ -338,7 +338,8 @@ def get_set_viewlayer_from_gp(ob, l, scene=None, node_scene=None, # print('Compo Scene:', node_scene.name) #Dbg ## If not passed, identical to scene holding viewlayers - + if not node_scene.use_nodes: + node_scene.use_nodes = True node_tree = node_scene.node_tree nodes = node_tree.nodes