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
dooglus [Fri, 21 Sep 2007 00:26:34 +0000 (00:26 +0000)]
Fixed a typo.
git-svn-id: http://svn.voria.com/code@725
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 20 Sep 2007 20:53:22 +0000 (20:53 +0000)]
Fix 1796971: if the user tries to quit synfig or close a document when there's unsaved work, it will prompt whether to save or not. If the user says 'yes, save', then cancels the file selector, studio will now ask again "do you want to save", rather than closing it immediately. This seems more polite, and safer.
git-svn-id: http://svn.voria.com/code@724
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 20 Sep 2007 20:53:07 +0000 (20:53 +0000)]
Working on 1796971: Make dialog_save_as() return a bool saying whether it saved anything or not. Make save() use dialog_save_as() return value too.
git-svn-id: http://svn.voria.com/code@723
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 20 Sep 2007 18:36:40 +0000 (18:36 +0000)]
Rename the 'Import' layer to 'Import Image' to hint that it's not for importing .sif* files.
git-svn-id: http://svn.voria.com/code@722
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 19 Sep 2007 12:53:55 +0000 (12:53 +0000)]
If the user choses to save his work using the default name ("Synfig Animation 1.sifz", for example), don't keep showing the 'Save As' selector and warning about file overwriting each time she saves. Also moved the string "Synfig Animation " into a single #define rather than having it appear in multiple places in the code.
git-svn-id: http://svn.voria.com/code@721
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 19 Sep 2007 12:35:18 +0000 (12:35 +0000)]
Brought up to date.
git-svn-id: http://svn.voria.com/code@720
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 19 Sep 2007 11:34:24 +0000 (11:34 +0000)]
Revision 678 included <iostream> in color.h. This added a couple of megabytes to the synfig binary distribution (due to each of the modules having to contain lots of iostream code). Moved the include into color.cpp instead to prevent this growth.
git-svn-id: http://svn.voria.com/code@719
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 23:16:56 +0000 (23:16 +0000)]
Fix to allow the 'scale' valuenode be used with integers.
git-svn-id: http://svn.voria.com/code@718
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 22:31:43 +0000 (22:31 +0000)]
Fix 1797488: use set_link() rather than modifying the members directly.
git-svn-id: http://svn.voria.com/code@717
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 21:04:25 +0000 (21:04 +0000)]
Initialise a sine valuenode from its parent.
git-svn-id: http://svn.voria.com/code@716
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 19:56:56 +0000 (19:56 +0000)]
Header file change to go with the last commit.
git-svn-id: http://svn.voria.com/code@715
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 19:55:31 +0000 (19:55 +0000)]
Initialise 'scale' valuenodes when converting, rather than using preset values.
git-svn-id: http://svn.voria.com/code@714
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 19:49:29 +0000 (19:49 +0000)]
Initialise subtract valuenodes from the value they are converted from, rather than using a preset value.
git-svn-id: http://svn.voria.com/code@713
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 19:44:05 +0000 (19:44 +0000)]
Round integers towards zero in linear convert type.
git-svn-id: http://svn.voria.com/code@712
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 19:41:49 +0000 (19:41 +0000)]
Use a switch statement in the operator() like the other valuenode types do.
git-svn-id: http://svn.voria.com/code@711
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 19:33:54 +0000 (19:33 +0000)]
Round integer subtraction convertions to the nearest integer.
git-svn-id: http://svn.voria.com/code@710
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 19:25:56 +0000 (19:25 +0000)]
Fix a crash when converting an integer type to 'subtract'.
git-svn-id: http://svn.voria.com/code@709
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 12:54:44 +0000 (12:54 +0000)]
Implement feature request 1741236: Use 'Synfig Animation N' (N=1,2,3,...) rather than 'untitledN' (N=0,1,2,...) as the default file name. Put the default name in the file selector dialog when saving.
git-svn-id: http://svn.voria.com/code@708
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 11:07:04 +0000 (11:07 +0000)]
Put the 'paste_canvas' and 'PasteCanvas' mentions on a single line to make things clearer when 'grep'ing the code.
git-svn-id: http://svn.voria.com/code@707
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 11:02:19 +0000 (11:02 +0000)]
Renaming the PasteCanvas layer in r705 missed the other references to the name elsewhere in the code. This fixes it. We should use a #define'd value so it only needs to be changed in one place, really. See also r590 and r597.
git-svn-id: http://svn.voria.com/code@706
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 01:18:13 +0000 (01:18 +0000)]
Revert r590. Use the same names for PasteCanvas, SolidColor, and MotionBlur as in previous releases. Recognise the lower_case names, and convert them back to the previous names on save.
git-svn-id: http://svn.voria.com/code@705
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 18 Sep 2007 00:50:47 +0000 (00:50 +0000)]
Removed unused members/prototypes.
git-svn-id: http://svn.voria.com/code@704
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 23:53:22 +0000 (23:53 +0000)]
When saving a file, remember the directory it was saved to, and use that as the default directory in future. Like was already the case when loading a file.
git-svn-id: http://svn.voria.com/code@703
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 23:36:30 +0000 (23:36 +0000)]
Removed more unused code. There were 4 'save_as' functions, and 2 of them were never used, so I removed them.
git-svn-id: http://svn.voria.com/code@702
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 23:01:17 +0000 (23:01 +0000)]
App::dialog_saveas_file() and App::dialog_save_file() are identical. Deleted one of them.
git-svn-id: http://svn.voria.com/code@701
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 22:39:21 +0000 (22:39 +0000)]
Saving a document (I'm going to call them documents because I don't know what else to call them - I mean .sif or .sifz files) without specifying an extension should add the default extension (.sifz) to the name you specify, but that's not working if the full path includes a dot. This change fixes that bug.
git-svn-id: http://svn.voria.com/code@700
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 21:49:58 +0000 (21:49 +0000)]
r679 introduced an error, assuming 'filename' would never be an absolute path. This fixes it.
git-svn-id: http://svn.voria.com/code@699
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 20:49:57 +0000 (20:49 +0000)]
Save as .sifz by default (if there is no '.' in the saved file's path).
git-svn-id: http://svn.voria.com/code@698
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 20:13:30 +0000 (20:13 +0000)]
Replaced the whitespace that I removed in r467. Now that the files are compressed it doesn't make too much difference, and makes for easier text-editing of the files.
git-svn-id: http://svn.voria.com/code@697
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 20:01:56 +0000 (20:01 +0000)]
Compressed .sif files to .sifz to save space.
git-svn-id: http://svn.voria.com/code@696
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 19:58:43 +0000 (19:58 +0000)]
Compressed .sif to .sifz to save space.
git-svn-id: http://svn.voria.com/code@695
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 17:59:01 +0000 (17:59 +0000)]
Use compression when saving as a .sifz file.
git-svn-id: http://svn.voria.com/code@694
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 15:59:35 +0000 (15:59 +0000)]
Oops. TCB is called "auto" in the SIF file.
git-svn-id: http://svn.voria.com/code@693
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 15:43:30 +0000 (15:43 +0000)]
Fix 1778930: TCB is the default waypoint type except for angles, which default to linear. Also fixed a copy/paste typo in an error message. Still need to get angle waypoints to default to linear interpolation on creation.
git-svn-id: http://svn.voria.com/code@692
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 13:51:19 +0000 (13:51 +0000)]
Tidying up a little.
git-svn-id: http://svn.voria.com/code@691
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 13:47:16 +0000 (13:47 +0000)]
Typos.
git-svn-id: http://svn.voria.com/code@690
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 13:34:22 +0000 (13:34 +0000)]
Fixed the View>Play menu entry properly. It now waits for each frame to display before rendering the next one.
git-svn-id: http://svn.voria.com/code@689
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 12:24:08 +0000 (12:24 +0000)]
The View>Play menu entry now does something. It doesn't work particularly well, but on simple animations it works.
git-svn-id: http://svn.voria.com/code@688
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 11:50:46 +0000 (11:50 +0000)]
Don't accept an empty input when setting a paste canvas' layer's 'canvas' parameter using 'other...'. Doing so causes an infinite loop, much like in bug #1796110.
git-svn-id: http://svn.voria.com/code@687
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 11:35:02 +0000 (11:35 +0000)]
Fix 1796110: don't try finding the specified canvas when no canvas is specified (ie. when the user clicks 'cancel' instead of typing a canvas name using 'other...' from a paste canvas layer's "canvas" parameter.
git-svn-id: http://svn.voria.com/code@686
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 10:04:05 +0000 (10:04 +0000)]
Fix 1796068: when a valuenode changes, ValueNode::on_changed() will now signal all its parent canvases.
git-svn-id: http://svn.voria.com/code@685
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 17 Sep 2007 00:00:20 +0000 (00:00 +0000)]
Fix a copy-paste typo when applying the 'scale' convert type to a color. Previously the red component was used for R, G, and B in the resulting value.
git-svn-id: http://svn.voria.com/code@684
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 16 Sep 2007 22:52:14 +0000 (22:52 +0000)]
Fix 1795922: loadcanvas.cpp was special-casing subtract valuenodes when there's no need to - the generic code works better.
git-svn-id: http://svn.voria.com/code@683
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 16 Sep 2007 22:06:58 +0000 (22:06 +0000)]
Fix 1795913. Subtract now works with colors.
git-svn-id: http://svn.voria.com/code@682
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 16 Sep 2007 22:05:46 +0000 (22:05 +0000)]
Rearranged a bit so I can see what's missing.
git-svn-id: http://svn.voria.com/code@681
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 16 Sep 2007 19:28:39 +0000 (19:28 +0000)]
I'm working on bug 1779592. The problem is related to the 'no_egress_on_selection_change' variable, and the double-negatives aren't making things any less confusing. So I renamed it to 'egress_on_selection_change' instead, and changed the sense of its value.
git-svn-id: http://svn.voria.com/code@680
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 16 Sep 2007 17:47:23 +0000 (17:47 +0000)]
Fix 1383736: use absolute pathnames when setting up Gtk file selector dialogs.
git-svn-id: http://svn.voria.com/code@679
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 16 Sep 2007 14:11:39 +0000 (14:11 +0000)]
Fix 1795802: Fixed a crash in the animated gradient code I wrote yesterday. Added comments. Added code to animate 'hidden' cpoints (ie. when there are more than 2 cpoints in the same place in a gradient).
git-svn-id: http://svn.voria.com/code@678
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 16 Sep 2007 00:54:26 +0000 (00:54 +0000)]
Multiplying a gradient by zero empties it.
git-svn-id: http://svn.voria.com/code@677
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 15 Sep 2007 20:11:31 +0000 (20:11 +0000)]
Fix 1568818: Animate gradients.
git-svn-id: http://svn.voria.com/code@676
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 15 Sep 2007 20:10:31 +0000 (20:10 +0000)]
Partially fix 1568818: Define mathematical operators so that we can animate gradients.
git-svn-id: http://svn.voria.com/code@675
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 15 Sep 2007 20:06:08 +0000 (20:06 +0000)]
Partially fix 1568818: Declare mathematical operators so that we can animate gradients over time.
git-svn-id: http://svn.voria.com/code@674
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 15 Sep 2007 07:56:41 +0000 (07:56 +0000)]
I'm told that it's a bad idea to inherit from std::vector (because it has no virtual destructor), so use a vector member variable instead.
git-svn-id: http://svn.voria.com/code@673
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 14 Sep 2007 22:34:53 +0000 (22:34 +0000)]
Made a few more of the member variables in class WorkArea private.
git-svn-id: http://svn.voria.com/code@672
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 14 Sep 2007 15:45:10 +0000 (15:45 +0000)]
Fix 1794374 for 'gradient rotate' valuenodes.
git-svn-id: http://svn.voria.com/code@671
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 14 Sep 2007 15:38:38 +0000 (15:38 +0000)]
Fix 1794374 for 'repeat gradient' valuenodes.
git-svn-id: http://svn.voria.com/code@670
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 14 Sep 2007 13:15:06 +0000 (13:15 +0000)]
Some member variables were public, but never used publically. Made them private instead to make it clearer how they can be modified.
git-svn-id: http://svn.voria.com/code@669
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 14 Sep 2007 01:33:11 +0000 (01:33 +0000)]
Fix 1794006: when removing a CPoint, signal that the gradient changed, so things can be redrawn.
git-svn-id: http://svn.voria.com/code@668
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 13 Sep 2007 22:31:57 +0000 (22:31 +0000)]
Allow the user to specify the start and end colors when repeating a gradient.
git-svn-id: http://svn.voria.com/code@667
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 13 Sep 2007 16:53:01 +0000 (16:53 +0000)]
Add a new type of valuenode conversion for gradients: "repeat gradient" which lets you loop a gradient a specified number of times. See wiki.synfig.com/Convert#Repeat_Gradient .
git-svn-id: http://svn.voria.com/code@666
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 13 Sep 2007 14:54:42 +0000 (14:54 +0000)]
Spelling corrections.
git-svn-id: http://svn.voria.com/code@665
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 13 Sep 2007 14:51:21 +0000 (14:51 +0000)]
Spelling corrections.
git-svn-id: http://svn.voria.com/code@664
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 13 Sep 2007 12:44:31 +0000 (12:44 +0000)]
When a curve gradient layer's bline is looped and perpendicular is checked, spread the gradient over the entire loop. Previously the last bline wasn't used.
git-svn-id: http://svn.voria.com/code@663
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Thu, 13 Sep 2007 07:54:38 +0000 (07:54 +0000)]
Add some changes to NEWS
git-svn-id: http://svn.voria.com/code@662
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Thu, 13 Sep 2007 07:44:43 +0000 (07:44 +0000)]
Add some changes to NEWS
git-svn-id: http://svn.voria.com/code@661
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Thu, 13 Sep 2007 07:36:56 +0000 (07:36 +0000)]
Add some changes to NEWS
git-svn-id: http://svn.voria.com/code@660
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 12 Sep 2007 21:01:33 +0000 (21:01 +0000)]
A few more typos.
git-svn-id: http://svn.voria.com/code@659
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 12 Sep 2007 20:36:47 +0000 (20:36 +0000)]
Since the last change will require a recompilation of pretty much everything, I took this opportunity to fix some spelling mistakes that were annoying me.
git-svn-id: http://svn.voria.com/code@658
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 12 Sep 2007 20:14:25 +0000 (20:14 +0000)]
Fix 1793306: dirname() doesn't work on absolute paths. Also fixed basename(). Fixed a potentially infinite loop, and a couple of other small changes.
git-svn-id: http://svn.voria.com/code@657
1f10aa63-cdf2-0310-b900-
c93c546f37ac
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