Fix i18n messages extraction script, and a few more UI messages...
This commit is contained in:
@@ -227,6 +227,8 @@ def dump_rna_messages(msgs, reports, settings, verbose=False):
|
|||||||
# More builtin classes we don't need to parse.
|
# More builtin classes we don't need to parse.
|
||||||
blacklist_rna_class |= {cls for cls in bpy.types.Property.__subclasses__()}
|
blacklist_rna_class |= {cls for cls in bpy.types.Property.__subclasses__()}
|
||||||
|
|
||||||
|
# None of this seems needed anymore, and it's broken anyway with current master (blender 2.79.1)...
|
||||||
|
"""
|
||||||
_rna = {getattr(bpy.types, cls) for cls in dir(bpy.types)}
|
_rna = {getattr(bpy.types, cls) for cls in dir(bpy.types)}
|
||||||
|
|
||||||
# Classes which are attached to collections can be skipped too, these are api access only.
|
# Classes which are attached to collections can be skipped too, these are api access only.
|
||||||
@@ -276,6 +278,7 @@ def dump_rna_messages(msgs, reports, settings, verbose=False):
|
|||||||
#op = get_instance(idname)
|
#op = get_instance(idname)
|
||||||
#if 'INTERNAL' in path_resolve(op, "bl_options"):
|
#if 'INTERNAL' in path_resolve(op, "bl_options"):
|
||||||
#blacklist_rna_class.add(idname)
|
#blacklist_rna_class.add(idname)
|
||||||
|
"""
|
||||||
|
|
||||||
return blacklist_rna_class
|
return blacklist_rna_class
|
||||||
|
|
||||||
|
@@ -190,7 +190,7 @@ void PAINT_OT_vertex_color_from_weight(wmOperatorType *ot)
|
|||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name = "Vertex Color from Weight";
|
ot->name = "Vertex Color from Weight";
|
||||||
ot->idname = "PAINT_OT_vertex_color_from_weight";
|
ot->idname = "PAINT_OT_vertex_color_from_weight";
|
||||||
ot->description = "Converts active weight into greyscale vertex colors";
|
ot->description = "Convert active weight into grey scale vertex colors";
|
||||||
|
|
||||||
/* api callback */
|
/* api callback */
|
||||||
ot->exec = vertex_paint_from_weight_exec;
|
ot->exec = vertex_paint_from_weight_exec;
|
||||||
|
@@ -1997,8 +1997,8 @@ static void rna_def_modifier_boolean(BlenderRNA *brna)
|
|||||||
/* BMesh intersection options */
|
/* BMesh intersection options */
|
||||||
static EnumPropertyItem debug_items[] = {
|
static EnumPropertyItem debug_items[] = {
|
||||||
{eBooleanModifierBMeshFlag_BMesh_Separate, "SEPARATE", 0, "Separate", ""},
|
{eBooleanModifierBMeshFlag_BMesh_Separate, "SEPARATE", 0, "Separate", ""},
|
||||||
{eBooleanModifierBMeshFlag_BMesh_NoDissolve, "NO_DISSOLVE", 0, "NoDissolve", ""},
|
{eBooleanModifierBMeshFlag_BMesh_NoDissolve, "NO_DISSOLVE", 0, "No Dissolve", ""},
|
||||||
{eBooleanModifierBMeshFlag_BMesh_NoConnectRegions, "NO_CONNECT_REGIONS", 0, "NoConnectRegions", ""},
|
{eBooleanModifierBMeshFlag_BMesh_NoConnectRegions, "NO_CONNECT_REGIONS", 0, "No Connect Regions", ""},
|
||||||
{0, NULL, 0, NULL, NULL}
|
{0, NULL, 0, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user