mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 15:28:19 +00:00
tool.Blender.update_all_viewports
This commit is contained in:
@@ -2699,10 +2699,7 @@ class CreateClippingPlane(bpy.types.Operator):
|
||||
self.report({"INFO"}, "Maximum of six clipping planes allowed.")
|
||||
return {"FINISHED"}
|
||||
|
||||
assert context.screen
|
||||
for area in context.screen.areas:
|
||||
if area.type == "VIEW_3D":
|
||||
area.tag_redraw()
|
||||
tool.Blender.update_all_viewports(context)
|
||||
|
||||
assert context.region and context.region_data
|
||||
region = context.region
|
||||
|
||||
Reference in New Issue
Block a user