+ add method to get SoDetail from element name
+ fix broken selection mechanism git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5260 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
@@ -2055,7 +2055,7 @@ SoPath * View3DInventorViewer::pickFilterCB(void *viewer, const SoPickedPoint *
|
||||
{
|
||||
ViewProvider* vp = static_cast<View3DInventorViewer*>(viewer)->getViewProviderByPath(pp->getPath());
|
||||
if (vp && vp->useNewSelectionModel()) {
|
||||
std::string e = vp->getElement(pp);
|
||||
std::string e = vp->getElement(pp->getDetail());
|
||||
vp->getSelectionShape(e.c_str());
|
||||
static char buf[513];
|
||||
snprintf(buf,512,"Hovered: %s (%f,%f,%f)"
|
||||
|
||||
Reference in New Issue
Block a user