Compare commits
No commits in common. "7b64d78b5b0e358a3a5061ebe43b7153d2762ae6" and "81b35476a0ea17c55f65f49753bbfb00d4832569" have entirely different histories.
7b64d78b5b
...
81b35476a0
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.3)
|
set(SAVETOOL_PROJECT_VERSION 1.4.2)
|
||||||
|
|
||||||
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(container);
|
res_prop->name.emplace("ResourceMaterial");
|
||||||
}
|
}
|
||||||
res_prop->id = id;
|
res_prop->id = id;
|
||||||
ResourceItemValue::ptr prop{res_prop};
|
ResourceItemValue::ptr prop{res_prop};
|
||||||
|
|
Loading…
Reference in a new issue