Bugs item #1939884, was opened at 2008-04-10 22:05
Message generated for change (Comment added) made by zelgadis_ksee
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1939884&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Konstantin Dmitriev (zelgadis_ksee)
Assigned to: Nobody/Anonymous (nobody)
Summary: Exclude ducks linked to bline from selection by Ctrl+A

Initial Comment:
I think the ducks which were linked to bline not have to be selected by "select 
all" command (i.e. Ctrl+A).

Try following:

1. Create two blines
2. Link vertex from one bline to another bline
3. Ctrl+A
4. Move selected ducks with Normal Tool

You will see strange things happening.

If we exclude linked ducks from selection, then moving will be OK.

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

>Comment By: Konstantin Dmitriev (zelgadis_ksee)
Date: 2008-04-12 06:56

Message:
Logged In: YES 
user_id=1438889
Originator: YES

Hmmm... Another thought.
If we exclude tangent from selection then moving will be ok, but rotation
not! Rotation will be OK if tangent is selected. Don't know how we should
deal with it... :(

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

Comment By: Konstantin Dmitriev (zelgadis_ksee)
Date: 2008-04-11 22:52

Message:
Logged In: YES 
user_id=1438889
Originator: YES

Here's video how it looks for me (synfig is patched by path above):
http://zelgadis.profusehost.net/files/synfig/select-all-case.ogg

Firsly I linking vertex to bline.
Then - Select All. (the synfig is patched and linked verticle is not
selected, but its tangent is)
Trying to move blines. Their shape is changed.
Then I do Undo.
Deselecting tangent of linked verticle.
Trying to move - the shape is OK.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2008-04-11 06:16

Message:
Logged In: NO 

I tried. But we need also exclude tangent ducks from selection. We mus
exclude them even in case they are not linked to bline but their vertex
duck is. I tested it by manualy deselecting unneeded ducks.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2008-04-11 04:27

Message:
Logged In: NO 

I tried excluding BLineCalcVertex ducks from 'select all ducks' but it
doesn't really help.

Here's a patch if you want to try it:

--- a/synfig-studio/trunk/src/gtkmm/duckmatic.cpp
+++ b/synfig-studio/trunk/src/gtkmm/duckmatic.cpp
@@ -267,6 +267,10 @@ Duckmatic::is_duck_group_selectable(const
etl::handle<Duck>& x)const
                   !layer->get_param("children_lock").get(bool()))
                        return false;
        }
+       else if (x->get_value_desc().parent_is_value_node())
+               if
(ValueNode_BLineCalcVertex::Handle::cast_dynamic(x->get_value_desc().get_value_node()))
+                       return false;
+
        return true;
 }
 


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

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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to