#95 Force Axis-Aligned Ortho

open
nobody
None
5
2012-10-25
2004-09-02
elrond79
No

I made a small change to my wings that I think others
might find useful as well - basically, I added a "Force
Axis-Algined Ortho" preference which behaves very
similarly to the existing "Force Axis-Aligned Grid"
option, except instead of turning on the grid when the
view is along one of the major axes, it switches to
orthogonal view mode. It's nice because it makes
lining up things in one of standard views very easy.

It only required a few minor additions to
wings_view.erl and wings_pref.erl - and what I did
change I pretty much just copied from the code for the
along-axis-grid option. Actually, I was very surprised
at just how easy it was to make this change. Your code
is amazingly readable and easy to modify... keep up the
good work, Bjorn!

I'm uploading my modified files (changed from 0.98.25),
in case you want to take a look. The changes are
marked w/ "%% Altered" and "%% Altered - end" to make
them easy to find.

Discussion

  • elrond79

    elrond79 - 2004-09-02

    Modified source files for Axis-Aligned Ortho option

     
    Attachments
  • Dan Gudmundsson

    Dan Gudmundsson - 2004-10-14

    Logged In: YES
    user_id=20273

    Thanks, I have added it to cvs

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks