diff --git a/__init__.py b/__init__.py index 9f56ddb..9d58539 100644 --- a/__init__.py +++ b/__init__.py @@ -27,8 +27,6 @@ import bpy from bpy.types import Panel -from rna_prop_ui import PropertyPanel -from bl_operators.presets import PresetMenu import SpoutSDK import bgl @@ -49,7 +47,7 @@ def texshare_capture(self, context, camera, object, offscreen, spoutSender): view_matrix = object.matrix_world.inverted() projection_matrix = object.calc_matrix_camera( - context.depsgraph, x=dWIDTH, y=dHEIGHT) + context.evaluated_depsgraph_get(), x=dWIDTH, y=dHEIGHT) offscreen.draw_view3d( scene,