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
dooglus [Wed, 22 Aug 2007 21:36:34 +0000 (21:36 +0000)]
Move 'increase amount' and 'decrease amount' from the canvas menu to the layer menu, since they operate on the selected layers, not on the canvas.
git-svn-id: http://svn.voria.com/code@556
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 22 Aug 2007 20:59:08 +0000 (20:59 +0000)]
Fix 1779616: prevent image span, resolution, etc. from quite reaching zero.
git-svn-id: http://svn.voria.com/code@555
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Wed, 15 Aug 2007 07:55:09 +0000 (07:55 +0000)]
Add support for scrolling left and right in the canvas window. Ctrl+LeftScroll zooms out, Ctrl+RightScroll zooms in. Shift works the opposite to up-down.
git-svn-id: http://svn.voria.com/code@554
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Tue, 14 Aug 2007 12:37:12 +0000 (12:37 +0000)]
Fix 1356449: don't crash when creating a PasteCanvas by not accessing a NULL pointer
git-svn-id: http://svn.voria.com/code@553
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Tue, 14 Aug 2007 09:50:09 +0000 (09:50 +0000)]
Fix segfault when rendering dooglus.rincevent.net/synfig/crasher3.sif
git-svn-id: http://svn.voria.com/code@552
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Sat, 4 Aug 2007 08:48:37 +0000 (08:48 +0000)]
Fix extra qualification warning
git-svn-id: http://svn.voria.com/code@551
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Thu, 2 Aug 2007 05:32:11 +0000 (05:32 +0000)]
Move icons into a synfigstudio subdirectory of the pixmaps directory. Suggestion by Cyril Brulebois (KiBi)
git-svn-id: http://svn.voria.com/code@550
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Tue, 31 Jul 2007 08:07:15 +0000 (08:07 +0000)]
Fix 1692825: Prevent import errors on amd64 by using String::size_type instead of unsigned int when scanning strings. Thanks rore :D
git-svn-id: http://svn.voria.com/code@549
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 4 Jul 2007 14:05:31 +0000 (14:05 +0000)]
Added keyboard shortcuts for all 16 of the tools (alt + ...)
a:normal v:smooth d:scale s:rotate
b:bline c:circle r:rectangle g:gradient
e:eyedrop f:fill z:zoom p:polygon
w:draw k:sketch t:width m:mirror
git-svn-id: http://svn.voria.com/code@548
1f10aa63-cdf2-0310-b900-
c93c546f37ac