synfig.git
17 years agoCompressed .sif files to .sifz to save space.
dooglus [Mon, 17 Sep 2007 20:01:56 +0000 (20:01 +0000)]
Compressed .sif files to .sifz to save space.

git-svn-id: http://svn.voria.com/code@696 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoCompressed .sif to .sifz to save space.
dooglus [Mon, 17 Sep 2007 19:58:43 +0000 (19:58 +0000)]
Compressed .sif to .sifz to save space.

git-svn-id: http://svn.voria.com/code@695 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoUse compression when saving as a .sifz file.
dooglus [Mon, 17 Sep 2007 17:59:01 +0000 (17:59 +0000)]
Use compression when saving as a .sifz file.

git-svn-id: http://svn.voria.com/code@694 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoOops. TCB is called "auto" in the SIF file.
dooglus [Mon, 17 Sep 2007 15:59:35 +0000 (15:59 +0000)]
Oops.  TCB is called "auto" in the SIF file.

git-svn-id: http://svn.voria.com/code@693 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1778930: TCB is the default waypoint type except for angles, which default to...
dooglus [Mon, 17 Sep 2007 15:43:30 +0000 (15:43 +0000)]
Fix 1778930: TCB is the default waypoint type except for angles, which default to linear.  Also fixed a copy/paste typo in an error message.  Still need to get angle waypoints to default to linear interpolation on creation.

git-svn-id: http://svn.voria.com/code@692 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTidying up a little.
dooglus [Mon, 17 Sep 2007 13:51:19 +0000 (13:51 +0000)]
Tidying up a little.

git-svn-id: http://svn.voria.com/code@691 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTypos.
dooglus [Mon, 17 Sep 2007 13:47:16 +0000 (13:47 +0000)]
Typos.

git-svn-id: http://svn.voria.com/code@690 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFixed the View>Play menu entry properly. It now waits for each frame to display...
dooglus [Mon, 17 Sep 2007 13:34:22 +0000 (13:34 +0000)]
Fixed the View>Play menu entry properly.  It now waits for each frame to display before rendering the next one.

git-svn-id: http://svn.voria.com/code@689 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoThe View>Play menu entry now does something. It doesn't work particularly well,...
dooglus [Mon, 17 Sep 2007 12:24:08 +0000 (12:24 +0000)]
The View>Play menu entry now does something.  It doesn't work particularly well, but on simple animations it works.

git-svn-id: http://svn.voria.com/code@688 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoDon't accept an empty input when setting a paste canvas' layer's 'canvas' parameter...
dooglus [Mon, 17 Sep 2007 11:50:46 +0000 (11:50 +0000)]
Don't accept an empty input when setting a paste canvas' layer's 'canvas' parameter using 'other...'.  Doing so causes an infinite loop, much like in bug #1796110.

git-svn-id: http://svn.voria.com/code@687 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1796110: don't try finding the specified canvas when no canvas is specified ...
dooglus [Mon, 17 Sep 2007 11:35:02 +0000 (11:35 +0000)]
Fix 1796110: don't try finding the specified canvas when no canvas is specified (ie. when the user clicks 'cancel' instead of typing a canvas name using 'other...' from a paste canvas layer's "canvas" parameter.

git-svn-id: http://svn.voria.com/code@686 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1796068: when a valuenode changes, ValueNode::on_changed() will now signal all...
dooglus [Mon, 17 Sep 2007 10:04:05 +0000 (10:04 +0000)]
Fix 1796068: when a valuenode changes, ValueNode::on_changed() will now signal all its parent canvases.

git-svn-id: http://svn.voria.com/code@685 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix a copy-paste typo when applying the 'scale' convert type to a color. Previously...
dooglus [Mon, 17 Sep 2007 00:00:20 +0000 (00:00 +0000)]
Fix a copy-paste typo when applying the 'scale' convert type to a color.  Previously the red component was used for R, G, and B in the resulting value.

