File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -903,9 +903,9 @@ void vk_gltf_viewer::control::ImGuiTaskCollector::nodeInspector(
903903 [&](fastgltf::math::fmat4x4 &matrix) {
904904 // | operator cannot be chained, because of the short circuit evaluation.
905905 bool transformChanged = ImGui::DragFloat4 (" Column 0" , matrix.col (0 ).data ());
906- transformChanged |= ImGui::DragFloat4 (" Column 1" , matrix.col (4 ).data ());
907- transformChanged |= ImGui::DragFloat4 (" Column 2" , matrix.col (8 ).data ());
908- transformChanged |= ImGui::DragFloat4 (" Column 3" , matrix.col (12 ).data ());
906+ transformChanged |= ImGui::DragFloat4 (" Column 1" , matrix.col (1 ).data ());
907+ transformChanged |= ImGui::DragFloat4 (" Column 2" , matrix.col (2 ).data ());
908+ transformChanged |= ImGui::DragFloat4 (" Column 3" , matrix.col (3 ).data ());
909909
910910 if (transformChanged) {
911911 tasks.emplace_back (std::in_place_type<task::ChangeNodeLocalTransform>, selectedNodeIndex);
You can’t perform that action at this time.
0 commit comments