Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
Is this a bug in wings_export?
06-27-2013, 12:31 PM
Post: #1
Is this a bug in wings_export?
From wings_export.erl:
Code:
export(Exporter, Name, Ps, #st{shapes=Shs}=St0) ->
    St = wings_view:freeze_mirror(St0),
    ...
Apparently this is supposed to freeze the mirror before continuing to work with the meshes. However, Shs is bound before the freeze.
Shouldn't it be like this instead?
Code:
export(Exporter, Name, Ps, St0) ->
    St = wings_view:freeze_mirror(St0),
    Shs = St#st.shapes,
    ...
Reply


Messages In This Thread
Is this a bug in wings_export? - nemyax - 06-27-2013 12:31 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)