git-svn-id: http://svn.voria.com/code@684 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1795922: loadcanvas.cpp was special-casing subtract valuenodes when there's no...
dooglus [Sun, 16 Sep 2007 22:52:14 +0000 (22:52 +0000)]
Fix 1795922: loadcanvas.cpp was special-casing subtract valuenodes when there's no need to - the generic code works better.

git-svn-id: http://svn.voria.com/code@683 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1795913. Subtract now works with colors.
dooglus [Sun, 16 Sep 2007 22:06:58 +0000 (22:06 +0000)]
Fix 1795913.  Subtract now works with colors.

git-svn-id: http://svn.voria.com/code@682 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRearranged a bit so I can see what's missing.
dooglus [Sun, 16 Sep 2007 22:05:46 +0000 (22:05 +0000)]
Rearranged a bit so I can see what's missing.

git-svn-id: http://svn.voria.com/code@681 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoI'm working on bug 1779592. The problem is related to the 'no_egress_on_selection_ch...
dooglus [Sun, 16 Sep 2007 19:28:39 +0000 (19:28 +0000)]
I'm working on bug 1779592.  The problem is related to the 'no_egress_on_selection_change' variable, and the double-negatives aren't making things any less confusing.  So I renamed it to 'egress_on_selection_change' instead, and changed the sense of its value.

git-svn-id: http://svn.voria.com/code@680 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1383736: use absolute pathnames when setting up Gtk file selector dialogs.
dooglus [Sun, 16 Sep 2007 17:47:23 +0000 (17:47 +0000)]
Fix 1383736: use absolute pathnames when setting up Gtk file selector dialogs.

git-svn-id: http://svn.voria.com/code@679 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1795802: Fixed a crash in the animated gradient code I wrote yesterday. Added...
dooglus [Sun, 16 Sep 2007 14:11:39 +0000 (14:11 +0000)]
Fix 1795802: Fixed a crash in the animated gradient code I wrote yesterday.  Added comments.  Added code to animate 'hidden' cpoints (ie. when there are more than 2 cpoints in the same place in a gradient).

git-svn-id: http://svn.voria.com/code@678 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoMultiplying a gradient by zero empties it.
dooglus [Sun, 16 Sep 2007 00:54:26 +0000 (00:54 +0000)]
Multiplying a gradient by zero empties it.

git-svn-id: http://svn.voria.com/code@677 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1568818: Animate gradients.
dooglus [Sat, 15 Sep 2007 20:11:31 +0000 (20:11 +0000)]
Fix 1568818: Animate gradients.

git-svn-id: http://svn.voria.com/code@676 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1568818: Define mathematical operators so that we can animate gradients.
dooglus [Sat, 15 Sep 2007 20:10:31 +0000 (20:10 +0000)]
Partially fix 1568818: Define mathematical operators so that we can animate gradients.

git-svn-id: http://svn.voria.com/code@675 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1568818: Declare mathematical operators so that we can animate gradient...
dooglus [Sat, 15 Sep 2007 20:06:08 +0000 (20:06 +0000)]
Partially fix 1568818: Declare mathematical operators so that we can animate gradients over time.

git-svn-id: http://svn.voria.com/code@674 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoI'm told that it's a bad idea to inherit from std::vector (because it has no virtual...
dooglus [Sat, 15 Sep 2007 07:56:41 +0000 (07:56 +0000)]
I'm told that it's a bad idea to inherit from std::vector (because it has no virtual destructor), so use a vector member variable instead.

git-svn-id: http://svn.voria.com/code@673 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoMade a few more of the member variables in class WorkArea private.
dooglus [Fri, 14 Sep 2007 22:34:53 +0000 (22:34 +0000)]
Made a few more of the member variables in class WorkArea private.

git-svn-id: http://svn.voria.com/code@672 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1794374 for 'gradient rotate' valuenodes.
dooglus [Fri, 14 Sep 2007 15:45:10 +0000 (15:45 +0000)]
Fix 1794374 for 'gradient rotate' valuenodes.

