Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: 2ce7109e2f8a2973c8c85255d74516b052004bee
      
https://github.com/synfig/synfig/commit/2ce7109e2f8a2973c8c85255d74516b052004bee
  Author: rodolforg <rodolf...@users.noreply.github.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M synfig-studio/src/gui/states/state_bline.cpp
    M synfig-studio/src/gui/states/state_bone.cpp
    M synfig-studio/src/gui/states/state_circle.cpp
    M synfig-studio/src/gui/states/state_draw.cpp
    M synfig-studio/src/gui/states/state_lasso.cpp
    M synfig-studio/src/gui/states/state_polygon.cpp
    M synfig-studio/src/gui/states/state_rectangle.cpp
    M synfig-studio/src/gui/states/state_star.cpp
    M synfig-studio/src/gui/states/state_width.cpp
    M synfig-studio/src/synfigapp/settings.cpp
    M synfig-studio/src/synfigapp/settings.h

  Log Message:
  -----------
  Fix distance values on settings (#2402)

They are saved with current preferred unit, but units were ignored when loading.

Many tools ignore the unit system a preference value was saved - that may be 
different
of current App preference/setting when loaded...
So, for example, 1 pixel can become the gigantic 1u (60px).

Test it:

    In Preferences, assure the Unit System is 'Pixels'
    Select Bline Tool
    In Tool Options Panel, set Brush Size to 1.0 px
    Draw any Bline in Work Area
    Change to Normal Tool
    In Preferences, assure the Unit System is 'Units'
    (optional: close Synfig and reopen it)
    Select Bline Tool again
    Draw another Bline
    It's way thicker than before. If you check Tool Options Panel, you'll see 
Brush Size as 1.0u

Mentioned first here:
 #2372 (review)




_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to