+ if(value_desc.is_const())
+ return false;
+ if(value_desc.is_value_node() && ValueNode_Const::Handle::cast_dynamic(value_desc.get_value_node()))
+ return false;
+ // don't allow Duplicate ValueNodes in the Children dialog to be disconnected
+ if(value_desc.is_value_node() &&
+ ValueNode_Duplicate::Handle::cast_dynamic(value_desc.get_value_node()) &&
+ !value_desc.parent_is_layer_param() &&
+ !value_desc.parent_is_value_node())
+ return false;
+ return true;