I’ve been slowly learning Python, and now trying to create a custom Operator/Class.
I have a EnumProperty/Item List that appears when I run the Operator on an Object. It shows the DropDown/List at the botttom left / operator section, as expected.
But the issue is, when I choose an item, I can execute the Function just fine/On Update, but the visual item does not change on the UI. Meaning, when I click the List, select another entry, it runs the proper code, but the visual item selected never changes. It’s always stuck at the initial/default one??
I’ve seen some examples of doing this multiple ways. But I’m not sure what is the best way.
But, my script will only work/should work on Meshes, so I don’t think I have to add my Enum to the Scene, but possibly? In the Register FN?
DropDownList_Issue.m4v (102.7 KB)
Edit: So it seems ilke my Execute FN under the Draw, is overriding it/not letting it get set properly. Or at least, I can set my operator in there, and it will then change.