git-svn-id: http://svn.voria.com/code@671 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1794374 for 'repeat gradient' valuenodes.
dooglus [Fri, 14 Sep 2007 15:38:38 +0000 (15:38 +0000)]
Fix 1794374 for 'repeat gradient' valuenodes.

git-svn-id: http://svn.voria.com/code@670 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoSome member variables were public, but never used publically. Made them private...
dooglus [Fri, 14 Sep 2007 13:15:06 +0000 (13:15 +0000)]
Some member variables were public, but never used publically.  Made them private instead to make it clearer how they can be modified.

git-svn-id: http://svn.voria.com/code@669 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1794006: when removing a CPoint, signal that the gradient changed, so things...
dooglus [Fri, 14 Sep 2007 01:33:11 +0000 (01:33 +0000)]
Fix 1794006: when removing a CPoint, signal that the gradient changed, so things can be redrawn.

git-svn-id: http://svn.voria.com/code@668 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAllow the user to specify the start and end colors when repeating a gradient.
dooglus [Thu, 13 Sep 2007 22:31:57 +0000 (22:31 +0000)]
Allow the user to specify the start and end colors when repeating a gradient.

git-svn-id: http://svn.voria.com/code@667 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdd a new type of valuenode conversion for gradients: "repeat gradient" which lets...
dooglus [Thu, 13 Sep 2007 16:53:01 +0000 (16:53 +0000)]
Add a new type of valuenode conversion for gradients: "repeat gradient" which lets you loop a gradient a specified number of times.  See wiki.synfig.com/Convert#Repeat_Gradient .

git-svn-id: http://svn.voria.com/code@666 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoSpelling corrections.
dooglus [Thu, 13 Sep 2007 14:54:42 +0000 (14:54 +0000)]
Spelling corrections.

git-svn-id: http://svn.voria.com/code@665 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoSpelling corrections.
dooglus [Thu, 13 Sep 2007 14:51:21 +0000 (14:51 +0000)]
Spelling corrections.

git-svn-id: http://svn.voria.com/code@664 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoWhen a curve gradient layer's bline is looped and perpendicular is checked, spread...
dooglus [Thu, 13 Sep 2007 12:44:31 +0000 (12:44 +0000)]
When a curve gradient layer's bline is looped and perpendicular is checked, spread the gradient over the entire loop.  Previously the last bline wasn't used.

git-svn-id: http://svn.voria.com/code@663 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdd some changes to NEWS
pabs [Thu, 13 Sep 2007 07:54:38 +0000 (07:54 +0000)]
Add some changes to NEWS

git-svn-id: http://svn.voria.com/code@662 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdd some changes to NEWS
pabs [Thu, 13 Sep 2007 07:44:43 +0000 (07:44 +0000)]
Add some changes to NEWS

git-svn-id: http://svn.voria.com/code@661 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdd some changes to NEWS
pabs [Thu, 13 Sep 2007 07:36:56 +0000 (07:36 +0000)]
Add some changes to NEWS

git-svn-id: http://svn.voria.com/code@660 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoA few more typos.
dooglus [Wed, 12 Sep 2007 21:01:33 +0000 (21:01 +0000)]
A few more typos.

git-svn-id: http://svn.voria.com/code@659 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoSince the last change will require a recompilation of pretty much everything, I took...
dooglus [Wed, 12 Sep 2007 20:36:47 +0000 (20:36 +0000)]
Since the last change will require a recompilation of pretty much everything, I took this opportunity to fix some spelling mistakes that were annoying me.

git-svn-id: http://svn.voria.com/code@658 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1793306: dirname() doesn't work on absolute paths. Also fixed basename(). Fixed...
dooglus [Wed, 12 Sep 2007 20:14:25 +0000 (20:14 +0000)]
Fix 1793306: dirname() doesn't work on absolute paths.  Also fixed basename().  Fixed a potentially infinite loop, and a couple of other small changes.

