Commit 93ea752b authored by Jan Möbius's avatar Jan Möbius
Browse files

Name group after splatcloud



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15182 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2a89f8bc
......@@ -190,6 +190,20 @@ void TypeSplatCloudPlugin::slotViewChanged()
//----------------------------------------------------------------
void TypeSplatCloudPlugin::slotObjectPropertiesChanged( int _objectId )
{
SplatCloudObject *splatCloudObject;
if( !PluginFunctions::getObject( _objectId, splatCloudObject ) )
return;
if( (splatCloudObject->parent() != 0) && splatCloudObject->parent()->isGroup() )
splatCloudObject->parent()->setName( splatCloudObject->name() );
}
//----------------------------------------------------------------
bool TypeSplatCloudPlugin::registerType()
{
addDataType( "SplatCloud", tr( "SplatCloud" ) );
......
......@@ -91,6 +91,7 @@ private slots:
// -- Base Inferface --
void noguiSupported() { }
void slotViewChanged();
void slotObjectPropertiesChanged( int _objectId );
public:
......
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