From 37245894ead699ec45dfa161c26eaeade31c837a Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 8 Jul 2012 18:44:51 -0400 Subject: [PATCH] Fix stuck page suffixes It's important to not block a change if you're equal to yourself because, in general, you're equal to yourself. I'm sure there are some edge cases in that generalization though. --- korman/properties/prop_world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/properties/prop_world.py b/korman/properties/prop_world.py index 011cecd..98cf5ac 100644 --- a/korman/properties/prop_world.py +++ b/korman/properties/prop_world.py @@ -42,7 +42,7 @@ class PlasmaPage(bpy.types.PropertyGroup): return None for page in context.world.plasma_age.pages: - if page.seq_suffix == self.seq_suffix: + if page.seq_suffix == self.seq_suffix and page != self: # Need to supress checking while we override the suffix page.check_suffixes = False page.seq_suffix = old