Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Vindicus999
2025-07-01 23:14:29 +00:00
2 changed files with 5 additions and 9 deletions
+3 -1
View File
@@ -296,7 +296,9 @@ FetchContent_Declare(monado
)
add_subdirectory(external)
add_subdirectory(common)
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_SERVER OR WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_DISSECTOR)
add_subdirectory(common)
endif()
if (WIVRN_BUILD_CLIENT)
add_subdirectory(client)
+2 -8
View File
@@ -334,8 +334,6 @@ static void set_clipping_planes(node_handle node, std::span<glm::vec4> clipping_
}
}
node->visible = true;
for (auto child_node: node.children())
{
size_t nb_clipping_planes = std::min(child_node->clipping_planes.size(), clipping_planes.size());
@@ -360,16 +358,12 @@ void input_profile::apply(XrSpace world_space, XrTime predicted_display_time, bo
if ((space == xr::spaces::grip_left or space == xr::spaces::aim_left) and hide_left)
{
node->visible = false;
continue;
}
if ((space == xr::spaces::grip_right or space == xr::spaces::aim_right) and hide_right)
else if ((space == xr::spaces::grip_right or space == xr::spaces::aim_right) and hide_right)
{
node->visible = false;
continue;
}
if (auto location = application::locate_controller(application::space(space), world_space, predicted_display_time); location)
else if (auto location = application::locate_controller(application::space(space), world_space, predicted_display_time); location)
{
node->visible = true;