Removing copied objects from scene

02 July 2015 15:31 #2903
I have a source object in mi scene, and I need to be able to copy up to 7 copies of that object (that's no problem)
but how can I delete the selected ones?

I'm trying to use:
id = m_scenes.get_object_data_id(_selected_obj);
if(id > 0){
	_selected_obj = null;

but the id always returns as zero. The whole scene is deleted!
Website: | YouTube:
02 July 2015 15:49 #2904
nevermind. I was using the wrong code.

should've used this:
Website: | YouTube:
Please register or log in to leave a reply.