dooglus [Wed, 26 Nov 2008 18:33:15 +0000 (18:33 +0000)]
Rename the Random class in the mod_noise module to RandomNoise to stop it clashing with the Random class in mod_particle. Also rename the files random.h and random.cpp.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2286
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Nov 2008 17:10:50 +0000 (17:10 +0000)]
Edit comment text.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2285
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Nov 2008 17:10:18 +0000 (17:10 +0000)]
Add Duck::type_name() for debugging purposes.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2284
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Nov 2008 17:09:53 +0000 (17:09 +0000)]
Show position ducks on top of vertex ducks, then tangent ducks, then the rest. Until now the order was random. And when hovering the mouse over a set of ducks give preference to 'tangent 1' over 'tangent 2'.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2283
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Nov 2008 12:31:45 +0000 (12:31 +0000)]
Fix 2350636: "shift-drag waypoints can create duplicates at a time". Erase the old waypoint before adding the copy.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2282
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Nov 2008 12:31:23 +0000 (12:31 +0000)]
I forgot to check this in as part of r2271.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2281
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 26 Nov 2008 12:30:58 +0000 (12:30 +0000)]
Add further comments. Add local definition of FLAGS macro instead of using the one from color.h. Remove unused flag checking code.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2280
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 23:27:51 +0000 (23:27 +0000)]
The previous commit was a little hasty. The focus point is also used when resizing the canvas, to decide which point to keep in the same relative position. Reverting previous commit.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2279
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 23:12:59 +0000 (23:12 +0000)]
Remove the "Focus Point" setting from the document properties dialog. It's only used when zooming pastecanvas layers and isn't even saved to .sifz files, so would be better off as a parameter to the pastecanvas layer itself.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2278
1f10aa63-cdf2-0310-b900-
c93c546f37ac
genete [Tue, 25 Nov 2008 23:12:54 +0000 (23:12 +0000)]
Initial Russian Tanslation of Synfig Studio. Thanks to Alexandre Prokoudine
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2277
1f10aa63-cdf2-0310-b900-
c93c546f37ac
genete [Tue, 25 Nov 2008 23:09:13 +0000 (23:09 +0000)]
Initial Russian Tanslation of Synfig. Thanks to Alexandre Prokoudine
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2276
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 22:33:25 +0000 (22:33 +0000)]
Fix a bug that only shows up if you use the 'Focus Point' setting in the document properties dialog. This is the same a bug 1671884 and bug 1993098, but for the focus point rather than the 'origin' and 'zoom' respectively.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2275
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 22:07:47 +0000 (22:07 +0000)]
Take the 'Focus Point' into account when transforming ducks for layers inside pastecanvas layers.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2274
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 22:07:26 +0000 (22:07 +0000)]
Fix two copy/paste errors.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2273
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 15:07:20 +0000 (15:07 +0000)]
Holding control in the zoom tool when releasing the mouse button to complete drawing a box will zoom out such that the currently displayed area is zoomed out to fill the drawn box.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2272
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 01:23:28 +0000 (01:23 +0000)]
Allow waypoints to have their values exported, converted, etc. A work in progress.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2271
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 01:22:53 +0000 (01:22 +0000)]
Add some commented synfig::info() calls to aid debugging the menus of actions.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2270
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 01:22:35 +0000 (01:22 +0000)]
Always use absolute paths in the Canvas::externals_ map.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2269
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 01:22:17 +0000 (01:22 +0000)]
Define Canvas::show_externals() when _DEBUG is defined.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2268
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 01:21:58 +0000 (01:21 +0000)]
Define CanvasParser::show_canvas_map() when _DEBUG is defined.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2267
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 01:21:38 +0000 (01:21 +0000)]
Add comments saying not to disable the layer optimization.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2266
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 01:21:19 +0000 (01:21 +0000)]
Fix spelling mistake.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2265
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 01:21:01 +0000 (01:21 +0000)]
Fix some compiler warnings.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2264
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 01:20:41 +0000 (01:20 +0000)]
Fix ValueDesc::get_description() to work with const valuenodes.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2263
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 25 Nov 2008 01:20:19 +0000 (01:20 +0000)]
Fix ValueDesc::get_value_node() so it works with constant valuenodes too.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2262
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 23 Nov 2008 22:50:52 +0000 (22:50 +0000)]
Include the example module in the list of modules to load.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2261
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 23 Nov 2008 21:27:12 +0000 (21:27 +0000)]
Fix 2321845: "Save after delete a keyframe crash in a particular file". This bug was introduced by r2205. Use canvas->add_value_node() to export values rather than setting the id explicitly.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2260
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 23 Nov 2008 21:26:52 +0000 (21:26 +0000)]
Add tests for handle::swap() and loose_handle::swap().
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2259
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 23 Nov 2008 17:29:55 +0000 (17:29 +0000)]
Fix handle<T>::swap() and loose_handle<T>::swap(). I guess the code must not be used, because it has never worked.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2258
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 16:24:59 +0000 (16:24 +0000)]
Fix 2 typos.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2257
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:57:54 +0000 (15:57 +0000)]
Fix 2315706: "Rename Exported Valuenode from imported canvases crash". Stop the crash, but not a full fix. Better would be to copy all the exported valuenodes when exporting the imported canvas.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2256
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:42:23 +0000 (15:42 +0000)]
Add function Canvas::register_external_canvas() to allow us to register that a file references a canvas in an external file.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2255
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:41:55 +0000 (15:41 +0000)]
Draw a dotted line box around the rectangle when selected.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2254
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:41:21 +0000 (15:41 +0000)]
Add FilledRect::hit_check() to allow Filled Rectangles to be selected by clicking on them.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2253
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:40:51 +0000 (15:40 +0000)]
Add Metaballs::hit_check() so metaballs can be selected by clicking on them.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2252
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:40:24 +0000 (15:40 +0000)]
Add boolean parameter 'Positive Only' to stop negative affect from large distances.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2251
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:39:58 +0000 (15:39 +0000)]
Replace the 'Threshold' parameter with 'Gradient Left' and 'Gradient Right' which specify the values which map to each end of the gradient.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2250
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:39:28 +0000 (15:39 +0000)]
Use a gradient instead of a color to color the balls.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2249
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:39:00 +0000 (15:39 +0000)]
Shortcut color blending in get_color() when blend method is 'straight' and amount is 1.0.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2248
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:38:31 +0000 (15:38 +0000)]
When a new metaball layer is created, initialise it with 3 balls.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2247
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:38:03 +0000 (15:38 +0000)]
Include the example module in the list of modules to build.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2246
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:37:36 +0000 (15:37 +0000)]
Include the example module's Makefile in the list of Makefiles to configure.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2245
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:37:18 +0000 (15:37 +0000)]
Enable all three layers in the example module.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2244
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:36:51 +0000 (15:36 +0000)]
Use Layer::simple_clone() rather than Layer::clone() in optimize_canvas() to prevent random valuenodes having their seed re-randomized when the layer structure is optimized.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2243
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:36:25 +0000 (15:36 +0000)]
Uncomment and fix Layer::simple_clone() to clone a layer without cloning all its valuenodes.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2242
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:36:00 +0000 (15:36 +0000)]
Give the 'filled rectangle' layer a unique name - otherwise it clashes with the 'rectangle' layer.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2241
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:35:33 +0000 (15:35 +0000)]
Put the three example layers in the 'Example' group in the 'new layer' menu.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2240
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:35:00 +0000 (15:35 +0000)]
Fix Metaballs::get_color() so it takes the context into account.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2239
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:34:38 +0000 (15:34 +0000)]
Tidying.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2238
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:34:14 +0000 (15:34 +0000)]
Remove duplicate call to render the context.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2237
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:33:43 +0000 (15:33 +0000)]
Fix indentation.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2236
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:33:14 +0000 (15:33 +0000)]
When making ducks for elements of a list of vectors, don't set origins for the ducks if the parameter in question has no origin set.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2235
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:32:53 +0000 (15:32 +0000)]
Allow ValueBase objects to be cast to type Real to get their real value. This is an attempt to get the 'metaballs' example module building again.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2234
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:32:23 +0000 (15:32 +0000)]
Explicitly call get_list() when converting a bline's valuenode at a particular time to a vector of ValueBase objects. This is needed since the next revision will introduce an ambiguity by allowing ValueBase objects to be cast to type Real, which in turn can be cast to type size_t which can be used as an argument to the std::vector constructor.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2233
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:31:17 +0000 (15:31 +0000)]
Compiler suggested "parentheses around comparison in operand of ^". So I added them.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2232
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:30:25 +0000 (15:30 +0000)]
Remove the declaration and definition of ValueNode_BLine::clone() since the parent class' version is now fine.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2231
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:29:28 +0000 (15:29 +0000)]
Write a proper definition for ValueNode_BLine::create_new().
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2230
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:28:38 +0000 (15:28 +0000)]
Fix indentation.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2229
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:27:43 +0000 (15:27 +0000)]
Use the new definition of ValueNode_DynamicList::create_new() in ValueNode_DynamicList::clone().
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2228
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:26:53 +0000 (15:26 +0000)]
Write a proper definition for ValueNode_DynamicList::create_new().
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2227
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 22 Nov 2008 15:25:49 +0000 (15:25 +0000)]
Allow PasteCanvas layers with unset canvas parameters to be exported.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2226
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 19 Nov 2008 19:37:14 +0000 (19:37 +0000)]
Fix 1730067: "Impervious Waypoints". Even inactive layers need to call Node::on_changed() when they're changed to cause the information to ripple through to all other interested nodes.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2225
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 19 Nov 2008 14:50:53 +0000 (14:50 +0000)]
Fix 1829182: "Right click context menu not always appears".
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2224
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 19 Nov 2008 13:45:27 +0000 (13:45 +0000)]
The compiler was warning "format not a string literal and no format arguments".
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2223
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 19 Nov 2008 13:45:05 +0000 (13:45 +0000)]
Use the functions from the last two revisions to rebuild the layer tree whenever a PasteCanvas layer in the tree has its subcanvas changed.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2222
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 19 Nov 2008 13:44:24 +0000 (13:44 +0000)]
Add a new signal_subcanvas_changed() that is signalled whenever a PasteCanvas' subcanvas is changed. Not used yet.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2221
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 19 Nov 2008 13:43:47 +0000 (13:43 +0000)]
Add function LayerTreeStore::queue_rebuild(). Nothing uses it yet.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2220
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 19 Nov 2008 13:42:49 +0000 (13:42 +0000)]
'queued' is an integer not a bool, so set it to 0 not false.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2219
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs3 [Wed, 19 Nov 2008 04:05:06 +0000 (04:05 +0000)]
Remove warning about Paletted PNGs not being fully supported, alpha blending (the tRNS chunk) for them is done now.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2218
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs3 [Wed, 19 Nov 2008 04:01:28 +0000 (04:01 +0000)]
Fix wtachi's entry in the AUTHORS file.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2217
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Nov 2008 23:28:32 +0000 (23:28 +0000)]
Fix 1826376, 1848018, 1901753. All caused by not making a copy of a canvas before exporting it. This fix isn't ideal because in some cases it isn't necessary to duplicate the canvas, and it also leaves the canvas parameter of any pastecanvas layers which use the canvas with their original value until it is changed manually, but it stops the crashes.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2216
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Nov 2008 23:28:11 +0000 (23:28 +0000)]
Several bugs in the tracker are related to crashes caused when exporting canvases. I think this is caused by the way that exporting a canvas doesn't make a copy of the canvas. Cloning non-inline canvases was disabled in canvas.cpp; this revision reenables it. This shouldn't cause any problems, and will allow me to experiment with fixes for the crashing bugs.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2215
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Nov 2008 23:27:52 +0000 (23:27 +0000)]
When a new document is made and saved, register it in the canvas map as if it had been loaded. Previously only documents that were loaded from disk were entered into the map causing errors in some situations.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2214
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Nov 2008 23:27:31 +0000 (23:27 +0000)]
Not sure if this code is ever used, but if it is it would cause an infinite recursion.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2213
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Nov 2008 23:27:12 +0000 (23:27 +0000)]
Just comments.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2212
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Nov 2008 17:20:36 +0000 (17:20 +0000)]
Put a space between the parameter name and its description when prompting for it.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2211
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Nov 2008 17:20:16 +0000 (17:20 +0000)]
When we try to open a file that doesn't exist, display an error in the command line tool.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2210
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Nov 2008 17:19:57 +0000 (17:19 +0000)]
When we try to open a file that doesn't exist, display an error in studio.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2209
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Nov 2008 17:19:38 +0000 (17:19 +0000)]
Remove debugging printf().
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2208
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Nov 2008 12:07:17 +0000 (12:07 +0000)]
Fix 1993098: "Composited Inline canvases fails if background is transp.". This was the same as bug 1671884, but failing to take account of a pastecanvas' zoom rather than its offset. dooglus.rincevent.net/synfig/pastecanvas-zoom-bug.sifz is a simple example that didn't render correctly before this fix.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2207
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Nov 2008 10:58:17 +0000 (10:58 +0000)]
Fix 2119775: "Zoom tool doesn't work if drag outside the window". The problem was that the zoom tool wouldn't allow zooming out by dragging a large rectangle. Now it will.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2206
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Nov 2008 20:36:57 +0000 (20:36 +0000)]
Fix 2256600: "Delete all waypoints of a valuenode unexports it". When deleting the last waypoint of a valuenode, copy the exported name of the valuenode to the value of the last waypoint before replacing the valuenode with the waypoint's value.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2205
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Nov 2008 10:21:29 +0000 (10:21 +0000)]
Show a warning when using file>import to import a .sif file which references itself recursively.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2204
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Nov 2008 00:38:20 +0000 (00:38 +0000)]
When loading .sif files, show any warnings in the GUI. When loading .sif files with circular references to themselves, show a warning, and avoid crashing. The circular reference is shortcutted to allow loading. (Fixes https://bugs.launchpad.net/ubuntu/+source/synfig/+bug/195447 )
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2203
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Nov 2008 00:37:38 +0000 (00:37 +0000)]
Commented prototype for undefined function add_layer().
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2202
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 14 Nov 2008 21:14:21 +0000 (21:14 +0000)]
Fix 1814151: "Add a layer inside an exported canvas crash". Check the return value of add_layer_to() in lots of places. There may be more to come, and the function itself looks like it needs attention too.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2201
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 14 Nov 2008 17:52:30 +0000 (17:52 +0000)]
Fix 2116947: "Pasting/importing across different image areas". When pasting nested pastecanvases, update the renddesc of all of them rather than just the outermost one.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2200
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 14 Nov 2008 17:51:42 +0000 (17:51 +0000)]
When 'zoom to fit' is clicked, zoom a little less than before so the border of the canvas is visible. It wasn't clear that the whole canvas was visible before.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2199
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 13 Nov 2008 23:04:21 +0000 (23:04 +0000)]
The 'Radius Ratio' tool option wasn't being honoured when creating Star layers.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2198
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 13 Nov 2008 22:48:49 +0000 (22:48 +0000)]
Same as the previous commit, but for the Star tool.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2197
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 13 Nov 2008 22:35:09 +0000 (22:35 +0000)]
When creating any bline with the circle tool, create the bline with its origin at the centre of the circle. This allows us to link the circle layer's center to the bline's offset.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2196
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 13 Nov 2008 19:55:42 +0000 (19:55 +0000)]
Rearrange the tool options to they're in the same order for each tool, giving a more consistent look.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2195
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 13 Nov 2008 19:55:08 +0000 (19:55 +0000)]
If we draw a polygon under some transform layers, the polygon layer itself (as opposed to any bline layers created simultaneously) is misplaced. This fixes the positioning.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2194
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 13 Nov 2008 19:54:36 +0000 (19:54 +0000)]
Add an option to the setup dialog "Scale New Imported Images to Fit Canvas". Previously all imported images were resized to fill the canvas so smaller images were scaled more than bigger ones. When importing PNG files with areas of transparent pixels around the ninja parts, silently ignore as many transparent pixels as possible without affecting the render. This can be disabled by setting environment variable SYNFIG_DISABLE_CROP_IMPORTED_IMAGES.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2193
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs3 [Thu, 13 Nov 2008 04:42:09 +0000 (04:42 +0000)]
Silence a couple of g++ 4.4 warnings in ETL make check
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2192
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs3 [Thu, 13 Nov 2008 04:28:10 +0000 (04:28 +0000)]
Fix the header include paths for ETL make check
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2191
1f10aa63-cdf2-0310-b900-
c93c546f37ac
genete [Wed, 12 Nov 2008 19:01:34 +0000 (19:01 +0000)]
Stop a bunch of compile warnings about not used returned value from vasprintf function in _string.h file.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2190
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 11 Nov 2008 19:51:53 +0000 (19:51 +0000)]
Make the checkboxes added in the previous commit work.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2189
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 11 Nov 2008 19:51:37 +0000 (19:51 +0000)]
Add checkboxes to create outlines, regions, etc. for the polygon tool. They're not wired up to anything yet.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2188
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 11 Nov 2008 19:51:20 +0000 (19:51 +0000)]
Add a 'feather' setting to the polygon tool's 'Tool Options' panel.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2187
1f10aa63-cdf2-0310-b900-
c93c546f37ac