git-svn-id: http://svn.voria.com/code@657 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1792063: problem with curve gradients when a vertex has split tangents which...
dooglus [Wed, 12 Sep 2007 01:38:05 +0000 (01:38 +0000)]
Fix 1792063: problem with curve gradients when a vertex has split tangents which are almost parallel to each other.

git-svn-id: http://svn.voria.com/code@656 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoReinstate the -Wno-unused-parameter flag, because when building a non-debug build...
dooglus [Wed, 12 Sep 2007 00:24:18 +0000 (00:24 +0000)]
Reinstate the -Wno-unused-parameter flag, because when building a non-debug build, the 'assert()'s don't get compiled, leading to a whole lot of warnings about an unused parameter in value.h.

git-svn-id: http://svn.voria.com/code@655 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdded a few comments.
dooglus [Tue, 11 Sep 2007 20:07:59 +0000 (20:07 +0000)]
Added a few comments.

git-svn-id: http://svn.voria.com/code@654 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoMove the 'Simple Text' into the 'Other' menu, rather than having it in a menu of...
dooglus [Mon, 10 Sep 2007 23:31:45 +0000 (23:31 +0000)]
Move the 'Simple Text' into the 'Other' menu, rather than having it in a menu of its own.  And rename it "Text", since we don't have any non-simple text layer.

git-svn-id: http://svn.voria.com/code@653 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRearranged "if (!x) a; else b;" to "if (x) b; else a;". Added a couple of comments...
dooglus [Mon, 10 Sep 2007 23:00:31 +0000 (23:00 +0000)]
Rearranged "if (!x) a; else b;" to "if (x) b; else a;".  Added a couple of comments.  No real changes.

git-svn-id: http://svn.voria.com/code@652 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoThe icons are in $SYNFIG_ROOT/share/pixmaps/synfigstudio/ now, not $SYNFIG_ROOT/share...
dooglus [Mon, 10 Sep 2007 20:13:40 +0000 (20:13 +0000)]
The icons are in $SYNFIG_ROOT/share/pixmaps/synfigstudio/ now, not $SYNFIG_ROOT/share/pixmaps/.  Updated the code which uses the SYNFIG_ROOT environment variable to locate them.  It shouldn't be necessary to set SYNFIG_ROOT, in which case this fix will have no effect, but setting it shouldn't break things like it currently does.

git-svn-id: http://svn.voria.com/code@651 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoShow basic motion blur even in the workarea display; ie. show the current frame and...
dooglus [Mon, 10 Sep 2007 16:54:18 +0000 (16:54 +0000)]
Show basic motion blur even in the workarea display; ie. show the current frame and the (time-aperture) frame only.  Don't use any future frames to generate the blur, only past frames.  Make older frames contribute less to the blur than newer frames - ie. the blur decays linearly, rather than not decaying at all.

git-svn-id: http://svn.voria.com/code@650 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdded a comment about the strange fudge factor in the previous versions of the plant...
dooglus [Mon, 10 Sep 2007 01:38:21 +0000 (01:38 +0000)]
Added a comment about the strange fudge factor in the previous versions of the plant layer code.

git-svn-id: http://svn.voria.com/code@649 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoDefault the plant layer's Perpendicular Velocity to zero, for compatibility with...
dooglus [Mon, 10 Sep 2007 01:22:14 +0000 (01:22 +0000)]
Default the plant layer's Perpendicular Velocity to zero, for compatibility with older .sif files.

git-svn-id: http://svn.voria.com/code@648 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoMade a comment about some compiler warnings that I don't yet understand.
dooglus [Mon, 10 Sep 2007 01:10:13 +0000 (01:10 +0000)]
Made a comment about some compiler warnings that I don't yet understand.

