Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix: only use one camera attribute and ensure vectors are orthogonal

Ubuntu04c47226a9ca
diff --git a/frontend/src/app/modules/bcf/bcf-buttons/bcf-show-viewpoint-button.component.ts b/frontend/src/app/modules/bcf/bcf-buttons/bcf-show-viewpoint-button.component.ts
index b295359f3b4..7b0725aecc2 100644
--- a/frontend/src/app/modules/bcf/bcf-buttons/bcf-show-viewpoint-button.component.ts
+++ b/frontend/src/app/modules/bcf/bcf-buttons/bcf-show-viewpoint-button.component.ts
@@ -64,16 +64,10 @@ export class BcfShowViewpointButtonComponent implements OnInit, OnDestroy {
private tmpViewpoint = {
"perspective_camera": {
"camera_view_point": {"x": -2.36, "y": 18.96, "z": -26.12},
- "camera_direction": {"x": 0.55, "y": -0.54, "z": 0.62},
- "camera_up_vector": {"x": 0.36, "y": 0.82, "z": 0.40},
+ "camera_direction": {"x": 1.00, "y": 0.00, "z": 0.00},
+ "camera_up_vector": {"x": 0.00, "y": 1.00, "z": 0.0},
"field_of_view": 60
},
- "orthogonal_camera": {
- "camera_view_point": {"x": -2.36, "y": 18.96, "z": -26.12},
- "camera_direction": {"x": 0.55, "y": -0.54, "z": 0.62},
- "camera_up_vector": {"x": 0.36, "y": 0.82, "z": 0.40},
- "view_to_world_scale": 1
- },
"lines": [],
"bitmaps": [],
"clipping_planes": [