And more UI messages issues fixing... Thanks again to Gabriel Gazzán and Leon Cheung!
This commit is contained in:
		@@ -368,7 +368,10 @@ FILE_NAME_POT = os.path.join(TRUNK_PO_DIR, ".".join((DOMAIN, "pot")))
 | 
			
		||||
 | 
			
		||||
# Other py files that should be searched for ui strings, relative to SOURCE_DIR.
 | 
			
		||||
# Needed for Cycles, currently...
 | 
			
		||||
CUSTOM_PY_UI_FILES = [os.path.join("intern", "cycles", "blender", "addon", "ui.py"),]
 | 
			
		||||
CUSTOM_PY_UI_FILES = [
 | 
			
		||||
    os.path.join("intern", "cycles", "blender", "addon", "ui.py"),
 | 
			
		||||
    os.path.join("release", "scripts", "modules", "rna_prop_ui.py"),
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# A cache storing validated msgids, to avoid re-spellchecking them.
 | 
			
		||||
 
 | 
			
		||||
@@ -148,7 +148,7 @@ def draw(layout, context, context_member, property_type, use_edit=True):
 | 
			
		||||
 | 
			
		||||
        if use_edit:
 | 
			
		||||
            row = split.row(align=True)
 | 
			
		||||
            props = row.operator("wm.properties_edit", text="edit")
 | 
			
		||||
            props = row.operator("wm.properties_edit", text="Edit")
 | 
			
		||||
            assign_props(props, val_draw, key)
 | 
			
		||||
 | 
			
		||||
            props = row.operator("wm.properties_remove", text="", icon='ZOOMOUT')
 | 
			
		||||
 
 | 
			
		||||
@@ -52,7 +52,7 @@ DefNode( ShaderNode,     SH_NODE_CURVE_RGB,       def_rgb_curve,          "CURVE
 | 
			
		||||
DefNode( ShaderNode,     SH_NODE_CAMERA,          0,                      "CAMERA",         CameraData,       "Camera Data",       ""              )
 | 
			
		||||
DefNode( ShaderNode,     SH_NODE_MATH,            def_math,               "MATH",           Math,             "Math",              ""              )
 | 
			
		||||
DefNode( ShaderNode,     SH_NODE_VECT_MATH,       def_vector_math,        "VECT_MATH",      VectorMath,       "Vector Math",       ""              )
 | 
			
		||||
DefNode( ShaderNode,     SH_NODE_SQUEEZE,         0,                      "SQUEEZE",        Squeeze,          "Squeeze",           ""              )
 | 
			
		||||
DefNode( ShaderNode,     SH_NODE_SQUEEZE,         0,                      "SQUEEZE",        Squeeze,          "Squeeze Value",     ""              )
 | 
			
		||||
DefNode( ShaderNode,     SH_NODE_MATERIAL_EXT,    def_sh_material,        "MATERIAL_EXT",   ExtendedMaterial, "Extended Material", ""              )
 | 
			
		||||
DefNode( ShaderNode,     SH_NODE_INVERT,          0,                      "INVERT",         Invert,           "Invert",            ""              )
 | 
			
		||||
DefNode( ShaderNode,     SH_NODE_SEPRGB,          0,                      "SEPRGB",         SeparateRGB,      "Separate RGB",      ""              )
 | 
			
		||||
@@ -205,8 +205,8 @@ DefNode( TextureNode,    TEX_NODE_VIEWER,         0,                      "VIEWE
 | 
			
		||||
DefNode( TextureNode,    TEX_NODE_TRANSLATE,      0,                      "TRANSLATE",      Translate,        "Translate",         ""              )
 | 
			
		||||
DefNode( TextureNode,    TEX_NODE_COORD,          0,                      "COORD",          Coordinates,      "Coordinates",       ""              )
 | 
			
		||||
DefNode( TextureNode,    TEX_NODE_DISTANCE,       0,                      "DISTANCE",       Distance,         "Distance",          ""              )
 | 
			
		||||
DefNode( TextureNode,    TEX_NODE_COMPOSE,        0,                      "COMPOSE",        Compose,          "Compose",           ""              )
 | 
			
		||||
DefNode( TextureNode,    TEX_NODE_DECOMPOSE,      0,                      "DECOMPOSE",      Decompose,        "Decompose",         ""              )
 | 
			
		||||
DefNode( TextureNode,    TEX_NODE_COMPOSE,        0,                      "COMPOSE",        Compose,          "Combine RGBA",      ""              )
 | 
			
		||||
DefNode( TextureNode,    TEX_NODE_DECOMPOSE,      0,                      "DECOMPOSE",      Decompose,        "Separate RGBA",     ""              )
 | 
			
		||||
DefNode( TextureNode,    TEX_NODE_VALTONOR,       0,                      "VALTONOR",       ValToNor,         "Value to Normal",   ""              )
 | 
			
		||||
DefNode( TextureNode,    TEX_NODE_SCALE,          0,                      "SCALE",          Scale,            "Scale",             ""              )
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -61,7 +61,7 @@ void register_node_type_tex_compose(bNodeTreeType *ttype)
 | 
			
		||||
{
 | 
			
		||||
	static bNodeType ntype;
 | 
			
		||||
	
 | 
			
		||||
	node_type_base(ttype, &ntype, TEX_NODE_COMPOSE, "Compose RGBA", NODE_CLASS_OP_COLOR, 0);
 | 
			
		||||
	node_type_base(ttype, &ntype, TEX_NODE_COMPOSE, "Combine RGBA", NODE_CLASS_OP_COLOR, 0);
 | 
			
		||||
	node_type_socket_templates(&ntype, inputs, outputs);
 | 
			
		||||
	node_type_size(&ntype, 100, 60, 150);
 | 
			
		||||
	node_type_exec(&ntype, exec);
 | 
			
		||||
 
 | 
			
		||||
@@ -82,7 +82,7 @@ void register_node_type_tex_decompose(bNodeTreeType *ttype)
 | 
			
		||||
{
 | 
			
		||||
	static bNodeType ntype;
 | 
			
		||||
	
 | 
			
		||||
	node_type_base(ttype, &ntype, TEX_NODE_DECOMPOSE, "Decompose RGBA", NODE_CLASS_OP_COLOR, 0);
 | 
			
		||||
	node_type_base(ttype, &ntype, TEX_NODE_DECOMPOSE, "Separate RGBA", NODE_CLASS_OP_COLOR, 0);
 | 
			
		||||
	node_type_socket_templates(&ntype, inputs, outputs);
 | 
			
		||||
	node_type_size(&ntype, 100, 60, 150);
 | 
			
		||||
	node_type_exec(&ntype, exec);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user