Skip to content

Commit 4553e78

Browse files
ferdymercurycpinter
authored andcommitted
ENH: Enable collision detection by default
as discussed with cpinter
1 parent 7cfe0d7 commit 4553e78

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

RoomsEyeView/Logic/vtkMRMLRoomsEyeViewNode.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ vtkMRMLNodeNewMacro(vtkMRMLRoomsEyeViewNode);
7272
vtkMRMLRoomsEyeViewNode::vtkMRMLRoomsEyeViewNode()
7373
: PatientBodySegmentID(nullptr)
7474
, TreatmentMachineDescriptorFilePath(nullptr)
75-
, CollisionDetectionEnabled(false)
75+
, CollisionDetectionEnabled(true)
7676
, GantryRotationAngle(0.0)
7777
, CollimatorRotationAngle(0.0)
7878
, ImagingPanelMovement(-68.50)

RoomsEyeView/Resources/UI/qSlicerRoomsEyeViewModule.ui

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
<item row="2" column="0" colspan="3">
259259
<widget class="QLabel" name="CollisionDetectionStatusLabel">
260260
<property name="text">
261-
<string>Collision computation disabled</string>
261+
<string>Collision computation enabled</string>
262262
</property>
263263
</widget>
264264
</item>
@@ -283,6 +283,9 @@
283283
<property name="text">
284284
<string>Enable computation</string>
285285
</property>
286+
<property name="checked">
287+
<bool>true</bool>
288+
</property>
286289
</widget>
287290
</item>
288291
<item row="1" column="0">

0 commit comments

Comments
 (0)