jayanam / bl_ui_widgets

UI Widgets for Blender 2.8
GNU General Public License v3.0
150 stars 38 forks source link

StructRNA of type DP_OT_draw_operator has been removed - when swiching to a new scene #7

Open gpogorzelski opened 3 years ago

gpogorzelski commented 3 years ago

Hi, After opening blender client, I install the widget and invoke it with Ctrl + Shift + k. Everything works fine, the widget displays and works. Then with the widget displayed I click New -> General -> Don't save. In the Console I get the following stack trace:

Read prefs: C:\Users\Grzegorz\AppData\Roaming\Blender Foundation\Blender\2.90\config\userpref.blend found bundled python: C:\Program Files\Blender Foundation\Blender 2.90\2.90\python Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\bl_ui_widgets-master\bl_ui_draw_op.py", line 82, in draw_callback_px for widget in self.widgets: File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy_types.py", line 717, in getattribute properties = StructRNA.path_resolve(self, "properties") ReferenceError: StructRNA of type DP_OT_draw_operator has been removed

Then, in the new scene, when I press Ctrl + Shift + k, the widget displays, but in the consol window I get a continuous stream of errors exactly like above. Any idea how to fix this?