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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
dooglus [Tue, 4 Sep 2007 17:32:42 +0000 (17:32 +0000)]
Use "Size As Alpha" as parameter name, not "SizeAsAlpha".
git-svn-id: http://svn.voria.com/code@596
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 17:31:54 +0000 (17:31 +0000)]
Use "ZigZag" not "Zig-Zag", like in other gradient layers.
git-svn-id: http://svn.voria.com/code@595
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 17:26:08 +0000 (17:26 +0000)]
Typo.
git-svn-id: http://svn.voria.com/code@594
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 16:14:09 +0000 (16:14 +0000)]
Display spaces in layer names: "Time Loop" and "Luma Key".
git-svn-id: http://svn.voria.com/code@593
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 16:10:32 +0000 (16:10 +0000)]
The duck was moving the XOR pattern in the wrong direction. Fixed it.
git-svn-id: http://svn.voria.com/code@592
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 16:09:07 +0000 (16:09 +0000)]
Use lower_case "xor_pattern" in .sif files rather than "XORPattern".
git-svn-id: http://svn.voria.com/code@591
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 15:56:59 +0000 (15:56 +0000)]
Use lower_case instead of UpperCase in .sif files for layer types for these 3: SolidColor -> solid_color; PasteCanvas -> paste_canvas; MotionBlur -> motion_blur. Added aliases so old .sif files will be silently converted.
[introduced a bug that was fixed in r597]
git-svn-id: http://svn.voria.com/code@590
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 15:38:18 +0000 (15:38 +0000)]
Move 'Paste Canvas' and 'Plant' into the 'Other' menu, rather than having them in their own individual submenus.
git-svn-id: http://svn.voria.com/code@589
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 15:31:00 +0000 (15:31 +0000)]
Display as 'Checkerboard' rather than 'CheckerBoard'.
git-svn-id: http://svn.voria.com/code@588
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 15:29:22 +0000 (15:29 +0000)]
Display as 'Halftone 2' and 'Halftone 3' rather than 'Halftone2' and 'Halftone3'.
git-svn-id: http://svn.voria.com/code@587
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 15:28:09 +0000 (15:28 +0000)]
Display as 'Inside Out' not 'InsideOut'.
git-svn-id: http://svn.voria.com/code@586
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 13:22:58 +0000 (13:22 +0000)]
Enable the draw, sketch and polygon tools by default. They can be disabled by setting an environment variable SYNFIG_DISABLE_{DRAW,SKETCH,POLYGON}.
git-svn-id: http://svn.voria.com/code@585
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 12:18:12 +0000 (12:18 +0000)]
Rename class lyr_freetype to Layer_Freetype. All other layer classes begin with uppercase letters.
git-svn-id: http://svn.voria.com/code@584
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 11:40:01 +0000 (11:40 +0000)]
A more up-to-date version of this file is in synfig-core/src/modules/mod_gradient/radialgradient.cpp. This version isn't used.
git-svn-id: http://svn.voria.com/code@583
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 4 Sep 2007 10:01:53 +0000 (10:01 +0000)]
Make the 'open recent' menu escape '_' characters.
git-svn-id: http://svn.voria.com/code@582
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Tue, 4 Sep 2007 04:03:38 +0000 (04:03 +0000)]
Apply 1787437: fix typo in the canvas menu. Patch from Chris Norman (pxegeek).
git-svn-id: http://svn.voria.com/code@581
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 3 Sep 2007 22:59:25 +0000 (22:59 +0000)]
Add an 'auto-export' checkbox and an auto-incrementing text entry box to the draw tool options to allow drawn lines to be named and optionally exported as they are drawn (like in the bline tool).
git-svn-id: http://svn.voria.com/code@580
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 3 Sep 2007 20:10:23 +0000 (20:10 +0000)]
Change the displayed name of this action from 'Connect' to 'Add Waypoint'. Maybe 'Set Waypoint' would be better? I'm not sure exactly how the various waypoint actions differ.
git-svn-id: http://svn.voria.com/code@579
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 3 Sep 2007 19:13:34 +0000 (19:13 +0000)]
Rename ValueBase::same_as() to ValueBase::same_type_as(), since it compares types, not values.
git-svn-id: http://svn.voria.com/code@578
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 3 Sep 2007 14:36:42 +0000 (14:36 +0000)]
This can't be right, can it?
git-svn-id: http://svn.voria.com/code@577
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 3 Sep 2007 14:29:48 +0000 (14:29 +0000)]
Changed the sense of the 'do_not_muck_with_time' boolean. Let's not have flags with negative names!
git-svn-id: http://svn.voria.com/code@576
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 3 Sep 2007 11:38:06 +0000 (11:38 +0000)]
Prevent a crash when copying a PasteCanvas before defining its canvas parameter.
git-svn-id: http://svn.voria.com/code@575
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 3 Sep 2007 11:05:50 +0000 (11:05 +0000)]
Completes fix of 1785296: If a waypoint has <animated type="canvas">, then just save a reference to the canvas rather than duplicating the entire canvas in the .sif file. The canvas will have already been written to the <defs> section so we don't need to write it again.
git-svn-id: http://svn.voria.com/code@574
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 3 Sep 2007 10:52:08 +0000 (10:52 +0000)]
Partially fix 1785296: Allow waypoints to refer to canvases, for example: <waypoint time="1s" use="canvas1"/>
git-svn-id: http://svn.voria.com/code@573
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 3 Sep 2007 00:17:29 +0000 (00:17 +0000)]
Typo.
git-svn-id: http://svn.voria.com/code@572
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 3 Sep 2007 00:12:51 +0000 (00:12 +0000)]
Reordered the blend method definitions to appear in the same order as in the menu (and in paramdesc.cpp). Fixed a few comments.
git-svn-id: http://svn.voria.com/code@571
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 31 Aug 2007 22:40:01 +0000 (22:40 +0000)]
Fix 1785598: studio crash when marking all Bline vertices as Off. The previous fix wasn't enough. More work is needed on this file, but it's not exactly clear how best to interpolate the appearance and disappearance of bline points.
git-svn-id: http://svn.voria.com/code@570
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 31 Aug 2007 20:24:52 +0000 (20:24 +0000)]
Fix 1785598: studio crash when marking all Bline vertices as Off. Don't attempt to draw an outline that contains no verticies.
git-svn-id: http://svn.voria.com/code@569
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 31 Aug 2007 13:12:31 +0000 (13:12 +0000)]
Fix 1780016. Right-clicking in the Children dialog no longer crashes studio.
git-svn-id: http://svn.voria.com/code@568
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 31 Aug 2007 08:51:00 +0000 (08:51 +0000)]
Allow the spacing of the rows in the Timetrack dialog to be specified using environment variables. I use large fonts, which seems to cause the Timetrack rows not to correspond with the PAram dialog rows unless I specify:
export SYNFIG_TIMETRACK_ROW_HEIGHT=21
export SYNFIG_TIMETRACK_HEADER_HEIGHT=30
git-svn-id: http://svn.voria.com/code@567
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 30 Aug 2007 22:43:22 +0000 (22:43 +0000)]
Prevent a crash when clicking in the workarea after adding a PasteCanvas but not defining its canvas parameter.
git-svn-id: http://svn.voria.com/code@566
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 30 Aug 2007 22:40:40 +0000 (22:40 +0000)]
Prevent a crash when saving a PasteCanvas with no canvas specified.
git-svn-id: http://svn.voria.com/code@565
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 30 Aug 2007 16:25:26 +0000 (16:25 +0000)]
Typo.
git-svn-id: http://svn.voria.com/code@564
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 30 Aug 2007 01:10:34 +0000 (01:10 +0000)]
Forgot to include these 2 in the last commit. Implement new method toggle_select_ducks_in_box().
git-svn-id: http://svn.voria.com/code@563
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 30 Aug 2007 01:07:54 +0000 (01:07 +0000)]
When dragging a box around some ducks, holding SHIFT adds the surrounded ducks to the selection, CTRL toggles them, SHIFT+CTRL unselects them, and holding no keys will cancel the existing selection and leave just the surrounded ducks selected. Previously CTRL and SHIFT both did the same thing (adding to the selection).
git-svn-id: http://svn.voria.com/code@562
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 30 Aug 2007 00:42:02 +0000 (00:42 +0000)]
Only use CTRL to toggle ducks on and off by clicking on them. Previously both CTRL and SHIFT were doing the same job. This frees up SHIFT to be used elsewhere.
git-svn-id: http://svn.voria.com/code@561
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 29 Aug 2007 17:07:24 +0000 (17:07 +0000)]
Feature request 1781331: Use shift key to manipulate ducks. It is now possible to split a tangent by shift-dragging its duck, but currently only for existing blines. The feature isn't yet implemented while in the bline tool itself.
git-svn-id: http://svn.voria.com/code@560
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 28 Aug 2007 19:01:51 +0000 (19:01 +0000)]
Use pabs' trick from r558 to fix the tool names in the 'state' menu.
git-svn-id: http://svn.voria.com/code@559
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Mon, 27 Aug 2007 00:21:24 +0000 (00:21 +0000)]
Fix the tooltips on the toolbox buttons for all the different tools.
git-svn-id: http://svn.voria.com/code@558
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Mon, 27 Aug 2007 00:20:15 +0000 (00:20 +0000)]
Switch from Ok, Cancel to Cancel, Open and Cancel, Save in the GTK based Open and Save dialogs.
git-svn-id: http://svn.voria.com/code@557
1f10aa63-cdf2-0310-b900-
c93c546f37ac