Fix bug when running without stored settings
This commit is contained in:
parent
459b097645
commit
f5c40093ff
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue