Profile: actually fix the fix.
This commit is contained in:
parent
81b35476a0
commit
59aa006611
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ auto Profile::setResource(Containers::StringView container, MaterialID id, Int a
|
|||
if(it == mats_prop->items.end()) {
|
||||
res_prop = new ResourceItemValue;
|
||||
if(mats_prop->items.isEmpty()) {
|
||||
res_prop->name.emplace("ResourceMaterial");
|
||||
res_prop->name.emplace(container);
|
||||
}
|
||||
res_prop->id = id;
|
||||
ResourceItemValue::ptr prop{res_prop};
|
||||
|
|
Loading…
Reference in a new issue