Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions ports/azure-kinect-sensor-sdk/fix-build-imgui.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,47 @@ index 4289f71..407e912 100644
}

ImGui::EndChild();
diff --git a/tools/k4aviewer/k4adevicedockcontrol.cpp b/tools/k4aviewer/k4adevicedockcontrol.cpp
index 8fe5687..6d1e95a 100644
--- a/tools/k4aviewer/k4adevicedockcontrol.cpp
+++ b/tools/k4aviewer/k4adevicedockcontrol.cpp
@@ -333,7 +333,7 @@ K4ADockControlStatus K4ADeviceDockControl::Show()

if (m_firstRun || depthEnabledStateChanged)
{
- ImGui::SetNextTreeNodeOpen(m_config.EnableDepthCamera);
+ ImGui::SetNextItemOpen(m_config.EnableDepthCamera);
}

ImGui::Indent();
@@ -376,7 +376,7 @@ K4ADockControlStatus K4ADeviceDockControl::Show()

if (m_firstRun || colorEnableStateChanged)
{
- ImGui::SetNextTreeNodeOpen(m_config.EnableColorCamera);
+ ImGui::SetNextItemOpen(m_config.EnableColorCamera);
}

ImGui::Indent();
@@ -710,7 +710,7 @@ K4ADockControlStatus K4ADeviceDockControl::Show()

if (m_firstRun && (m_syncInConnected || m_syncOutConnected))
{
- ImGui::SetNextTreeNodeOpen(true);
+ ImGui::SetNextItemOpen(true);
}
if (ImGui::TreeNode("External Sync"))
{
diff --git a/tools/k4aviewer/k4asourceselectiondockcontrol.cpp b/tools/k4aviewer/k4asourceselectiondockcontrol.cpp
index 812608b..31e961d 100644
--- a/tools/k4aviewer/k4asourceselectiondockcontrol.cpp
+++ b/tools/k4aviewer/k4asourceselectiondockcontrol.cpp
@@ -34,7 +34,7 @@ K4ASourceSelectionDockControl::K4ASourceSelectionDockControl()

K4ADockControlStatus K4ASourceSelectionDockControl::Show()
{
- ImGui::SetNextTreeNodeOpen(true, ImGuiCond_FirstUseEver);
+ ImGui::SetNextItemOpen(true, ImGuiCond_FirstUseEver);
if (ImGui::TreeNode("Open Device"))
{
ImGuiExtensions::K4AComboBox("Device S/N",
2 changes: 1 addition & 1 deletion ports/azure-kinect-sensor-sdk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ vcpkg_from_github(
fix-dependency-imgui.patch
fix-linux.patch
fix-calibration-c.patch
fix-build-imgui.patch
fix-build-imgui.patch #https://github.com/microsoft/Azure-Kinect-Sensor-SDK/pull/1945
)

vcpkg_find_acquire_program(PYTHON3)
Expand Down
2 changes: 1 addition & 1 deletion ports/azure-kinect-sensor-sdk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "azure-kinect-sensor-sdk",
"version": "1.4.1",
"port-version": 5,
"port-version": 6,
"description": "Azure Kinect SDK is a cross platform (Linux and Windows) user mode SDK to read data from your Azure Kinect device.",
"homepage": "https://github.com/microsoft/Azure-Kinect-Sensor-SDK",
"supports": "linux | windows",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/azure-kinect-sensor-sdk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c18d1979e92816401a8f8c529fc69f6fdca27d63",
"version": "1.4.1",
"port-version": 6
},
{
"git-tree": "e2a1e6a1a145f9436731cbcc9019f807325298c1",
"version": "1.4.1",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@
},
"azure-kinect-sensor-sdk": {
"baseline": "1.4.1",
"port-version": 5
"port-version": 6
},
"azure-macro-utils-c": {
"baseline": "2022-01-21",
Expand Down