Compare commits
2 commits
81b35476a0
...
7b64d78b5b
Author | SHA1 | Date | |
---|---|---|---|
7b64d78b5b | |||
59aa006611 |
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ set(CMAKE_CXX_STANDARD 14)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
set(SAVETOOL_PROJECT_VERSION 1.4.2)
|
set(SAVETOOL_PROJECT_VERSION 1.4.3)
|
||||||
|
|
||||||
find_package(Corrade REQUIRED Main Containers Utility)
|
find_package(Corrade REQUIRED Main Containers Utility)
|
||||||
find_package(Magnum REQUIRED GL Sdl2Application)
|
find_package(Magnum REQUIRED GL Sdl2Application)
|
||||||
|
|
|
@ -473,7 +473,7 @@ auto Profile::setResource(Containers::StringView container, MaterialID id, Int a
|
||||||
if(it == mats_prop->items.end()) {
|
if(it == mats_prop->items.end()) {
|
||||||
res_prop = new ResourceItemValue;
|
res_prop = new ResourceItemValue;
|
||||||
if(mats_prop->items.isEmpty()) {
|
if(mats_prop->items.isEmpty()) {
|
||||||
res_prop->name.emplace("ResourceMaterial");
|
res_prop->name.emplace(container);
|
||||||
}
|
}
|
||||||
res_prop->id = id;
|
res_prop->id = id;
|
||||||
ResourceItemValue::ptr prop{res_prop};
|
ResourceItemValue::ptr prop{res_prop};
|
||||||
|
|
Loading…
Reference in a new issue