haavard
06-17-2010, 04:41 AM
I was working on a script that uses bit flags in editablePoly to work with face selections on an object. I initially set the flags property undoable to true, and that works fine. But if i want to run the script multiple times on the same object, the saved face selection just get appended from the last iteration and that destroys the purpose of the script. I could set the undoable property to false, but then i have to rewrite most of the script, so I was wondering if there is a fast workaround to reset the faces associated with a flag? I could assign new flags for each iteration, but as far as I understand you only have seven flags to set freely.
Please correct me if I have misunderstood the usage of bitflags or if anything is unclear! :)
Pretty image to illustrate my problem
http://folk.ntnu.no/havardsc/img/flag-problem.png
Please correct me if I have misunderstood the usage of bitflags or if anything is unclear! :)
Pretty image to illustrate my problem
http://folk.ntnu.no/havardsc/img/flag-problem.png
