mirror of
https://github.com/dgirardeau/q3DMASC.git
synced 2026-08-29 16:40:49 +08:00
Fixed: crash when point clouds are not associated to labels in the dialog
This commit is contained in:
+4
-1
@@ -346,7 +346,10 @@ void q3DMASCPlugin::doTrainAction()
|
||||
|
||||
for (masc::Tools::NamedClouds::iterator it = loadedClouds.begin(); it != loadedClouds.end(); ++it)
|
||||
{
|
||||
m_app->dispToConsole(it.key() + " = " + it.value()->getName(), ccMainAppInterface::STD_CONSOLE_MESSAGE);
|
||||
if (it.value())
|
||||
m_app->dispToConsole(it.key() + " = " + it.value()->getName(), ccMainAppInterface::STD_CONSOLE_MESSAGE);
|
||||
else
|
||||
ccLog::Warning(it.key() + " is not associated to a point cloud");
|
||||
}
|
||||
|
||||
//test role
|
||||
|
||||
Reference in New Issue
Block a user