git-svn-id: http://svn.voria.com/code@647 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTime Plant::sync(). Display timing information if it takes a long time. Show progre...
dooglus [Sun, 9 Sep 2007 23:40:44 +0000 (23:40 +0000)]
Time Plant::sync().  Display timing information if it takes a long time.  Show progress after every million particles.  Use antialiasing on rendered plants.  See dooglus.rincevent.net/synfig/plant-before-646.png and http://dooglus.rincevent.net/synfig/plant-after-646.png for before and after shots, rendered from http://dooglus.rincevent.net/synfig/plant-646.sif .  Thin lines were being completely lost before this change.

git-svn-id: http://svn.voria.com/code@646 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoIn the plant layer, don't stunt growth at all when random factor is zero.
dooglus [Sun, 9 Sep 2007 23:05:17 +0000 (23:05 +0000)]
In the plant layer, don't stunt growth at all when random factor is zero.

git-svn-id: http://svn.voria.com/code@645 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1790903: Fixed the problem with the plant layer leaving outlines around...
dooglus [Sun, 9 Sep 2007 09:26:58 +0000 (09:26 +0000)]
Partially fix 1790903: Fixed the problem with the plant layer leaving outlines around each 64x64 rendered tile.  Didn't yet fix the lack of anti-aliasing for larger particles mentioned in the same bug report.

git-svn-id: http://svn.voria.com/code@644 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdded a new parameter to the plant layer, "Perpendicular Velocity" which controls...
dooglus [Sun, 9 Sep 2007 08:17:34 +0000 (08:17 +0000)]
Added a new parameter to the plant layer, "Perpendicular Velocity" which controls how much the growth happens at right angles to the bline tangent.  ( eg. dooglus.rincevent.net/synfig/plant2.png )

git-svn-id: http://svn.voria.com/code@643 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoSuccessfully fixed speling mistakes.
dooglus [Sun, 9 Sep 2007 00:32:16 +0000 (00:32 +0000)]
Successfully fixed speling mistakes.

git-svn-id: http://svn.voria.com/code@642 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoShow 'info' messages during the sync()ing of large plants - one message for every...
dooglus [Sat, 8 Sep 2007 23:59:52 +0000 (23:59 +0000)]
Show 'info' messages during the sync()ing of large plants - one message for every million particles.  Added descriptions for each of the parameters.  Added more comments.  Tidied up.

git-svn-id: http://svn.voria.com/code@641 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoSpread the sprouts out evenly along each bline. Previously they appeared at both...
dooglus [Sat, 8 Sep 2007 23:35:18 +0000 (23:35 +0000)]
Spread the sprouts out evenly along each bline.  Previously they appeared at both ends of each bline segment, resulting in double sprouts at each internal blinepoint.  Added a few comments.  Tidied up a little.  Oh, and apply the 'random_factor' parameter when calculating 'stunt_growth', too.  Setting random_factor to 0 will unstunt all growth.

git-svn-id: http://svn.voria.com/code@640 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoDon't keep trying to sync() a plant layer if its bline has less than 2 points.
dooglus [Sat, 8 Sep 2007 23:24:40 +0000 (23:24 +0000)]
Don't keep trying to sync() a plant layer if its bline has less than 2 points.

git-svn-id: http://svn.voria.com/code@639 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPlant::sync() doesn't need to be public.
dooglus [Sat, 8 Sep 2007 23:18:02 +0000 (23:18 +0000)]
Plant::sync() doesn't need to be public.

git-svn-id: http://svn.voria.com/code@638 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdded a comment questioning one of the Random::operator() methods.
dooglus [Sat, 8 Sep 2007 23:16:30 +0000 (23:16 +0000)]
Added a comment questioning one of the Random::operator() methods.

git-svn-id: http://svn.voria.com/code@637 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoUse an enumeration type rather than unnamed integers to specify the different types...
dooglus [Sat, 8 Sep 2007 23:12:50 +0000 (23:12 +0000)]
Use an enumeration type rather than unnamed integers to specify the different types of random numbers.

