Wings 0.70 patch

Bjorn Gustavsson <>
Wed Oct 3 14:14:56 CEST 2001


Thanks for the patch. It will be included in next release of Wings,
which probably will appear within a few days.

BTW, there is now a version 0.71 at the Wings page, which fixes
a few minor bugs, such as the infamous "demo bug" shown at the
Erlang conference.

/Bjorn

"Vlad Dumitrescu" <> writes:

> Hi,
> 
> I've played a little with Wings, and it's great!
> 
> Since my 3 button mouse seems not to be recognized as such, I found a small bug in using Alt-Button1 to emulate Button3... Here comes the patch in wings.erl
> 
> 1009,1010c1009,1015
> < translate_event(#mousebutton{button=1,x=X,y=Y,state=?SDL_PRESSED}, St) ->
> <     ignore;
> ---
> > translate_event(#mousebutton{button=1,x=X,y=Y,state=?SDL_PRESSED}=Mb, St) ->
> >     case sdl_keyboard:getModState() of
> >  Mod when Mod band ?ALT_BITS =/= 0 ->
> >      translate_event(Mb#mousebutton{button=2}, St);
> >  _ ->
> >          ignore
> >     end;
> 
> Have a nice day,
> Vlad
> 

-- 
Björn Gustavsson            Ericsson Utvecklings AB
      ÄT2/UAB/F/P
			    BOX 1505
+46 8 727 56 87 	    125 25 Älvsjö



More information about the erlang-questions mailing list