How to resize "Plane"

Any question about the main GUI application (frontend)
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: How to resize "Plane"

Post by daniel »

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).
Daniel, CloudCompare admin
eimixas
Posts: 36
Joined: Thu Jan 17, 2013 8:14 am

Re: How to resize "Plane"

Post by eimixas »

Thank you
I will check commited code dayly :)
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: How to resize "Plane"

Post by daniel »

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:

Code: Select all

m_app->setSelectedInDB(entity,true);
Daniel, CloudCompare admin
eimixas
Posts: 36
Joined: Thu Jan 17, 2013 8:14 am

Re: How to resize "Plane"

Post by eimixas »

No problem, already tested :) works fine.
(i check commited code regularly for updates)
Post Reply