Commit a0d59c7a authored by Jan Möbius's avatar Jan Möbius

Changes from tobias

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13365 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e444f971
......@@ -91,6 +91,9 @@ bool getObject( int _identifier, SplatCloudObject *&_object )
ShaderNode *splatShaderNode( BaseObjectData *_object )
{
if( !_object )
return 0;
if( !_object->dataType( DATA_SPLATCLOUD ) )
return 0;
......@@ -108,6 +111,9 @@ ShaderNode *splatShaderNode( BaseObjectData *_object )
SplatCloudNode *splatCloudNode( BaseObjectData *_object )
{
if( !_object )
return 0;
if( !_object->dataType( DATA_SPLATCLOUD ) )
return 0;
......@@ -125,6 +131,9 @@ SplatCloudNode *splatCloudNode( BaseObjectData *_object )
SplatCloud *splatCloud( BaseObjectData *_object )
{
if( !_object )
return 0;
if( !_object->dataType( DATA_SPLATCLOUD ) )
return 0;
......@@ -147,6 +156,9 @@ SplatCloud *splatCloud( BaseObjectData *_object )
SplatCloudObject *splatCloudObject( BaseObjectData *_object )
{
if( !_object )
return 0;
if( !_object->dataType( DATA_SPLATCLOUD ) )
return 0;
......
......@@ -428,6 +428,7 @@ void SplatCloudRenderingControlPlugin::initializePlugin()
// toolboxes
QStringList viewModeToolboxes;
viewModeToolboxes += "Data Control";
viewModeToolboxes += "Selections";
viewModeToolboxes += "SplatCloud Estimator";
viewModeToolboxes += "SplatCloud Rendering Control";
......@@ -437,6 +438,8 @@ void SplatCloudRenderingControlPlugin::initializePlugin()
viewModeToolbars += "Viewer Toolbar";
viewModeToolbars += "Color Toolbar";
viewModeToolbars += "Viewing Directions";
viewModeToolbars += "Selection Base";
viewModeToolbars += "Backup Toolbar";
// context menus
QStringList viewModeContextMenus;
......@@ -445,6 +448,8 @@ void SplatCloudRenderingControlPlugin::initializePlugin()
viewModeContextMenus += "SplatCloudEstimatorPlugin->SplatCloud Estimator";
viewModeContextMenus += "SplatCloudRenderingControlPlugin->SplatCloud Rendering Control";
viewModeContextMenus += "ViewControl->Visualization";
viewModeContextMenus += "Backup->&Redo";
viewModeContextMenus += "Backup->&Undo";
// emit signals to add new viewmode
emit defineViewModeToolboxes ( "SplatCloud", viewModeToolboxes );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment