mirror of
https://github.com/H-uru/korman.git
synced 2025-07-14 22:36:52 +00:00
Don't crash if there are unknown modifiers...
... This can happen if you save a blend file with a downstream codebase with some newfangled modifier, then try to export with an upstream plugin that does not have said modifier.
This commit is contained in:
@ -36,7 +36,7 @@ class PlasmaModifiers(bpy.types.PropertyGroup):
|
||||
NOTE: We do not promise to return modifiers in their display_order!
|
||||
"""
|
||||
for i in dir(self):
|
||||
attr = getattr(self, i)
|
||||
attr = getattr(self, i, None)
|
||||
# Assumes each modifier is a single pointer to PlasmaModifierProperties
|
||||
if isinstance(attr, PlasmaModifierProperties):
|
||||
if attr.enabled:
|
||||
|
Reference in New Issue
Block a user