#title = Insert
#info = Insert an object by clicking on the [Insert button]
#icon = insert.png

var()
{
 selected
 istance
}

onButtonClick()
{
 scene.deselectAll()
 selected = onButtonClick.getType()
 istance = scene.createIstance(selected,scene.root)
 scene.selectIstance(istance)
}


