Nope because ccMainAppInterface::dbRoot returns the tree root's object (a ccHObject and not a ccDBRoot object).
I realize this method's name is quite confusing. I'll change this and I'll add either a shortcut to ccDBRoot::selectEntity or an accessor to the real ccDBRoot object (but I'm not sure this later option is very safe).
How to resize "Plane"
Re: How to resize "Plane"
Daniel, CloudCompare admin
Re: How to resize "Plane"
Thank you
I will check commited code dayly :)
I will check commited code dayly :)
Re: How to resize "Plane"
Oups, I already updated the code this morning but I forgot to answer your post.
In order to select the entity in the DB tree you can now call:
In order to select the entity in the DB tree you can now call:
Code: Select all
m_app->setSelectedInDB(entity,true);
Daniel, CloudCompare admin
Re: How to resize "Plane"
No problem, already tested :) works fine.
(i check commited code regularly for updates)
(i check commited code regularly for updates)