git-svn-id: http://svn.voria.com/code@636 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPut a mutex around Plant::sync() to stop 2 threads running it at the same time. ...
dooglus [Sat, 8 Sep 2007 23:03:11 +0000 (23:03 +0000)]
Put a mutex around Plant::sync() to stop 2 threads running it at the same time.  This was causing crashes.  The same probably needs doing to most of the other layers, too.

git-svn-id: http://svn.voria.com/code@635 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdded a #warning about some bad code in an unused source file, just in case it ever...
dooglus [Sat, 8 Sep 2007 16:33:16 +0000 (16:33 +0000)]
Added a #warning about some bad code in an unused source file, just in case it ever gets used.

git-svn-id: http://svn.voria.com/code@634 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoMark ETL/status and ETL/_status.h as unused.
dooglus [Sat, 8 Sep 2007 16:02:24 +0000 (16:02 +0000)]
Mark ETL/status and ETL/_status.h as unused.

git-svn-id: http://svn.voria.com/code@633 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRemove the -Wno-unused-parameter flag from the compile options now that it won't...
dooglus [Sat, 8 Sep 2007 15:58:43 +0000 (15:58 +0000)]
Remove the -Wno-unused-parameter flag from the compile options now that it won't generate hundreds of warnings.

git-svn-id: http://svn.voria.com/code@632 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPrevent compiler warnings about unused parameters.
dooglus [Sat, 8 Sep 2007 15:33:07 +0000 (15:33 +0000)]
Prevent compiler warnings about unused parameters.

git-svn-id: http://svn.voria.com/code@631 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAnother case of initialising a variable from itself - but this time it's commented...
dooglus [Fri, 7 Sep 2007 23:33:19 +0000 (23:33 +0000)]
Another case of initialising a variable from itself - but this time it's commented out.  Added a note not to uncomment it.

git-svn-id: http://svn.voria.com/code@630 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRemoved unused parameters.
dooglus [Fri, 7 Sep 2007 23:05:02 +0000 (23:05 +0000)]
Removed unused parameters.

git-svn-id: http://svn.voria.com/code@629 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPrevent a compiler warning about uninitialised variables. Added a few comments and...
dooglus [Fri, 7 Sep 2007 22:15:35 +0000 (22:15 +0000)]
Prevent a compiler warning about uninitialised variables.  Added a few comments and rearranged things a little.  No functional differences.

git-svn-id: http://svn.voria.com/code@628 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoThis looks like a typo. I don't think this function is ever used, anyway (other...
dooglus [Fri, 7 Sep 2007 20:59:34 +0000 (20:59 +0000)]
This looks like a typo.  I don't think this function is ever used, anyway (other than by a few other functions which are never used (other than by a few functions that ...)).

git-svn-id: http://svn.voria.com/code@627 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix a couple of compiler warnings ("passing 'float' for argument 1 to 'void Pango...
dooglus [Fri, 7 Sep 2007 19:58:47 +0000 (19:58 +0000)]
Fix a couple of compiler warnings ("passing 'float' for argument 1 to 'void Pango::FontDescription::set_size(int)" twice)

git-svn-id: http://svn.voria.com/code@626 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPrevent a compiler warning. (variable 'mag' is used uninitialised if iterations...
dooglus [Fri, 7 Sep 2007 19:38:04 +0000 (19:38 +0000)]
Prevent a compiler warning.  (variable 'mag' is used uninitialised if iterations is less than 1)

git-svn-id: http://svn.voria.com/code@625 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPrevent a compiler warning. (variable mag is used uninitialised if iterations is...
dooglus [Fri, 7 Sep 2007 19:36:50 +0000 (19:36 +0000)]
Prevent a compiler warning.  (variable mag is used uninitialised if iterations is set to zero or less).

git-svn-id: http://svn.voria.com/code@624 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFixed another instance of the bug which was causing the plant layer to break. When...
dooglus [Fri, 7 Sep 2007 19:31:50 +0000 (19:31 +0000)]
Fixed another instance of the bug which was causing the plant layer to break.  When initialising a variable at the same time as declaring it, it's not possible to use the previous variable of the same name in the initialiser.

