Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1039 from ess-dmsc/Change-of-camera-type
Browse files Browse the repository at this point in the history
Change to orbit camera as Constructor does not need to run Doom
  • Loading branch information
ggoneiESS authored Sep 26, 2023
2 parents dd9be10 + f10255e commit a7b100e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion nexus_constructor/instrument_view/instrument_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __init__(self, parent, main_window):
}
self.current_camera_settings = deepcopy(self.default_camera_settings)
self.camera_entity = self.view.camera()
self.cam_controller = Qt3DExtras.QFirstPersonCameraController(self.root_entity)
self.cam_controller = Qt3DExtras.QOrbitCameraController(self.root_entity)
self.switch_to_perspective()

# Make sure that the size of the gnomon stays the same when the 3D view is resized
Expand Down
2 changes: 1 addition & 1 deletion nexus_constructor/json/load_from_json_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
NodeType,
)

DEPENDS_ON_IGNORE = [None, 'None', ".", ""]
DEPENDS_ON_IGNORE = [None, "None", ".", ""]


def _find_shape_information(children: List[Dict]) -> Union[Dict, None]:
Expand Down
2 changes: 1 addition & 1 deletion nx-class-documentation/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h1>User Manual and Reference Documentation<a class="headerlink" href="#user-man
</div>
<hr class="docutils" />
<p class="rubric">Publishing Information</p>
<p>This manual built Sep 18, 2023.</p>
<p>This manual built Sep 21, 2023.</p>
<div class="admonition seealso">
<p class="admonition-title">See also</p>
<p>This document is available in these formats online:</p>
Expand Down
2 changes: 1 addition & 1 deletion nx-class-documentation/html/searchindex.js

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions tests/json/test_load_from_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,12 +351,7 @@ def test_GIVEN_json_with_component_depending_on_non_existent_transform_WHEN_load

@pytest.mark.parametrize(
"depends_on_path",
[
".",
"",
'None',
None
],
[".", "", "None", None],
)
def test_GIVEN_json_with_component_with_null_depends_on_WHEN_loaded_THEN_no_effect(
json_dict_with_component, json_reader, depends_on_path
Expand Down

0 comments on commit a7b100e

Please sign in to comment.