Permalink
Commits on Feb 25, 2017
  1. wings_drag: Fix broken handling of virtual mirror

    Handling of virtual mirror broke during the big refactoring of
    wings_drag.
    committed Feb 25, 2017
  2. Profile when auto_rotate and Develop/Time Commands

    Add a simple way to profile rendering code path.
    dgud committed Feb 25, 2017
Commits on Feb 24, 2017
  1. Autorotate fixes

    Was buggy changing prefs didn't work and write the FPS in info box,
    also make it rotates per second if 60FPS.
    dgud committed Feb 24, 2017
Commits on Feb 16, 2017
  1. Make clean exits

    Starting with start_halt caused a erl_crash.dump every time, we stopped
    wings.
    
    Invoke erlang:halt() instead to clean nicely.
    dgud committed Feb 16, 2017
Commits on Feb 11, 2017
Commits on Feb 10, 2017
  1. wings_plugin: Eliminate frequent call to non-existent 'wings_shape'

    e50883f removed the wings_shape module. It turns out that there
    are actually still calls to wings_shape from wings_plugin.
    
    wings_plugin calls Plugin:get_data/3 every time a display list
    is to be updated. wings_shape has never implemented a get_data/3
    function, but the failed call to the undefined function was still
    fast since the module was already loaded.
    
    Now that wings_shape now longer exists, the attempt to call
    wings_shape:get_data/3 becomes considerably more expensive since
    the code server tries to load the code from disk.
    
    Fix the problem for now by eliminating the call to wings_shape:get_data/3.
    There are still other indirect calls to wings_shape (e.g. when loading
    a wings file), but they are not frequent and not a performance problem.
    committed Feb 10, 2017
Commits on Feb 9, 2017
  1. Add travis build script

    And fool dialyzer
    dgud committed Feb 9, 2017
  2. Fix errors found by dialyzer

    dgud committed Feb 9, 2017
  3. Add project emacs settings

    dgud committed Feb 9, 2017
Commits on Feb 8, 2017
  1. Added a window interface for Snap Image command.

    It was created a new window and migrated the old wpc_snap code to fit on it.
    The suggestion was made by dgud in this post:
    http://www.wings3d.com/forum/showthread.php?tid=844&pid=11082#pid11082
    
    NOTE: Added snap window and removed the old tools/snap command
    Micheus committed with dgud Jan 30, 2017
  2. Merge branch 'dgud/erl-appify'

    dgud committed Feb 8, 2017
  3. Every semi permanent process hangs below supervision tree

    Dialog and menu process does not.
    
    See wings_sup.erl for all supervision.
    Added simple event_handler to wings_console and write error_logs from that.
    dgud committed Jan 23, 2017
Commits on Feb 7, 2017
  1. Update preference location code

    New standard place for mac and unix.
    
    Use filename:basedir/2 introduced in erlang/OTP 19.0
    dgud committed Jan 28, 2017
Commits on Feb 1, 2017
  1. Merge branch 'bjorn/prepare-for-one-process-per-we'

    The new wings_obj module adds APIs for accessing meta
    information for objects, such as name and permission.
    
    The wings_shape module is no longer needed and has
    been removed.
    
    The maintanenance of the folder system has been
    simplified. Information on which objects are in each
    folder is no longer kept in #st{}. That makes it
    much easier to move objects between folder.
    
    * bjorn/prepare-for-one-process-per-we: (22 commits)
      wings_material: Use modern API
      wpc_connect_tool: Use modern API
      wpc_image: Use modern API
      wings_outliner: Use modern API
      Remove the unused wings_shape module
      wings_sel: Eliminate use of wings_shape
      wings_import: Eliminate use of wings_shape:permissions/3
      Eliminate use of wings_shape:new/3
      wpc_autouv: Eliminate call to wings_shape
      Remove superfluous calls to wings_shape:update_folders/1
      Update calls to wings_shape:(re)create_folder_system/1
      wings_geom_win: Use modern API functions
      wings_view: Use modern API
      wings_export: Use modern API
      wings_body: Use modern API
      wings_sel: Add update_sel_all/2
      wings_sel: Add map_obj/2 and fold_obj/3
      wings_sel_cmd: Use modern APIs
      Add wings_obj.erl
      wings_sel_conv: Add mode/3
      ...
    committed Feb 1, 2017
  2. wings_material: Use modern API

    committed Jan 22, 2017
  3. wpc_connect_tool: Use modern API

    committed Jan 21, 2017
  4. wpc_image: Use modern API

    committed Jan 21, 2017
  5. wings_outliner: Use modern API

    committed Jan 15, 2017
Commits on Jan 29, 2017
  1. Eliminate use of wings_shape:new/3

    Use wings_obj:new/3 instead.
    committed Jan 14, 2017
  2. Remove superfluous calls to wings_shape:update_folders/1

    There is no longer any need to call wings_shape:update_folders/1,
    because wings_geom_win no longer uses the list of objects ids
    in the folder structure in #st{}.
    committed Jan 14, 2017
  3. Update calls to wings_shape:(re)create_folder_system/1

    create_folder_system/1 and recreate_folder_system/1 have moved
    to wings_obj. Update all calls accordingly.
    committed Jan 14, 2017
  4. wings_geom_win: Use modern API functions

    Also move the handling of folders to this module.
    committed Jan 11, 2017
  5. wings_view: Use modern API

    committed Jan 10, 2017
  6. wings_export: Use modern API

    committed Jan 10, 2017
  7. wings_body: Use modern API

    committed Jan 10, 2017
  8. wings_sel: Add update_sel_all/2

    committed Jan 13, 2017
  9. wings_sel_cmd: Use modern APIs

    committed Jan 7, 2017
  10. Add wings_obj.erl

    committed Jan 7, 2017
  11. wings_sel_conv: Add mode/3

    Also add specs to all functions.
    committed Jan 15, 2017