git-svn-id: http://svn.voria.com/code@623 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTidying.
dooglus [Fri, 7 Sep 2007 19:13:08 +0000 (19:13 +0000)]
Tidying.

git-svn-id: http://svn.voria.com/code@622 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAllow plant blines to have 2 points in them. Previously a minimum of 3 was enforced...
dooglus [Fri, 7 Sep 2007 19:11:48 +0000 (19:11 +0000)]
Allow plant blines to have 2 points in them.  Previously a minimum of 3 was enforced, even though the comment says "Bline must have at least 2 points in it".

git-svn-id: http://svn.voria.com/code@621 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix the 'plant' layer.
dooglus [Fri, 7 Sep 2007 19:10:48 +0000 (19:10 +0000)]
Fix the 'plant' layer.

git-svn-id: http://svn.voria.com/code@620 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPrevent a warning from the compiler. It warns that "loadcanvas.cpp:349: warning...
dooglus [Fri, 7 Sep 2007 19:07:50 +0000 (19:07 +0000)]
Prevent a warning from the compiler.  It warns that "loadcanvas.cpp:349: warning: 'color.synfig::Color::r_' may be used uninitialized in this function" (and g_, b_ and a_, too), whereas so long as the .sif file isn't corrupted, this won't happen.

git-svn-id: http://svn.voria.com/code@619 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTidying.
dooglus [Thu, 6 Sep 2007 15:51:08 +0000 (15:51 +0000)]
Tidying.

git-svn-id: http://svn.voria.com/code@618 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAllow the 'linear' convert type to work with colors and integers, like the 'timed...
dooglus [Thu, 6 Sep 2007 14:38:51 +0000 (14:38 +0000)]
Allow the 'linear' convert type to work with colors and integers, like the 'timed swap' one does.  Change the initial values when converting to 'linear' such that the 'rate' is zero and the 'offset' is the previous value of the parameter being converted.  Also did some general tidying up.

git-svn-id: http://svn.voria.com/code@617 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoOops! That last commit was completely wrong. Reverting it.
dooglus [Thu, 6 Sep 2007 14:05:07 +0000 (14:05 +0000)]
Oops!  That last commit was completely wrong.  Reverting it.

git-svn-id: http://svn.voria.com/code@616 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoDon't include header files that aren't needed.
dooglus [Thu, 6 Sep 2007 14:01:46 +0000 (14:01 +0000)]
Don't include header files that aren't needed.

git-svn-id: http://svn.voria.com/code@615 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoDon't include unnecessary header files.
dooglus [Thu, 6 Sep 2007 13:36:59 +0000 (13:36 +0000)]
Don't include unnecessary header files.

git-svn-id: http://svn.voria.com/code@614 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRemove the parse_timedswap() hack.
dooglus [Thu, 6 Sep 2007 13:35:19 +0000 (13:35 +0000)]
Remove the parse_timedswap() hack.

git-svn-id: http://svn.voria.com/code@613 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRemove the parse_timedswap() hack.
dooglus [Thu, 6 Sep 2007 13:30:26 +0000 (13:30 +0000)]
Remove the parse_timedswap() hack.

git-svn-id: http://svn.voria.com/code@612 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTimedSwap valuenodes shouldn't be marked as directly editable.
dooglus [Thu, 6 Sep 2007 13:27:11 +0000 (13:27 +0000)]
TimedSwap valuenodes shouldn't be marked as directly editable.

git-svn-id: http://svn.voria.com/code@611 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix and re-enable the "Timed Swap" convert. Prevent loadcanvas from converting ...
dooglus [Thu, 6 Sep 2007 11:27:43 +0000 (11:27 +0000)]
Fix and re-enable the "Timed Swap" convert.  Prevent loadcanvas from converting "Timed Swap" valuenodes to waypoints.

