Browse Source

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.
pull/1/head
Adam Johnson 13 years ago
parent
commit
37245894ea
  1. 2
      korman/properties/prop_world.py

2
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

Loading…
Cancel
Save