Skip to content

Commit

Permalink
editor: allow for negative spin values for mapmodels
Browse files Browse the repository at this point in the history
  • Loading branch information
q009 committed Mar 1, 2024
1 parent f42d5f0 commit 4ff1afd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/ui/tool/ents/toolmapmodel.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,19 @@
]

ui_tool_ent_param_group "Spin" [
ui_tool_numinput #(tool_ent_attr mapmodel spinyaw) 0 5000 10 [
ui_tool_numinput #(tool_ent_attr mapmodel spinyaw) -5000 5000 10 [
#(ui_tool_ent_attr_props mapmodel spinyaw [] 1)
p_label = "Yaw"
p_val_format = i
]

ui_tool_numinput #(tool_ent_attr mapmodel spinpitch) 0 5000 10 [
ui_tool_numinput #(tool_ent_attr mapmodel spinpitch) -5000 5000 10 [
#(ui_tool_ent_attr_props mapmodel spinpitch [] 1)
p_label = "Pitch"
p_val_format = i
]

ui_tool_numinput #(tool_ent_attr mapmodel spinroll) 0 5000 10 [
ui_tool_numinput #(tool_ent_attr mapmodel spinroll) -5000 5000 10 [
#(ui_tool_ent_attr_props mapmodel spinroll [] 1)
p_label = "Roll"
p_val_format = i
Expand Down

0 comments on commit 4ff1afd

Please sign in to comment.