summaryrefslogtreecommitdiff
path: root/de.jaseg.kimesh.plugin
diff options
context:
space:
mode:
Diffstat (limited to 'de.jaseg.kimesh.plugin')
-rw-r--r--de.jaseg.kimesh.plugin/plugins/mesh_dialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/de.jaseg.kimesh.plugin/plugins/mesh_dialog.py b/de.jaseg.kimesh.plugin/plugins/mesh_dialog.py
index 4ec8763..4bcbc38 100644
--- a/de.jaseg.kimesh.plugin/plugins/mesh_dialog.py
+++ b/de.jaseg.kimesh.plugin/plugins/mesh_dialog.py
@@ -101,7 +101,7 @@ class MeshPluginMainDialog(mesh_plugin_dialog.MainDialog):
for i, fp in enumerate(self.fps):
ref = fp.GetReference()
self.m_anchorChoice.Append(ref)
- if (settings and ref == settings.anchor) or (not settings and ':MeshAnchor' in fp.GetFPID()):
+ if (settings and ref == settings.anchor) or (not settings and 'MeshAnchor' in str(fp.GetFPID().GetLibItemName())):
self.m_anchorChoice.SetSelection(i)