synfig.git
15 years agoMake the names for the guards for ETL private headers consistent WRT the number of...
pabs3 [Mon, 4 May 2009 13:39:59 +0000 (13:39 +0000)]
Make the names for the guards for ETL private headers consistent WRT the number of underscores after ETL

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2365 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoApply patch #21: add boolean ValueNode conversions. Thanks to nikitakit.
pabs3 [Sun, 3 May 2009 04:07:37 +0000 (04:07 +0000)]
Apply patch #21: add boolean ValueNode conversions. Thanks to nikitakit.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2364 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix make distcheck, which has been broken since the introduction of CurveWarp in...
pabs3 [Sun, 3 May 2009 03:44:36 +0000 (03:44 +0000)]
Fix make distcheck, which has been broken since the introduction of CurveWarp in SVN r2164 by dooglus.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2363 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoApply patch #18: Valuenode Type Power. Thanks to nikitakit.
genete [Wed, 22 Apr 2009 15:43:31 +0000 (15:43 +0000)]
Apply patch #18: Valuenode Type Power. Thanks to nikitakit.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2362 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoApply patch #17: Implement a Fill/Outline system in place of Foreground/Background...
genete [Wed, 22 Apr 2009 14:28:06 +0000 (14:28 +0000)]
Apply patch #17: Implement a Fill/Outline system in place of Foreground/Background. Thanks
nikitakit

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2361 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix #1677510 (part 1): Added the capability of saving and restoring the input devices...
gballintijn [Sun, 12 Apr 2009 13:59:11 +0000 (13:59 +0000)]
Fix #1677510 (part 1): Added the capability of saving and restoring the input devices configuration (i.e., tablet configuration).

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2360 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFixed double initialitation of the field state_ in InputDevice.
gballintijn [Sun, 12 Apr 2009 12:48:42 +0000 (12:48 +0000)]
Fixed double initialitation of the field state_ in InputDevice.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2359 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoReformat and clean up the automake files
pabs3 [Sun, 12 Apr 2009 12:23:09 +0000 (12:23 +0000)]
Reformat and clean up the automake files

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2358 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoDon't push back any onion skin queue unless onionskin boolean is set to true.
genete [Wed, 18 Mar 2009 20:58:38 +0000 (20:58 +0000)]
Don't push back any onion skin queue unless onionskin boolean is set to true.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2354 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix bug #2652974. Reverts revision r2326 to previous state.
genete [Tue, 17 Mar 2009 22:16:02 +0000 (22:16 +0000)]
Fix bug #2652974. Reverts revision r2326 to previous state.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2353 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoSwitch to a version of po/Makefile.in.in that does not ignore --datarootdir
pabs3 [Thu, 26 Feb 2009 07:16:48 +0000 (07:16 +0000)]
Switch to a version of po/Makefile.in.in that does not ignore --datarootdir

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2352 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoSwitch to a version of po/Makefile.in.in that does not ignore --datarootdir
pabs3 [Thu, 26 Feb 2009 07:14:14 +0000 (07:14 +0000)]
Switch to a version of po/Makefile.in.in that does not ignore --datarootdir

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2351 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years ago#2579838: Apply default fore- or background color to multiple layers
gballintijn [Sat, 21 Feb 2009 13:56:32 +0000 (13:56 +0000)]
#2579838: Apply default fore- or background color to multiple layers
This patch implements the application of the "apply default color" popup
menu in the parameter panel in the case that multiple layers are selected.
Allowing the animator to change the color of multiple layers at once. It
also extends this ability to applying either the foreground color or the
background color.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2347 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoRevert the accidental removal of mod_libavcodec in r2286.
gballintijn [Sat, 21 Feb 2009 00:14:52 +0000 (00:14 +0000)]
Revert the accidental removal of mod_libavcodec in r2286.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2346 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years ago#2577196: Clean up the color dialog code.
gballintijn [Sat, 14 Feb 2009 11:52:50 +0000 (11:52 +0000)]
#2577196: Clean up the color dialog code.
This commit cleans up the code of the color dialog, making it easier to
understand. Specifically, removal of pointless use of a table widget,
some refactoring of the code, some renaming of identifiers, some
reordering of code, some removal of useless include and unused methods,
and the removal of commented out code.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2345 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years ago#2513683: Fix misuse of constructor.
gballintijn [Sat, 14 Feb 2009 11:33:45 +0000 (11:33 +0000)]
#2513683: Fix misuse of constructor.
* Don't abuse the constructor of class Argument as a mere function.
* Don't use an integer value as a boolean flag.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2344 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years ago#2574520: Complete the fix in r2033.
gballintijn [Fri, 13 Feb 2009 16:45:12 +0000 (16:45 +0000)]
#2574520: Complete the fix in r2033.
Add the rest of the types of value nodes that should be ignored by the
curves panel. This patch extends r2033, which fixes issue #2060732.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2343 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix the "Detailed Description" comment to allow Doxygen to generate
gballintijn [Fri, 13 Feb 2009 16:03:29 +0000 (16:03 +0000)]
Fix the "Detailed Description" comment to allow Doxygen to generate
proper HTML.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2341 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAllow the user to set the default foreground and background color
gballintijn [Tue, 3 Feb 2009 00:50:23 +0000 (00:50 +0000)]
Allow the user to set the default foreground and background color
from the color dialog.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2340 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix 2502818: Noise when refresh an imported image layer.
dooglus [Tue, 13 Jan 2009 15:44:10 +0000 (15:44 +0000)]
Fix 2502818: Noise when refresh an imported image layer.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2329 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix strange characters and pango warnings with LC_ALL=fr@euro. Patch & testing by...
pabs3 [Tue, 13 Jan 2009 06:03:12 +0000 (06:03 +0000)]
Fix strange characters and pango warnings with LC_ALL=fr@euro. Patch & testing by Cyril Brulebois (KiBi).

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2328 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix crash with LC_ALL=fr@euro. Patch & testing by Cyril Brulebois (KiBi).
pabs3 [Tue, 13 Jan 2009 06:00:55 +0000 (06:00 +0000)]
Fix crash with LC_ALL=fr@euro. Patch & testing by Cyril Brulebois (KiBi).
Reported in http://synfig.org/forums/viewtopic.php?t=327

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2327 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoWIP
pabs3 [Tue, 13 Jan 2009 05:52:17 +0000 (05:52 +0000)]
WIP

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2326 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAdd some French translation fixes from Cyril Brulebois (KiBi)
pabs3 [Tue, 13 Jan 2009 05:41:26 +0000 (05:41 +0000)]
Add some French translation fixes from Cyril Brulebois (KiBi)

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2325 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoStore the default background color along with the default foreground color.
dooglus [Fri, 26 Dec 2008 15:17:05 +0000 (15:17 +0000)]
Store the default background color along with the default foreground color.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2324 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoWhen creating a 'SolidColor' layer, use the default background color, not foreground.
dooglus [Fri, 26 Dec 2008 15:16:21 +0000 (15:16 +0000)]
When creating a 'SolidColor' layer, use the default background color, not foreground.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2323 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoThere's some special-case code to make exporting a blinepoint actually export its...
dooglus [Fri, 26 Dec 2008 15:15:39 +0000 (15:15 +0000)]
There's some special-case code to make exporting a blinepoint actually export its vertex.  I've #ifdef'ed it out.  Is there a reason to re-enable it?

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2322 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoInitialise the GUID for all Transform objects. Using random GUID values was causing...
dooglus [Fri, 26 Dec 2008 15:14:57 +0000 (15:14 +0000)]
Initialise the GUID for all Transform objects.  Using random GUID values was causing some selected ducks to become unselected when nudged.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2321 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix 2458112: default transform GUIDs to random values, not zero. Initialise the...
dooglus [Mon, 22 Dec 2008 10:28:50 +0000 (10:28 +0000)]
Fix 2458112: default transform GUIDs to random values, not zero.  Initialise the GUID of the transform used in InsideOut to be the layer's guid.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2320 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoTidying.
dooglus [Mon, 22 Dec 2008 10:28:30 +0000 (10:28 +0000)]
Tidying.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2319 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAdd optional debugging for calls to ValueNode_*::operator(). export SYNFIG_DEBUG_VAL...
dooglus [Mon, 22 Dec 2008 10:28:11 +0000 (10:28 +0000)]
Add optional debugging for calls to ValueNode_*::operator().  export SYNFIG_DEBUG_VALUENODE_OPERATORS=1 to enable.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2318 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoRemove spaces and tabs at end of lines.
dooglus [Mon, 22 Dec 2008 10:27:00 +0000 (10:27 +0000)]
Remove spaces and tabs at end of lines.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2317 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoUpdate the SVN revision number in the comment.
dooglus [Thu, 18 Dec 2008 22:20:58 +0000 (22:20 +0000)]
Update the SVN revision number in the comment.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2316 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAdd a 'loop' parameter to the Random valuenode to cause the randomness to repeat...
dooglus [Thu, 18 Dec 2008 21:59:12 +0000 (21:59 +0000)]
Add a 'loop' parameter to the Random valuenode to cause the randomness to repeat after a given time.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2315 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoShow 'done' when done writing a magickpp file.
dooglus [Wed, 17 Dec 2008 21:12:12 +0000 (21:12 +0000)]
Show 'done' when done writing a magickpp file.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2314 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix: Only show 'export' when right-clicking a canvas parameter if it's not already...
dooglus [Wed, 17 Dec 2008 21:06:49 +0000 (21:06 +0000)]
Fix: Only show 'export' when right-clicking a canvas parameter if it's not already exported.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2313 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix 2435346: "Export canvas, save and revert keeps the inline canvas". Use LayerPara...
dooglus [Wed, 17 Dec 2008 21:06:24 +0000 (21:06 +0000)]
Fix 2435346: "Export canvas, save and revert keeps the inline canvas".  Use LayerParamSet instead of LaterParamConnect to set the value of the canvas parameter.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2312 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix 2412072: don't remove a node from the parent set of a linkable valuenode when...
dooglus [Thu, 11 Dec 2008 21:03:30 +0000 (21:03 +0000)]
Fix 2412072: don't remove a node from the parent set of a linkable valuenode when replacing a link if the link is still in use by one of the sibling links.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2311 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix a typo: angle::deg::get() returns a float not a string.
dooglus [Thu, 11 Dec 2008 21:03:10 +0000 (21:03 +0000)]
Fix a typo: angle::deg::get() returns a float not a string.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2310 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoMore renames I missed in SVN r2296.
dooglus [Wed, 3 Dec 2008 17:53:22 +0000 (17:53 +0000)]
More renames I missed in SVN r2296.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2309 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix 2378787: "two waypoints created from a single edit".
dooglus [Wed, 3 Dec 2008 17:52:45 +0000 (17:52 +0000)]
Fix 2378787: "two waypoints created from a single edit".

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2308 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoSVN r2286 accidentally changed the localised name of the Random ValueNode to RandomNo...
dooglus [Sun, 30 Nov 2008 20:56:28 +0000 (20:56 +0000)]
SVN r2286 accidentally changed the localised name of the Random ValueNode to RandomNoise.  This changes it back.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2307 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix 2037732: The warp layer is using a rough way of calculating how much context...
dooglus [Sat, 29 Nov 2008 18:52:07 +0000 (18:52 +0000)]
Fix 2037732: The warp layer is using a rough way of calculating how much context needs rendering.  Any parts it misses are rendered pixel-by-pixel using get_color().  Layer_Duplicate::get_color() wasn't implemented, and so the duplicated layers weren't being rendered.  Now it is.  The warp layer still needs fixing.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2306 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAdd ValueNode "Greyed" for making ducks uneditable.
dooglus [Sat, 29 Nov 2008 12:40:39 +0000 (12:40 +0000)]
Add ValueNode "Greyed" for making ducks uneditable.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2305 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAdd RELEASE_VERSION_0_61_10 to the list.
dooglus [Sat, 29 Nov 2008 12:38:19 +0000 (12:38 +0000)]
Add RELEASE_VERSION_0_61_10 to the list.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2304 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix 1501383: "del key deletes object instead of character". Changed the LayerRemove...
dooglus [Fri, 28 Nov 2008 18:59:40 +0000 (18:59 +0000)]
Fix 1501383: "del key deletes object instead of character".  Changed the LayerRemove shortcut from Delete to CTRL-Delete.  CTRL-x also works.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2303 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoUse the short form for toggle-onion-skin because we can.
dooglus [Fri, 28 Nov 2008 18:59:12 +0000 (18:59 +0000)]
Use the short form for toggle-onion-skin because we can.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2302 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoTidy the layout of the code that sets the keyboard shortcuts.
dooglus [Fri, 28 Nov 2008 18:58:46 +0000 (18:58 +0000)]
Tidy the layout of the code that sets the keyboard shortcuts.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2301 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAnother debugging statement for showing which actions are running when.
dooglus [Fri, 28 Nov 2008 18:58:15 +0000 (18:58 +0000)]
Another debugging statement for showing which actions are running when.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2300 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAdd an option to the circle and star tools setting whether to create the bline origin...
dooglus [Fri, 28 Nov 2008 14:09:06 +0000 (14:09 +0000)]
Add an option to the circle and star tools setting whether to create the bline origins at the center of the created shape or at the origin.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2299 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAfter exporting an inline canvas, set the layer's parameter to be the new exported...
dooglus [Fri, 28 Nov 2008 12:31:41 +0000 (12:31 +0000)]
After exporting an inline canvas, set the layer's parameter to be the new exported canvas valuenode.  Also don't show 'export' as a context menu entry for canvases which have already been exported.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2298 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoComment out a couple of info messages.
dooglus [Fri, 28 Nov 2008 12:31:05 +0000 (12:31 +0000)]
Comment out a couple of info messages.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2297 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoUse the name of each action's class is its internal name. This makes it easier to...
dooglus [Fri, 28 Nov 2008 12:30:26 +0000 (12:30 +0000)]
Use the name of each action's class is its internal name.  This makes it easier to find all references to the action rather than always having to search for both the class name and the internal name.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2296 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoUse localized text when showing action names.
dooglus [Fri, 28 Nov 2008 12:25:21 +0000 (12:25 +0000)]
Use localized text when showing action names.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2295 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAdd matrix.h. Matrix implementation for bones.
genete [Thu, 27 Nov 2008 23:32:38 +0000 (23:32 +0000)]
Add matrix.h. Matrix implementation for bones.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2294 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoRemove 'Vector junk' that I added for testing.
dooglus [Thu, 27 Nov 2008 20:30:01 +0000 (20:30 +0000)]
Remove 'Vector junk' that I added for testing.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2293 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAdd ValueBase::get_string() for debugging. Barely tested, but not used either.
dooglus [Thu, 27 Nov 2008 17:08:11 +0000 (17:08 +0000)]
Add ValueBase::get_string() for debugging.  Barely tested, but not used either.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2292 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix 2353284: If two parameters in the same layer are connected to the same valuenode...
dooglus [Thu, 27 Nov 2008 16:35:24 +0000 (16:35 +0000)]
Fix 2353284: If two parameters in the same layer are connected to the same valuenode and we disconnect one of them, the parent-child relationship for the remaining connection was being deleted.  Now we search the parameter list to see if another parameter uses the same valuenode.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2291 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAdd a new parameter 'focus' to the pastecanvas layer, and use this for the center...
dooglus [Wed, 26 Nov 2008 20:34:06 +0000 (20:34 +0000)]
Add a new parameter 'focus' to the pastecanvas layer, and use this for the center of the layer's zoom operation rather than using the inherited and un-editable 'focus point' as before.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2290 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoUse <= when comparing distances to give priority to the uppermost duck in the event...
dooglus [Wed, 26 Nov 2008 19:22:53 +0000 (19:22 +0000)]
Use <= when comparing distances to give priority to the uppermost duck in the event of a draw.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2289 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoMove the test for whether the duck is the correct type to before the distance calcula...
dooglus [Wed, 26 Nov 2008 19:22:19 +0000 (19:22 +0000)]
Move the test for whether the duck is the correct type to before the distance calculation.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2288 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoCommented info() calls for debugging actions.
dooglus [Wed, 26 Nov 2008 19:21:51 +0000 (19:21 +0000)]
Commented info() calls for debugging actions.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2287 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoRename the Random class in the mod_noise module to RandomNoise to stop it clashing...
dooglus [Wed, 26 Nov 2008 18:33:15 +0000 (18:33 +0000)]
Rename the Random class in the mod_noise module to RandomNoise to stop it clashing with the Random class in mod_particle.  Also rename the files random.h and random.cpp.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2286 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoEdit comment text.
dooglus [Wed, 26 Nov 2008 17:10:50 +0000 (17:10 +0000)]
Edit comment text.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2285 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAdd Duck::type_name() for debugging purposes.
dooglus [Wed, 26 Nov 2008 17:10:18 +0000 (17:10 +0000)]
Add Duck::type_name() for debugging purposes.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2284 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoShow position ducks on top of vertex ducks, then tangent ducks, then the rest. Until...
dooglus [Wed, 26 Nov 2008 17:09:53 +0000 (17:09 +0000)]
Show position ducks on top of vertex ducks, then tangent ducks, then the rest.  Until now the order was random.  And when hovering the mouse over a set of ducks give preference to 'tangent 1' over 'tangent 2'.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2283 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix 2350636: "shift-drag waypoints can create duplicates at a time". Erase the old...
dooglus [Wed, 26 Nov 2008 12:31:45 +0000 (12:31 +0000)]
Fix 2350636: "shift-drag waypoints can create duplicates at a time".  Erase the old waypoint before adding the copy.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2282 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoI forgot to check this in as part of r2271.
dooglus [Wed, 26 Nov 2008 12:31:23 +0000 (12:31 +0000)]
I forgot to check this in as part of r2271.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2281 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoAdd further comments. Add local definition of FLAGS macro instead of using the one...
dooglus [Wed, 26 Nov 2008 12:30:58 +0000 (12:30 +0000)]
Add further comments.  Add local definition of FLAGS macro instead of using the one from color.h.  Remove unused flag checking code.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2280 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoThe previous commit was a little hasty. The focus point is also used when resizing...
dooglus [Tue, 25 Nov 2008 23:27:51 +0000 (23:27 +0000)]
The previous commit was a little hasty.  The focus point is also used when resizing the canvas, to decide which point to keep in the same relative position.  Reverting previous commit.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2279 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoRemove the "Focus Point" setting from the document properties dialog. It's only...
dooglus [Tue, 25 Nov 2008 23:12:59 +0000 (23:12 +0000)]
Remove the "Focus Point" setting from the document properties dialog.  It's only used when zooming pastecanvas layers and isn't even saved to .sifz files, so would be better off as a parameter to the pastecanvas layer itself.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2278 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoInitial Russian Tanslation of Synfig Studio. Thanks to Alexandre Prokoudine
genete [Tue, 25 Nov 2008 23:12:54 +0000 (23:12 +0000)]
Initial Russian Tanslation of Synfig Studio. Thanks to Alexandre Prokoudine

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2277 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoInitial Russian Tanslation of Synfig. Thanks to Alexandre Prokoudine
genete [Tue, 25 Nov 2008 23:09:13 +0000 (23:09 +0000)]
Initial Russian Tanslation of Synfig. Thanks to Alexandre Prokoudine

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2276 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix a bug that only shows up if you use the 'Focus Point' setting in the document...
dooglus [Tue, 25 Nov 2008 22:33:25 +0000 (22:33 +0000)]
Fix a bug that only shows up if you use the 'Focus Point' setting in the document properties dialog.  This is the same a bug 1671884 and bug 1993098, but for the focus point rather than the 'origin' and 'zoom' respectively.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2275 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoTake the 'Focus Point' into account when transforming ducks for layers inside pasteca...
dooglus [Tue, 25 Nov 2008 22:07:47 +0000 (22:07 +0000)]
Take the 'Focus Point' into account when transforming ducks for layers inside pastecanvas layers.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2274 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 years agoFix two copy/paste errors.
dooglus [Tue, 25 Nov 2008 22:07:26 +0000 (22:07 +0000)]
Fix two copy/paste errors.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2273 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoHolding control in the zoom tool when releasing the mouse button to complete drawing...
dooglus [Tue, 25 Nov 2008 15:07:20 +0000 (15:07 +0000)]
Holding control in the zoom tool when releasing the mouse button to complete drawing a box will zoom out such that the currently displayed area is zoomed out to fill the drawn box.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2272 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoAllow waypoints to have their values exported, converted, etc. A work in progress.
dooglus [Tue, 25 Nov 2008 01:23:28 +0000 (01:23 +0000)]
Allow waypoints to have their values exported, converted, etc.  A work in progress.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2271 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoAdd some commented synfig::info() calls to aid debugging the menus of actions.
dooglus [Tue, 25 Nov 2008 01:22:53 +0000 (01:22 +0000)]
Add some commented synfig::info() calls to aid debugging the menus of actions.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2270 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoAlways use absolute paths in the Canvas::externals_ map.
dooglus [Tue, 25 Nov 2008 01:22:35 +0000 (01:22 +0000)]
Always use absolute paths in the Canvas::externals_ map.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2269 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoDefine Canvas::show_externals() when _DEBUG is defined.
dooglus [Tue, 25 Nov 2008 01:22:17 +0000 (01:22 +0000)]
Define Canvas::show_externals() when _DEBUG is defined.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2268 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoDefine CanvasParser::show_canvas_map() when _DEBUG is defined.
dooglus [Tue, 25 Nov 2008 01:21:58 +0000 (01:21 +0000)]
Define CanvasParser::show_canvas_map() when _DEBUG is defined.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2267 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoAdd comments saying not to disable the layer optimization.
dooglus [Tue, 25 Nov 2008 01:21:38 +0000 (01:21 +0000)]
Add comments saying not to disable the layer optimization.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2266 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoFix spelling mistake.
dooglus [Tue, 25 Nov 2008 01:21:19 +0000 (01:21 +0000)]
Fix spelling mistake.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2265 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoFix some compiler warnings.
dooglus [Tue, 25 Nov 2008 01:21:01 +0000 (01:21 +0000)]
Fix some compiler warnings.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2264 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoFix ValueDesc::get_description() to work with const valuenodes.
dooglus [Tue, 25 Nov 2008 01:20:41 +0000 (01:20 +0000)]
Fix ValueDesc::get_description() to work with const valuenodes.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2263 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoFix ValueDesc::get_value_node() so it works with constant valuenodes too.
dooglus [Tue, 25 Nov 2008 01:20:19 +0000 (01:20 +0000)]
Fix ValueDesc::get_value_node() so it works with constant valuenodes too.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2262 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoInclude the example module in the list of modules to load.
dooglus [Sun, 23 Nov 2008 22:50:52 +0000 (22:50 +0000)]
Include the example module in the list of modules to load.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2261 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoFix 2321845: "Save after delete a keyframe crash in a particular file". This bug...
dooglus [Sun, 23 Nov 2008 21:27:12 +0000 (21:27 +0000)]
Fix 2321845: "Save after delete a keyframe crash in a particular file".  This bug was introduced by r2205.  Use canvas->add_value_node() to export values rather than setting the id explicitly.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2260 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoAdd tests for handle::swap() and loose_handle::swap().
dooglus [Sun, 23 Nov 2008 21:26:52 +0000 (21:26 +0000)]
Add tests for handle::swap() and loose_handle::swap().

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2259 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoFix handle<T>::swap() and loose_handle<T>::swap(). I guess the code must not be...
dooglus [Sun, 23 Nov 2008 17:29:55 +0000 (17:29 +0000)]
Fix handle<T>::swap() and loose_handle<T>::swap().  I guess the code must not be used, because it has never worked.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2258 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoFix 2 typos.
dooglus [Sat, 22 Nov 2008 16:24:59 +0000 (16:24 +0000)]
Fix 2 typos.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2257 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoFix 2315706: "Rename Exported Valuenode from imported canvases crash". Stop the...
dooglus [Sat, 22 Nov 2008 15:57:54 +0000 (15:57 +0000)]
Fix 2315706: "Rename Exported Valuenode from imported canvases crash".  Stop the crash, but not a full fix.  Better would be to copy all the exported valuenodes when exporting the imported canvas.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2256 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoAdd function Canvas::register_external_canvas() to allow us to register that a file...
dooglus [Sat, 22 Nov 2008 15:42:23 +0000 (15:42 +0000)]
Add function Canvas::register_external_canvas() to allow us to register that a file references a canvas in an external file.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2255 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoDraw a dotted line box around the rectangle when selected.
dooglus [Sat, 22 Nov 2008 15:41:55 +0000 (15:41 +0000)]
Draw a dotted line box around the rectangle when selected.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2254 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoAdd FilledRect::hit_check() to allow Filled Rectangles to be selected by clicking...
dooglus [Sat, 22 Nov 2008 15:41:21 +0000 (15:41 +0000)]
Add FilledRect::hit_check() to allow Filled Rectangles to be selected by clicking on them.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2253 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoAdd Metaballs::hit_check() so metaballs can be selected by clicking on them.
dooglus [Sat, 22 Nov 2008 15:40:51 +0000 (15:40 +0000)]
Add Metaballs::hit_check() so metaballs can be selected by clicking on them.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2252 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoAdd boolean parameter 'Positive Only' to stop negative affect from large distances.
dooglus [Sat, 22 Nov 2008 15:40:24 +0000 (15:40 +0000)]
Add boolean parameter 'Positive Only' to stop negative affect from large distances.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2251 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoReplace the 'Threshold' parameter with 'Gradient Left' and 'Gradient Right' which...
dooglus [Sat, 22 Nov 2008 15:39:58 +0000 (15:39 +0000)]
Replace the 'Threshold' parameter with 'Gradient Left' and 'Gradient Right' which specify the values which map to each end of the gradient.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2250 1f10aa63-cdf2-0310-b900-c93c546f37ac

16 years agoUse a gradient instead of a color to color the balls.
dooglus [Sat, 22 Nov 2008 15:39:28 +0000 (15:39 +0000)]
Use a gradient instead of a color to color the balls.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2249 1f10aa63-cdf2-0310-b900-c93c546f37ac