Skip to content

Commit

Permalink
Version 4.1 for development
Browse files Browse the repository at this point in the history
  • Loading branch information
hsm4 committed Nov 27, 2023
1 parent 006b46e commit 67fcfeb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 30 deletions.
28 changes: 0 additions & 28 deletions apps/app_demo_slproject/source/AppDemoGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1577,38 +1577,14 @@ void AppDemoGui::buildMenuBar(SLScene* s, SLSceneView* sv)
{
SLstring zip = "glTF-Sample-Models.zip";

/*if (ImGui::MenuItem("Clear Coat Test", nullptr, sid == SID_glTF_ClearCoatTest))
{
SLstring fileToLoad = AppDemo::configPath + "models/glTF-Sample-Models/2.0/ClearCoatTest/glTF/ClearCoatTest.gltf";
if (Utils::fileExists(fileToLoad))
s->onLoad(am, s, sv, SID_glTF_ClearCoatTest);
else
downloadModelAndLoadScene(s, sv, zip, pathSrc, pathDst, fileToLoad, SID_glTF_ClearCoatTest);
}*/
if (ImGui::MenuItem("Damaged Helmet", nullptr, sid == SID_glTF_DamagedHelmet))
{
s->onLoad(am, s, sv, SID_glTF_DamagedHelmet);
// SLstring fileToLoad = AppDemo::configPath + "models/glTF-Sample-Models/2.0/DamagedHelmet/glTF/DamagedHelmet.gltf";
// loadSceneWithLargeModel(s, sv, zip, fileToLoad, SID_glTF_DamagedHelmet);
}
if (ImGui::MenuItem("Flight Helmet", nullptr, sid == SID_glTF_FlightHelmet))
{
s->onLoad(am, s, sv, SID_glTF_FlightHelmet);
// SLstring fileToLoad = AppDemo::configPath + "models/glTF-Sample-Models/2.0/FlightHelmet/glTF/FlightHelmet.gltf";
// loadSceneWithLargeModel(s, sv, zip, fileToLoad, SID_glTF_FlightHelmet);
}
if (ImGui::MenuItem("Sponza Palace", nullptr, sid == SID_glTF_Sponza))
{
s->onLoad(am, s, sv, SID_glTF_Sponza);
// SLstring fileToLoad = AppDemo::configPath + "models/glTF-Sample-Models/2.0/Sponza/glTF/Sponza.gltf";
// loadSceneWithLargeModel(s, sv, zip, fileToLoad, SID_glTF_Sponza);
}
if (ImGui::MenuItem("Water Bottle", nullptr, sid == SID_glTF_WaterBottle))
{
s->onLoad(am, s, sv, SID_glTF_WaterBottle);
// SLstring fileToLoad = AppDemo::configPath + "models/glTF-Sample-Models/2.0/WaterBottle/glTF/WaterBottle.gltf";
// loadSceneWithLargeModel(s, sv, zip, fileToLoad, SID_glTF_WaterBottle);
}

ImGui::EndMenu();
}
Expand All @@ -1618,11 +1594,7 @@ void AppDemoGui::buildMenuBar(SLScene* s, SLSceneView* sv)
SLstring zip = "GLTF-FanucCRX.zip";

if (ImGui::MenuItem("Fanuc-CRX", nullptr, sid == SID_Robotics_FanucCRX_FK))
{
s->onLoad(am, s, sv, SID_Robotics_FanucCRX_FK);
// SLstring fileToLoad = AppDemo::configPath + "models/GLTF-FanucCRX/Fanuc-CRX.gltf";
// loadSceneWithLargeModel(s, sv, zip, fileToLoad, SID_Robotics_FanucCRX_FK);
}

ImGui::EndMenu();
}
Expand Down
2 changes: 1 addition & 1 deletion apps/source/AppDemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SLDeviceRotation AppDemo::devRot;
SLDeviceLocation AppDemo::devLoc;
SLstring AppDemo::name = "SLProjectApp";
SLstring AppDemo::appTag = "SLProject";
SLstring AppDemo::version = "4.0.000";
SLstring AppDemo::version = "4.1.000";
#ifdef _DEBUG
SLstring AppDemo::configuration = "Debug";
#else
Expand Down
2 changes: 1 addition & 1 deletion docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ PROJECT_NAME = SLProject
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 4.0.000
PROJECT_NUMBER = 4.1.000

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down

0 comments on commit 67fcfeb

Please sign in to comment.