Skip to content

Commit

Permalink
Fixed camera mode case clause crash in tweak reported by Fonte Boa.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Jones committed May 23, 2009
1 parent f1fe281 commit 5f9f18e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions NOTES
@@ -1,3 +1,14 @@
--- 1.0.X.Y -----------------------------------------------------------------
- Magnets are now drawn correctly in Tweak when selections across multiple
objects are dragged. [optigon]

- Selectings multiple objects in Tweak and calling a command via a hotkey would
only affect one of the objects. Now corrected. [optigon]

- Crash reported by Fonte Boa corrected. [optigon]

- Tweak mode temporary selection fix. [optigon]

--- 1.0 ---------------------------------------------------------------------
- Gordo eliminated some color banding in the task switching icon on Windows
and also cleaned up the edges on that icon. [bjorng]
Expand Down
3 changes: 2 additions & 1 deletion plugins_src/commands/wpc_tweak.erl
Expand Up @@ -429,7 +429,8 @@ handle_tweak_event1(#mousebutton{button=2,state=?SDL_RELEASED},
Cam = wings_pref:get_value(camera_mode),
case Cam of
maya -> end_drag(T#tweak{dc={0,0}});
mb -> end_drag(T#tweak{dc={0,0}})
mb -> end_drag(T#tweak{dc={0,0}});
_ -> keep
end;

handle_tweak_event1(#mousemotion{state=?SDL_RELEASED},
Expand Down

0 comments on commit 5f9f18e

Please sign in to comment.