git-svn-id: http://svn.voria.com/code@610 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdded a new member "bool same_type_as(const Type testtype)const".
dooglus [Thu, 6 Sep 2007 11:26:20 +0000 (11:26 +0000)]
Added a new member "bool same_type_as(const Type testtype)const".

git-svn-id: http://svn.voria.com/code@609 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoMake the #defines for ADD_VALUENODE and ADD_VALUENODE2 more readable.
dooglus [Thu, 6 Sep 2007 07:52:31 +0000 (07:52 +0000)]
Make the #defines for ADD_VALUENODE and ADD_VALUENODE2 more readable.

git-svn-id: http://svn.voria.com/code@608 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoUse "Segment Vertex" and "Segment Tangent" instead of the more obscure "Seg Calc...
dooglus [Wed, 5 Sep 2007 21:41:19 +0000 (21:41 +0000)]
Use "Segment Vertex" and "Segment Tangent" instead of the more obscure "Seg Calc Vertex" and "Seg Calc Tangent" in the GUI.

git-svn-id: http://svn.voria.com/code@607 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRemoved the little 'x' marks I was using to check off each of the classes as I fixed...
dooglus [Wed, 5 Sep 2007 16:00:02 +0000 (16:00 +0000)]
Removed the little 'x' marks I was using to check off each of the classes as I fixed them!  Note to self: try compiling changes just before committing!

git-svn-id: http://svn.voria.com/code@606 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoUse translatable, 'human readable' strings when displaying the valuenode types (eg...
dooglus [Wed, 5 Sep 2007 15:57:41 +0000 (15:57 +0000)]
Use translatable, 'human readable' strings when displaying the valuenode types (eg. in the 'Convert' menu).

git-svn-id: http://svn.voria.com/code@605 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTidying.
dooglus [Wed, 5 Sep 2007 14:29:02 +0000 (14:29 +0000)]
Tidying.

[fixed a bug that was introduced in r602]

git-svn-id: http://svn.voria.com/code@604 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTidying.
dooglus [Wed, 5 Sep 2007 14:22:52 +0000 (14:22 +0000)]
Tidying.

git-svn-id: http://svn.voria.com/code@603 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTidying.
dooglus [Wed, 5 Sep 2007 14:16:01 +0000 (14:16 +0000)]
Tidying.

[introduced a bug that was fixed in r604]

git-svn-id: http://svn.voria.com/code@602 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTidying.
dooglus [Wed, 5 Sep 2007 14:04:03 +0000 (14:04 +0000)]
Tidying.

git-svn-id: http://svn.voria.com/code@601 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoExporting a constant (non-animated) value, then renaming it, then viewing it in the...
dooglus [Wed, 5 Sep 2007 11:48:48 +0000 (11:48 +0000)]
Exporting a constant (non-animated) value, then renaming it, then viewing it in the Children dialog causes a crash.  The Children dialog wasn't updating itself when constant values were renamed.  Now it does.

git-svn-id: http://svn.voria.com/code@600 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoMinor code layout tidying.
dooglus [Wed, 5 Sep 2007 11:23:59 +0000 (11:23 +0000)]
Minor code layout tidying.

git-svn-id: http://svn.voria.com/code@599 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoThe XOR Pattern layer now has 'Z Depth', 'Amount' and 'Blend Method' parameters....
dooglus [Tue, 4 Sep 2007 22:31:56 +0000 (22:31 +0000)]
The XOR Pattern layer now has 'Z Depth', 'Amount' and 'Blend Method' parameters.  And why not?

git-svn-id: http://svn.voria.com/code@598 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix a bug introduced by r590. The name of the paste_canvas later (which was PasteCan...
dooglus [Tue, 4 Sep 2007 22:01:16 +0000 (22:01 +0000)]
Fix a bug introduced by r590.  The name of the paste_canvas later (which was PasteCanvas and is now paste_canvas) is used in several places throughout the code.

git-svn-id: http://svn.voria.com/code@597 1f10aa63-cdf2-0310-b900-c93c546f37ac