Notifications
Clear all
[Closed] UVWMap Modifier Gizmo
Page 2 / 2
Prev
Apr 21, 2004 7:50 pm
Originally posted by FatAssasin
[B]This particular fix is an easy one. The code as written only works with Editable Mesh objects, not Editable Polys. Just convert the selected object to an EMesh first.That’s what, “– Runtime error: Mesh operation on non-mesh: Editable Poly”, means. [/B]
I was working with the original code from the original question, I wouldn’t have used $ otherwise.
You can also use $.mesh to access the TriMesh from the top of the stack of any geometry object (Primitive, EMesh, EPoly, Patch, NURBS) to use mesh-related functions.
The other way would be to check the class of the currently selected object and use the mesh or EPoly equivalent of the commend according to it…
Page 2 / 2
Prev