From 8dc39bacac76bcd4a3b1f26d38943f005732260f Mon Sep 17 00:00:00 2001 From: satabol Date: Sun, 14 Jul 2024 00:35:06 +0300 Subject: [PATCH] fix #5132 Error when trying to change fonts in Typography Viewer (In additional panel operator) --- nodes/viz/viewer_typography.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/viz/viewer_typography.py b/nodes/viz/viewer_typography.py index 9aa7fdad9b..de24100ea8 100644 --- a/nodes/viz/viewer_typography.py +++ b/nodes/viz/viewer_typography.py @@ -115,7 +115,7 @@ def execute(self, context): return {'FINISHED'} def invoke(self, context, event): - self.node = context.node + self.node = context.active_node wm = context.window_manager wm.fileselect_add(self) return {'RUNNING_MODAL'}