def set_aux1(node_tree, aux_property): """Set second texture generation scale. :param node_tree: node tree of current shader :type node_tree: bpy.types.NodeTree :param aux_property: secondary specular color represented with property group :type aux_property: bpy.types.IDPropertyGroup """ if tg1.is_set(node_tree): tg1.set_scale(node_tree, aux_property[0]['value'], aux_property[1]['value'])