get_indices=bpy.props.StringProperty(name="Index",description="input vertex, face or edge indices here for selection. example: 1,2,3")
show_extra_indices=bpy.props.BoolProperty(name="Show selected indices",default=False,description="Display the index numbers of selected vertices, edges, and faces. Note: enables debug mode",update=IM_show_extra_indices)
classOBJECT_PT_IndexMarker(bpy.types.Panel):
bl_label="IndexMarker"
bl_idname="OBJECT_PT_IndexMarker"
bl_space_type="PROPERTIES"
bl_region_type="WINDOW"
bl_context="data"
bl_default_closed=True
defdraw(self,context):
config=bpy.context.scene.CONFIG_IndexMarker
layout=self.layout
ob=context.object
type=ob.type.capitalize()
objects=bpy.context.selected_objects
game=ob.game
#make sure a object is selected, otherwise hide settings and display warning