From 0737bb2b8b8f3fedcb422bceb55f98bd06f82160 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 23 Jun 2015 19:50:57 -0400 Subject: [PATCH] It appears these scene.updates are worthless --- korman/helpers.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/korman/helpers.py b/korman/helpers.py index 18c1aeb..a36d138 100644 --- a/korman/helpers.py +++ b/korman/helpers.py @@ -30,7 +30,6 @@ class GoodNeighbor: def __exit__(self, type, value, traceback): for (cls, attr), value in self._tracking.items(): setattr(cls, attr, value) - bpy.context.scene.update() class TemporaryObject: @@ -59,7 +58,6 @@ def ensure_object_can_bake(bo, toggle): toggle.track(bo, "hide", False) toggle.track(bo, "hide_render", False) toggle.track(bo, "hide_select", False) - scene.update() def ensure_power_of_two(value): return pow(2, math.floor(math.log(value, 2)))