pabs [Wed, 3 Oct 2007 05:25:36 +0000 (05:25 +0000)]
Apply 1805544: un/install the sifz examples properly in the Win32 installer. Patch by Atrus.
git-svn-id: http://svn.voria.com/code@825
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 3 Oct 2007 02:43:12 +0000 (02:43 +0000)]
Revert r764. pxegeek on IRC reports:
Looks like my build of 813 failed. Looks like it was trying to render the logo
synfig(5228): info: ValueNode::subsys_stop()
synfig(5228): info: Importer::subsys_stop()
synfig(5228): info: Target::subsys_stop()
synfig(5228): info: Layer::subsys_stop()
synfig(5228): info: Module::subsys_stop()
I think it's hung - it shouldn't take this long. :(
Looks like it's hanging while stopping the module subsystem. Maybe he has some modules I don't, and they're causing a crash. I don't see any crash here.
git-svn-id: http://svn.voria.com/code@824
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 3 Oct 2007 02:18:10 +0000 (02:18 +0000)]
Stop the "Gtk-WARNING **: node type doesn't match 2 (menu-main is type 7)" messages. The main menu is a popup, not a menubar.
git-svn-id: http://svn.voria.com/code@823
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 3 Oct 2007 02:18:03 +0000 (02:18 +0000)]
Make stdout quieter.
git-svn-id: http://svn.voria.com/code@822
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 3 Oct 2007 02:17:55 +0000 (02:17 +0000)]
Make stdout quieter.
git-svn-id: http://svn.voria.com/code@821
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 3 Oct 2007 02:17:47 +0000 (02:17 +0000)]
Removed debugpoint.
git-svn-id: http://svn.voria.com/code@820
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 3 Oct 2007 02:17:38 +0000 (02:17 +0000)]
Make stdout quieter.
git-svn-id: http://svn.voria.com/code@819
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 3 Oct 2007 02:17:31 +0000 (02:17 +0000)]
Make stdout quieter.
git-svn-id: http://svn.voria.com/code@818
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 3 Oct 2007 02:17:21 +0000 (02:17 +0000)]
Make stdout quieter.
git-svn-id: http://svn.voria.com/code@817
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 3 Oct 2007 02:17:13 +0000 (02:17 +0000)]
Remove debugpoint.
git-svn-id: http://svn.voria.com/code@816
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 3 Oct 2007 02:17:04 +0000 (02:17 +0000)]
Tidying.
git-svn-id: http://svn.voria.com/code@815
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 3 Oct 2007 02:16:55 +0000 (02:16 +0000)]
Fixed a typo.
git-svn-id: http://svn.voria.com/code@814
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 2 Oct 2007 14:28:52 +0000 (14:28 +0000)]
Changing the time slider on a child canvas wasn't updating the grandchild canvas' time slider. Now it does.
git-svn-id: http://svn.voria.com/code@813
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 2 Oct 2007 14:28:43 +0000 (14:28 +0000)]
Tidying.
git-svn-id: http://svn.voria.com/code@812
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 2 Oct 2007 13:30:12 +0000 (13:30 +0000)]
Commented the "Adjust for time" code in valuenode_animated.cpp while trying to understand what it's doing.
git-svn-id: http://svn.voria.com/code@811
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 2 Oct 2007 13:04:55 +0000 (13:04 +0000)]
When the user moves a canvas' time slider, update the time sliders of any open child canvas' workareas.
git-svn-id: http://svn.voria.com/code@810
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 1 Oct 2007 23:18:56 +0000 (23:18 +0000)]
Make the linear interpolation linear. See dooglus.rincevent.net/synfig/linear.sifz for an example of how linear interpolation currently works. Both circles are animated over the same distance with identical waypoints, but one of them has an extra linear waypoint at frame zero. That extra waypoints makes its entire movement non-linear.
git-svn-id: http://svn.voria.com/code@809
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 1 Oct 2007 21:49:02 +0000 (21:49 +0000)]
Only fix the red border if we're not using the Gtk frame background color to draw the red border.
git-svn-id: http://svn.voria.com/code@808
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 1 Oct 2007 21:48:48 +0000 (21:48 +0000)]
Keep the red 'animate edit mode' border and the current keyframe name from leaving artifacts when scrolling.
git-svn-id: http://svn.voria.com/code@807
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 1 Oct 2007 21:48:37 +0000 (21:48 +0000)]
Fix typos.
git-svn-id: http://svn.voria.com/code@806
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 30 Sep 2007 20:48:47 +0000 (20:48 +0000)]
Fixed the way that the decision is made which value to use when linking values together. Also, output some information about the decision to the console. Also show an error message if the user tries to link two different exported values, or values of two different types, rather than failing silently as before.
git-svn-id: http://svn.voria.com/code@805
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 30 Sep 2007 20:48:39 +0000 (20:48 +0000)]
Tidying.
git-svn-id: http://svn.voria.com/code@804
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 30 Sep 2007 20:48:30 +0000 (20:48 +0000)]
Made a note that type names shouldn't be translated.
git-svn-id: http://svn.voria.com/code@803
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 29 Sep 2007 20:13:43 +0000 (20:13 +0000)]
I messed up the last commit. Oops!
git-svn-id: http://svn.voria.com/code@802
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 29 Sep 2007 20:04:14 +0000 (20:04 +0000)]
#include color.h to get the gamma_in() #define.
git-svn-id: http://svn.voria.com/code@801
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 29 Sep 2007 15:09:11 +0000 (15:09 +0000)]
Prevent a crash (for example when moving the mouse slowly over the bottom edge of the line in dooglus.rincevent.net/synfig/shape_crash.sifz at the default zoom level).
git-svn-id: http://svn.voria.com/code@800
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 19:28:47 +0000 (19:28 +0000)]
Replace angle::epsilon with a #defined value instead. I don't know how to define a static member variable in a template header file.
git-svn-id: http://svn.voria.com/code@799
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 15:24:30 +0000 (15:24 +0000)]
Fixed a typo in the last commit.
git-svn-id: http://svn.voria.com/code@798
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 15:19:58 +0000 (15:19 +0000)]
Refine the bounding rectangles for 'Vertical Bar' and 'Horizontal Bar' spherize types.
git-svn-id: http://svn.voria.com/code@797
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 15:19:48 +0000 (15:19 +0000)]
Add Rect::horizontal_strip() and Rect::vertical_strip() to create infinite slices of the plane.
git-svn-id: http://svn.voria.com/code@796
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 15:19:39 +0000 (15:19 +0000)]
Use std::min and std::max rather than my ad-hoc #defines.
git-svn-id: http://svn.voria.com/code@795
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 03:01:15 +0000 (03:01 +0000)]
For the 'Range' convert type, when working with angles, if the link parameter is outside of the [min,max] rangle, the resulting angle is whichever of min and max is closest to the link parameter.
git-svn-id: http://svn.voria.com/code@794
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:26:58 +0000 (02:26 +0000)]
Add a new function angle::abs() which returns the absolute (positive) value of an angle.
git-svn-id: http://svn.voria.com/code@793
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:08:18 +0000 (02:08 +0000)]
Commented out the deprecated angle type conversion operators. They weren't used anywhere (everything still compiles without them, anyway) and they were preventing the multiplication operators from working. (g++ complains "error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second").
git-svn-id: http://svn.voria.com/code@792
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:08:11 +0000 (02:08 +0000)]
Move the deprecated type conversion operator prototypes to the end of their class definitions.
git-svn-id: http://svn.voria.com/code@791
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:08:05 +0000 (02:08 +0000)]
Fixed a typo - the wrong method was marked as deprecated in angle::cos.
git-svn-id: http://svn.voria.com/code@790
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:07:59 +0000 (02:07 +0000)]
Operator '!' is supposed to be true when an angle is 'no rotation'. It was failing for 360 degrees, and also failing due to floating point rounding error. Fixed both of these problems.
git-svn-id: http://svn.voria.com/code@789
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:07:52 +0000 (02:07 +0000)]
The zero(), one(), and half() functions weren't documented, and aren't used anywhere, but half() was returning a quarter rotation, and one() was returning a half rotation. Surely they're both meant to return twice that? Fixed accordingly, and commented them.
git-svn-id: http://svn.voria.com/code@788
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:07:46 +0000 (02:07 +0000)]
The comments for the inequality comparison operators seemed to suggest that positive rotation is clockwise. In Synfig, 0 degrees is due east, and positive rotation is counter-clockwise. Amended the comments accordingly, and made a comment at the top stating that positive rotation is counter-clockwise.
git-svn-id: http://svn.voria.com/code@787
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:07:39 +0000 (02:07 +0000)]
Fix the indentation.
git-svn-id: http://svn.voria.com/code@786
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:07:33 +0000 (02:07 +0000)]
Operators == and != were returning that 90 degrees != (90+360) degrees, due to floating point rounding errors. Allow an epsilon of difference.
git-svn-id: http://svn.voria.com/code@785
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:07:26 +0000 (02:07 +0000)]
The angle comparison code was considering 90+359 degrees to be greater than 90 degrees. The comments claim otherwise. Fix the code to correspond with the comments. Similarly for <, >=, and <=.
git-svn-id: http://svn.voria.com/code@784
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:07:20 +0000 (02:07 +0000)]
Since angles are stored in radians, we need to add on PI, not 0.5 to rotate by 180 degrees.
git-svn-id: http://svn.voria.com/code@783
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 28 Sep 2007 02:07:13 +0000 (02:07 +0000)]
Angles are stored in radians, not rotations.
git-svn-id: http://svn.voria.com/code@782
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 22:43:42 +0000 (22:43 +0000)]
Remove some debugging code I left in accidentally some time ago.
git-svn-id: http://svn.voria.com/code@781
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 20:56:48 +0000 (20:56 +0000)]
Fixed a typo in the previous commit.
git-svn-id: http://svn.voria.com/code@780
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 20:52:03 +0000 (20:52 +0000)]
Allow the 'subtract' convert type to work with times.
git-svn-id: http://svn.voria.com/code@779
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 20:51:45 +0000 (20:51 +0000)]
Allow the 'add' convert type to work with times.
git-svn-id: http://svn.voria.com/code@778
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 20:51:29 +0000 (20:51 +0000)]
Allow the 'range' convert type to work with 'time' values too.
git-svn-id: http://svn.voria.com/code@777
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 20:43:40 +0000 (20:43 +0000)]
Add the 'range' convert type, for limiting a parameter to values between a given minimum and maximum.
git-svn-id: http://svn.voria.com/code@776
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 15:10:49 +0000 (15:10 +0000)]
vector.h was assuming that its members would be laid out consequtively in memory, without padding. Is this a safe assumption? Note that the same assumption is made in class bezier_base in the same file, but I didn't change that yet.
git-svn-id: http://svn.voria.com/code@775
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 15:10:39 +0000 (15:10 +0000)]
Fix 1509627: Work around a bug in gcc 4.1.2 and earlier. Compiling with -O2 or higher was optimizing out a variable that we are using.
git-svn-id: http://svn.voria.com/code@774
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 00:31:17 +0000 (00:31 +0000)]
Use the http svn repository, not https, because using the https causes svn2cl to hang forever if the server isn't trusted locally.
git-svn-id: http://svn.voria.com/code@773
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 00:30:33 +0000 (00:30 +0000)]
Stop the 'warning: underquoted definition of ...' warnings by putting [...] around AC_DEFUN definitions.
git-svn-id: http://svn.voria.com/code@772
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 00:30:24 +0000 (00:30 +0000)]
Same as the last commit, except for the 'splash screen' that is shown while Studio is loading, and while documents are loading.
git-svn-id: http://svn.voria.com/code@771
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 27 Sep 2007 00:30:16 +0000 (00:30 +0000)]
export SYNFIG_DISABLE_POPUP_WINDOWS=1 to stop the "one moment please" staying on top. This is useful when debugging, because the 'one moment' often turns into 'several hours', and it's annoying to have an opaque strip in the centre of the screen for so long.
git-svn-id: http://svn.voria.com/code@770
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Sep 2007 22:39:45 +0000 (22:39 +0000)]
Reorder the members to avoid warnings.
git-svn-id: http://svn.voria.com/code@769
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Sep 2007 22:36:41 +0000 (22:36 +0000)]
The line "SR1=SR2=SR3=typename T::value_type();" in ETL/trunk/ETL/_gaussian.h expects the default constructor of the types it supports (which includes Color) to initialise the constructed object. I don't know what other code expects Color objects to be initialised, so let's play safe and initialise all colors for now.
git-svn-id: http://svn.voria.com/code@768
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Sep 2007 19:10:53 +0000 (19:10 +0000)]
Fix the crash that the previous commit half-fixed.
studio::App::quit() at app.cpp:1575
studio::Instance::safe_close () at instance.cpp:687
[ handle magic ]
~CanvasView (this=0xa432378) at canvasview.cpp:918
~WorkArea (this=0x8ed2a10) at workarea.cpp:815
[ handle magic ]
^ ~Canvas (this=0x8e8a2b8) at canvas.cpp:94
| synfig::Canvas::clear () at canvas.cpp:136
| synfig::Canvas::erase (iter) at canvas.cpp:758
| synfig::Node::changed () at node.cpp:194
| synfig::Canvas::on_changed () at canvas.cpp:86
| synfig::Node::on_changed () at node.cpp:290
| [ sigc magic ]
| studio::CanvasView::on_dirty_preview () at canvasview.cpp:2774
`- illegal ------- work_area->queue_render_preview();
git-svn-id: http://svn.voria.com/code@767
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Sep 2007 16:59:45 +0000 (16:59 +0000)]
I thought this should prevent a crash, but it doesn't. __render_preview is still being called after the WorkArea has been deleted. Why?
git-svn-id: http://svn.voria.com/code@766
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Sep 2007 16:59:37 +0000 (16:59 +0000)]
Add some extra console output while closing down.
git-svn-id: http://svn.voria.com/code@765
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Sep 2007 14:38:22 +0000 (14:38 +0000)]
Uncommented the line that stops the module subsystem. There was a warning: "For some reason, uncommenting the next line will cause things to crash. This needs to be looked into at some point", but it doesn't seem to cause a crash.
git-svn-id: http://svn.voria.com/code@764
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Sep 2007 10:09:53 +0000 (10:09 +0000)]
Suppress valgrind warning about an error in libz.
git-svn-id: http://svn.voria.com/code@763
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Sep 2007 09:56:03 +0000 (09:56 +0000)]
Fixed another set of uninitialised variables.
git-svn-id: http://svn.voria.com/code@762
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Sep 2007 09:12:22 +0000 (09:12 +0000)]
Fix a variable-read-before-set error.
git-svn-id: http://svn.voria.com/code@761
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Sep 2007 05:57:12 +0000 (05:57 +0000)]
Finish fix for 1801220. I forgot about the call to change the frame background back to normal when not in edit mode. We don't need that now.
git-svn-id: http://svn.voria.com/code@760
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Sep 2007 22:25:06 +0000 (22:25 +0000)]
Add valgrind suppressions and .gitignore.
git-svn-id: http://svn.voria.com/code@759
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Sep 2007 21:56:58 +0000 (21:56 +0000)]
Fix 1801220: Some Ubuntu Themes don't show the red border in animate edit mode. Draw the border by hand rather than relying on the Gtk theme to have left a pixel or two of background showing.
git-svn-id: http://svn.voria.com/code@758
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Sep 2007 21:25:25 +0000 (21:25 +0000)]
Implement wiki.synfig.com/Wish_list : "Restore Default Layout". It's on the toolbox's "Dialogs" menu.
git-svn-id: http://svn.voria.com/code@757
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Sep 2007 15:51:56 +0000 (15:51 +0000)]
Fix 1776156: "region and outline position ducks aren't linked". They are now - there's a checkbox for "Link Offsets". I didn't add the option of not linking vertex ducks yet, or add similar for the draw tool.
git-svn-id: http://svn.voria.com/code@756
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Sep 2007 12:39:14 +0000 (12:39 +0000)]
Only use gamma correction on R,G,B & Y, and only when it's turned on!
git-svn-id: http://svn.voria.com/code@755
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Sep 2007 12:29:10 +0000 (12:29 +0000)]
Simplify the code by using colorconv_synfig2gdk() rather than repeating its functionality here. Incidentally, the last change fixed a bug illustrated here: wiki.synfig.com/images/d/d1/Color-editor-linear-bug.jpg -- the positions of the three R,G,B sliders should all be pointing at the same color, but they weren't. The lower image shows how it looks after the previous commit - all three slider positions are the same color.
git-svn-id: http://svn.voria.com/code@754
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Sep 2007 12:29:02 +0000 (12:29 +0000)]
The color gradients displayed on the sliders in the color editor were being calculated incorrectly when "File > Setup > Misc > Visually Linear Color Selection" was enabled, resulting in different colors being displayed at each of the R, G and B sliders' current positions.
git-svn-id: http://svn.voria.com/code@753
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Sep 2007 12:28:53 +0000 (12:28 +0000)]
Tidying.
git-svn-id: http://svn.voria.com/code@752
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Sep 2007 09:13:23 +0000 (09:13 +0000)]
Move the gamma_in and gamma_out macros into "color.h".
git-svn-id: http://svn.voria.com/code@751
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Sep 2007 08:33:54 +0000 (08:33 +0000)]
Removed unused macros.
git-svn-id: http://svn.voria.com/code@750
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 24 Sep 2007 23:25:10 +0000 (23:25 +0000)]
Fix 1800783: "motion blur doesn't work on encapsulated layers". As before, but consider motion blur even for PasteCanvas layers without a sub canvas.
git-svn-id: http://svn.voria.com/code@749
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 24 Sep 2007 23:25:02 +0000 (23:25 +0000)]
Fix 1800783: "motion blur doesn't work on encapsulated layers". Now we take the z-depth into account as well. We need to look through all the layers before optimizing any sub-canvases.
git-svn-id: http://svn.voria.com/code@748
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 24 Sep 2007 23:24:53 +0000 (23:24 +0000)]
Nearly fix 1800783. Don't freeze dynamic parameters of PasteCanvas layers if there's a MotionBlur level above them. Currently this only works if the MotionBlur is above the PasteCanvas in the layer order, but that can be affected by the zdepth parameters, so the patch needs more work. Still, it's better than it was.
git-svn-id: http://svn.voria.com/code@747
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 24 Sep 2007 20:48:26 +0000 (20:48 +0000)]
Remove an unused prototype.
git-svn-id: http://svn.voria.com/code@746
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 23 Sep 2007 20:25:41 +0000 (20:25 +0000)]
Allow the 'BLine Tangent' to be used to convert angles. The resulting value is the angle of the tangent to the bline at the given point to the horizontal.
git-svn-id: http://svn.voria.com/code@745
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 23 Sep 2007 18:50:21 +0000 (18:50 +0000)]
Implemented feature request [ 1781903 ] make vertices/object move along paths. Added 'BLine Vector' and 'BLine Tangent' convert types to allow layers to move along arbitrary BLine paths.
git-svn-id: http://svn.voria.com/code@744
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 23 Sep 2007 00:10:00 +0000 (00:10 +0000)]
Oops. Fixed a silly copy/paste error.
git-svn-id: http://svn.voria.com/code@743
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 23 Sep 2007 00:08:23 +0000 (00:08 +0000)]
Added a new valuenode conversion type called 'Add'. It's like 'Subtract', only it adds... Previously addition was only possible by first scaling the RHS by -1 and then subtracting, which seems a bit silly.
git-svn-id: http://svn.voria.com/code@742
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Sep 2007 23:45:54 +0000 (23:45 +0000)]
Fixed a typo.
git-svn-id: http://svn.voria.com/code@741
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Sep 2007 23:45:45 +0000 (23:45 +0000)]
Fixed a few typos.
git-svn-id: http://svn.voria.com/code@740
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Sep 2007 23:45:35 +0000 (23:45 +0000)]
Added a new valuenode type for real values: 'Exponent'. Given a real value, it sets its value to e^(value).
git-svn-id: http://svn.voria.com/code@739
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Sep 2007 21:10:25 +0000 (21:10 +0000)]
Fix 1800324: closing a window while an animation is playing crashes studio, so don't let the window close if it's playing. Instead we display a message explaining why the window won't close. It would be better if we could somehow cause the playback to stop and then close the window, but this is better than crashing.
git-svn-id: http://svn.voria.com/code@738
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Sep 2007 19:01:09 +0000 (19:01 +0000)]
Put View>Play on Control-P. Remove View>Pause from the menu, because it has never been implemented. How is would Pause be different than Stop anyway, since Stop doesn't rewind?
git-svn-id: http://svn.voria.com/code@737
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Sep 2007 17:37:47 +0000 (17:37 +0000)]
Fix 1800126. Use a loose_handle instead of a handle to prevent the layer being free()d too early.
git-svn-id: http://svn.voria.com/code@736
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Sep 2007 17:37:38 +0000 (17:37 +0000)]
Fix 1800126. Use a loose_handle instead of a handle to prevent the layer being free()d too early.
git-svn-id: http://svn.voria.com/code@735
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 21 Sep 2007 22:00:23 +0000 (22:00 +0000)]
Addendum to 1799722: Now that 'save' no longer fails silently, we don't need the toolbox's 'save' button to special-case the 'save failed' message.
git-svn-id: http://svn.voria.com/code@734
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 21 Sep 2007 22:00:15 +0000 (22:00 +0000)]
Fix 1799722: Display an error message when a 'save' (not 'save as') fails. Also, don't complain 'file already exists' if we can't read the directory to check whether the file exists or not.
git-svn-id: http://svn.voria.com/code@733
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 21 Sep 2007 22:00:04 +0000 (22:00 +0000)]
'quit -> "want to save?" -> yes -> cancel' should go back to working on the unsaved document immediately.
git-svn-id: http://svn.voria.com/code@732
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 21 Sep 2007 15:05:51 +0000 (15:05 +0000)]
Fix 1368694. You can now add layers to groups and the groups show up immediately. The rest of the groups dialog is still pretty broken, but there are other bug reports about that.
git-svn-id: http://svn.voria.com/code@731
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 21 Sep 2007 00:27:14 +0000 (00:27 +0000)]
Merge branch 'tidying' into chris
git-svn-id: http://svn.voria.com/code@730
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 21 Sep 2007 00:27:07 +0000 (00:27 +0000)]
Fixed 1799250: Add a function to update the render filename from the document filename (plus the canvas name, if it's not the root canvas).
git-svn-id: http://svn.voria.com/code@729
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 21 Sep 2007 00:26:57 +0000 (00:26 +0000)]
Working on 1799250: After changing the filename, update the render settings with the new filename.
git-svn-id: http://svn.voria.com/code@728
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 21 Sep 2007 00:26:49 +0000 (00:26 +0000)]
Working on 1799250: changed prototypes
git-svn-id: http://svn.voria.com/code@727
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 21 Sep 2007 00:26:42 +0000 (00:26 +0000)]
Working on 1799250: added prototypes.
git-svn-id: http://svn.voria.com/code@726
1f10aa63-cdf2-0310-b900-
c93c546f37ac