Blame bugs/resolved/000015.txt

Carlos Lopez 72dfb5
Subject: Inserted bones doesn't offer other parent in the bone choose widget than the <none></none>
Carlos Lopez 72dfb5
Carlos Lopez 72dfb5
new file,
Carlos Lopez 72dfb5
new skeleton,
Carlos Lopez 72dfb5
insert item smart,
Carlos Lopez 72dfb5
select the inserted and try to change its parent,
Carlos Lopez 72dfb5
only <none> is offered</none>
Carlos Lopez 72dfb5
Carlos Lopez 72dfb5
------------------------------------------------------------------------
Carlos Lopez 72dfb5
If you deleted the inserted and then add a new one the deleted is offerd to the new inserted.
Carlos Lopez 72dfb5
It seems like if they belong to a different canvas?
Chris Moore 186de7
Chris Moore 186de7
------------------------------------------------------------------------
Chris Moore 186de7
dooglus, Tue Dec 16 00:17:15 CET 2008
Chris Moore 186de7
Chris Moore 186de7
the parent canvas of the new bone valuenode is 0, so it can't find the correct bone_map.
Chris Moore 186de7
Chris Moore 186de7
------------------------------------------------------------------------
Chris Moore 4ffeb6
dooglus, Tue Dec 16 11:42:21 CET 2008
Chris Moore 4ffeb6
Chris Moore 4ffeb6
In valuenode_staticlist.cpp:
Chris Moore 4ffeb6
	ValueNode_StaticList::create_list_entry() needs to do:
Chris Moore 4ffeb6
		ret->set_parent_canvas(get_parent_canvas());