Bugs item #1785598, was opened at 2007-08-31 15:47
Message generated for change (Comment added) made by dooglus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1785598&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Aurore "Rore" D. (rore_)
Assigned to: Nobody/Anonymous (nobody)
Summary: studio crash when marking all Bline vertices as Off

Initial Comment:
Synfig-studio crashes when all the vertices from a BLine shape are marked as 
"Activepoint Off", and a keyframe exist.

Steps to reproduce:

Create a new canvas, 4 second long for example.
Create a BLine shape (you can keep it simple, 2 or 3 ducks for example)

Switch to Animate Edit Mode.
Add a Keyframe at 0s. 

Select the BLine, go to 2s. On the Params dialog, unfold the vertices list, 
right-click on each Vertex (from the list, or on the canvas) and select "Mark 
ActivePoint as Off".

Now click between 0s and 2s on the timerack ---> *crash*

Note that if you click between 2s and 4s it does not crash. It seems that it 
crashes only if there's a click on the timetrack between a keyframe and the 
moment where the Activepoints are marked as Off. 

If there's only waypoints and no keyframes, it does not seem to crash either.



synfig(26070): warning: widget_curves.cpp:226 DEBUGPOINT
synfig(26070): warning: widget_curves.cpp:226 DEBUGPOINT
synfig(26070): warning: ValueNode_BLine::operator()():No entries in ret_list
synfig(26070): warning: ValueNode_BLine::operator()():No entries in ret_list

(synfigstudio:26070): Gtk-WARNING **: node type doesn't match 2 (menu-main is 
type 7)
synfig(26070): warning: layeractionmanager.cpp:310 DEBUGPOINT
synfig(26070): warning: ValueNode_BLine::operator()():No entries in ret_list
synfig(26070): warning: Region: incorrect type on bline, layer disabled
synfig(26070): info: STATE NORMAL: Received Refresh Ducks
synfig(26070): warning: ValueNode_BLine::operator()():No entries in ret_list
synfig(26070): warning: dock_navigator.cpp:182 DEBUGPOINT
synfig(26070): warning: ValueNode_BLine::operator()():No entries in ret_list
synfig(26070): warning: ValueNode_BLine::operator()():No entries in ret_list
Erreur de segmentation


----------------------------------------------------------------------

>Comment By: dooglus (dooglus)
Date: 2007-09-01 00:49

Message:
Logged In: YES 
user_id=1546005
Originator: NO

The previous change wasn't enough - there was another bug there too:

Working file(s): valuenode_bline.cpp
------------------------------------------------------------------------
r570 | dooglus | 2007-09-01 00:40:01 +0200 (Sat, 01 Sep 2007) | 2 lines

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.


----------------------------------------------------------------------

Comment By: dooglus (dooglus)
Date: 2007-08-31 22:33

Message:
Logged In: YES 
user_id=1546005
Originator: NO

Fixed in svn r569.

Working file(s): outline.cpp
------------------------------------------------------------------------
r569 | dooglus | 2007-08-31 22:24:52 +0200 (Fri, 31 Aug 2007) | 2 lines

Fix 1785598: studio crash when marking all Bline vertices as Off.  Don't
attempt to draw an outline that contains no verticies.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1785598&group_id=144022

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to