Commit 1d5996ba authored by Isaak Lim's avatar Isaak Lim

got rid off "TextureControl : addedEmptyObject: Cannot load global texture" error

#refs 484

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14155 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6e82cc74
......@@ -197,7 +197,7 @@ void TextureControlPlugin::slotMultiTextureAdded( QString _textureGroup , QStrin
texData->texture(_name).hidden( true );
// Add to image store
int newImageId = imageStore().addImageFile(_name);
int newImageId = imageStore().addImageFile(_filename);
if ( newImageId == -1 ) {
emit log(LOGERR,imageStore().error());
......
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