@@ -53,12 +53,7 @@ void CEditorPreferencesPage_General::Reflect(AZ::SerializeContext& serialize)
53
53
serialize.Class <Undo>()
54
54
->Version (2 )
55
55
->Field (" UndoLevels" , &Undo::m_undoLevels)
56
- ->Field (" UndoSliceOverrideSaves" , &Undo::m_undoSliceOverrideSaveValue);;
57
-
58
- serialize.Class <DeepSelection>()
59
- ->Version (2 )
60
- ->Field (" DeepSelectionRange" , &DeepSelection::m_deepSelectionRange)
61
- ->Field (" StickDuplicate" , &DeepSelection::m_stickDuplicate);
56
+ ->Field (" UndoSliceOverrideSaves" , &Undo::m_undoSliceOverrideSaveValue);
62
57
63
58
serialize.Class <SliceSettings>()
64
59
->Version (1 )
@@ -70,7 +65,6 @@ void CEditorPreferencesPage_General::Reflect(AZ::SerializeContext& serialize)
70
65
->Field (" Prefab Save Settings" , &CEditorPreferencesPage_General::m_levelSaveSettings)
71
66
->Field (" Messaging" , &CEditorPreferencesPage_General::m_messaging)
72
67
->Field (" Undo" , &CEditorPreferencesPage_General::m_undo)
73
- ->Field (" Deep Selection" , &CEditorPreferencesPage_General::m_deepSelection)
74
68
->Field (" Slice Settings" , &CEditorPreferencesPage_General::m_sliceSettings);
75
69
76
70
@@ -113,12 +107,6 @@ void CEditorPreferencesPage_General::Reflect(AZ::SerializeContext& serialize)
113
107
->Attribute (AZ::Edit::Attributes::Max, 10000 )
114
108
->DataElement (AZ::Edit::UIHandlers::CheckBox, &Undo::m_undoSliceOverrideSaveValue, " Undo Slice Override Saves" , " Allow slice saves to be undone" );
115
109
116
- editContext->Class <DeepSelection>(" Selection" , " " )
117
- ->DataElement (AZ::Edit::UIHandlers::CheckBox, &DeepSelection::m_stickDuplicate, " Stick duplicate to cursor" , " Stick duplicate to cursor" )
118
- ->DataElement (AZ::Edit::UIHandlers::SpinBox, &DeepSelection::m_deepSelectionRange, " Deep selection range" , " Deep Selection Range" )
119
- ->Attribute (AZ::Edit::Attributes::Min, 0 .0f )
120
- ->Attribute (AZ::Edit::Attributes::Max, 1000 .0f );
121
-
122
110
editContext->Class <SliceSettings>(" Slices" , " " )
123
111
->DataElement (AZ::Edit::UIHandlers::CheckBox, &SliceSettings::m_slicesDynamicByDefault, " New Slices Dynamic By Default" , " When creating slices, they will be set to dynamic by default" );
124
112
@@ -129,7 +117,6 @@ void CEditorPreferencesPage_General::Reflect(AZ::SerializeContext& serialize)
129
117
->DataElement (AZ::Edit::UIHandlers::Default, &CEditorPreferencesPage_General::m_levelSaveSettings, " Prefab Save Settings" , " File>Save" )
130
118
->DataElement (AZ::Edit::UIHandlers::Default, &CEditorPreferencesPage_General::m_messaging, " Messaging" , " Messaging" )
131
119
->DataElement (AZ::Edit::UIHandlers::Default, &CEditorPreferencesPage_General::m_undo, " Undo" , " Undo Preferences" )
132
- ->DataElement (AZ::Edit::UIHandlers::Default, &CEditorPreferencesPage_General::m_deepSelection, " Selection" , " Selection" )
133
120
->DataElement (AZ::Edit::UIHandlers::Default, &CEditorPreferencesPage_General::m_sliceSettings, " Slices" , " Slice Settings" );
134
121
}
135
122
}
@@ -180,10 +167,6 @@ void CEditorPreferencesPage_General::OnApply()
180
167
181
168
gSettings .m_undoSliceOverrideSaveValue = m_undo.m_undoSliceOverrideSaveValue ;
182
169
183
- // deep selection
184
- gSettings .deepSelectionSettings .fRange = m_deepSelection.m_deepSelectionRange ;
185
- gSettings .deepSelectionSettings .bStickDuplicate = m_deepSelection.m_stickDuplicate ;
186
-
187
170
// slices
188
171
gSettings .sliceSettings .dynamicByDefault = m_sliceSettings.m_slicesDynamicByDefault ;
189
172
}
@@ -214,10 +197,6 @@ void CEditorPreferencesPage_General::InitializeSettings()
214
197
m_undo.m_undoLevels = gSettings .undoLevels ;
215
198
m_undo.m_undoSliceOverrideSaveValue = gSettings .m_undoSliceOverrideSaveValue ;
216
199
217
- // deep selection
218
- m_deepSelection.m_deepSelectionRange = gSettings .deepSelectionSettings .fRange ;
219
- m_deepSelection.m_stickDuplicate = gSettings .deepSelectionSettings .bStickDuplicate ;
220
-
221
200
// slices
222
201
m_sliceSettings.m_slicesDynamicByDefault = gSettings .sliceSettings .dynamicByDefault ;
223
202
}
0 commit comments