summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3174d69)
if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
+
+ // don't allow the Index parameter of the Duplicate layer to be disconnected
+ if(value_desc.parent_is_layer_param() && value_desc.get_layer()->get_name() == "duplicate" && value_desc.get_param_name() == "index")
+ return false;
if(!value_desc.parent_is_canvas() && value_desc.is_value_node() && value_desc.get_value_node()->rcount()>1)
return true;
if(value_desc.is_const())
if(!value_desc.parent_is_canvas() && value_desc.is_value_node() && value_desc.get_value_node()->rcount()>1)
return true;
if(value_desc.is_const())