Fix unable to load texture warnmat

This commit is contained in:
Johxz 2017-06-23 21:13:30 -05:00
parent 8780f83262
commit 6f95747311
3 changed files with 10 additions and 10 deletions

View file

@ -1944,7 +1944,7 @@ function MaterialEditorGui::createNewMaterial( %this )
%material = getUniqueName( "newMaterial" );
new Material(%material)
{
diffuseMap[0] = "core/art/warnmat";
diffuseMap[0] = "core/images/warnmat";
mapTo = "unmapped_mat";
parentGroup = RootGroup;
};
@ -1975,7 +1975,7 @@ function MaterialEditorGui::deleteMaterial( %this )
%toMaterial = getUniqueName( "newMaterial" );
new Material(%toMaterial)
{
diffuseMap[0] = "core/art/warnmat";
diffuseMap[0] = "core/images/warnmat";
mapTo = "unmapped_mat";
parentGroup = RootGroup;
};
@ -1993,7 +1993,7 @@ function MaterialEditorGui::deleteMaterial( %this )
%toMaterial = getUniqueName( "newMaterial" );
new Material(%toMaterial)
{
diffuseMap[0] = "core/art/warnmat";
diffuseMap[0] = "core/images/warnmat";
mapTo = "unmapped_mat";
parentGroup = RootGroup;
};
@ -2008,7 +2008,7 @@ function MaterialEditorGui::deleteMaterial( %this )
%newMaterial = getUniqueName( "newMaterial" );
new Material(%newMaterial)
{
diffuseMap[0] = "core/art/warnmat";
diffuseMap[0] = "core/images/warnmat";
mapTo = "unmapped_mat";
parentGroup = RootGroup;
};