Revision: 2198
http://synfig.svn.sourceforge.net/synfig/?rev=2198&view=rev
Author: dooglus
Date: 2008-11-13 23:04:21 +0000 (Thu, 13 Nov 2008)
Log Message:
-----------
The 'Radius Ratio' tool option wasn't being honoured when creating Star layers.
Modified Paths:
--------------
synfig-studio/trunk/src/gtkmm/state_star.cpp
Modified: synfig-studio/trunk/src/gtkmm/state_star.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/state_star.cpp 2008-11-13 22:48:49 UTC
(rev 2197)
+++ synfig-studio/trunk/src/gtkmm/state_star.cpp 2008-11-13 23:04:21 UTC
(rev 2198)
@@ -639,10 +639,10 @@
layer->set_param("origin",p1);
get_canvas_interface()->signal_layer_param_changed()(layer,"origin");
- layer->set_param("radius1",(p2-p1).mag());
+ layer->set_param("radius1",radius1);
get_canvas_interface()->signal_layer_param_changed()(layer,"radius1");
- layer->set_param("radius2",(p2-p1).mag()/2);
+ layer->set_param("radius2",radius2);
get_canvas_interface()->signal_layer_param_changed()(layer,"radius2");
layer->set_param("angle",offset);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl