bool pathFromSelectionId( GLuint selectionId, ScenePlug::ScenePath &path ) const { path.clear(); const bool result = pathFromSelectionIdWalk( selectionId, path ); std::reverse( path.begin(), path.end() ); return result; }
void ScenePlug::stringToPath( const std::string &s, ScenePlug::ScenePath &path ) { path.clear(); StringAlgo::tokenize( s, '/', path ); }