Updates/fixes for new UI messages.
This commit is contained in:
@@ -363,6 +363,7 @@ class SpellChecker():
|
||||
"icosphere",
|
||||
"inpaint",
|
||||
"lightmap",
|
||||
"linearlight",
|
||||
"lossless", "lossy",
|
||||
"matcap",
|
||||
"midtones",
|
||||
@@ -372,6 +373,7 @@ class SpellChecker():
|
||||
"nurb", "nurbs",
|
||||
"perlin",
|
||||
"phong",
|
||||
"pinlight",
|
||||
"qi",
|
||||
"radiosity",
|
||||
"raycasting",
|
||||
@@ -379,6 +381,7 @@ class SpellChecker():
|
||||
"renderfarm",
|
||||
"scanfill",
|
||||
"shader", "shaders",
|
||||
"softlight",
|
||||
"specular", "specularity",
|
||||
"spillmap",
|
||||
"sobel",
|
||||
@@ -386,6 +389,7 @@ class SpellChecker():
|
||||
"tonemap",
|
||||
"toon",
|
||||
"timecode",
|
||||
"vividlight",
|
||||
"voronoi",
|
||||
"voxel", "voxels",
|
||||
"vsync",
|
||||
|
||||
@@ -562,7 +562,7 @@ void PAINTCURVE_OT_select(wmOperatorType *ot)
|
||||
/* properties */
|
||||
RNA_def_int_vector(ot->srna, "location", 2, NULL, 0, SHRT_MAX,
|
||||
"Location", "Location of vertex in area space", 0, SHRT_MAX);
|
||||
prop = RNA_def_boolean(ot->srna, "toggle", false, "Toggle", "Select/Deselect all");
|
||||
prop = RNA_def_boolean(ot->srna, "toggle", false, "Toggle", "(De)select all");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
prop = RNA_def_boolean(ot->srna, "extend", false, "Extend", "Extend selection");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
|
||||
@@ -1392,7 +1392,7 @@ void paint_proj_mesh_data_ensure(bContext *C, Object *ob, wmOperator *op)
|
||||
layernum = CustomData_number_of_layers(&me->pdata, CD_MTEXPOLY);
|
||||
|
||||
if (layernum == 0) {
|
||||
BKE_reportf(op->reports, RPT_WARNING, "Object did not have UV map. Recommend manual unwrap");
|
||||
BKE_reportf(op->reports, RPT_WARNING, "Object did not have UV map, manual unwrap recommended");
|
||||
|
||||
ED_mesh_uv_texture_add(me, "UVMap", true);
|
||||
}
|
||||
|
||||
@@ -56,7 +56,8 @@ static EnumPropertyItem sculpt_stroke_method_items[] = {
|
||||
{BRUSH_AIRBRUSH, "AIRBRUSH", 0, "Airbrush", "Keep applying paint effect while holding mouse (spray)"},
|
||||
{BRUSH_ANCHORED, "ANCHORED", 0, "Anchored", "Keep the brush anchored to the initial location"},
|
||||
{BRUSH_LINE, "LINE", 0, "Line", "Draw a line with dabs separated according to spacing"},
|
||||
{BRUSH_CURVE, "CURVE", 0, "Curve", "Define the stroke curve with a bezier curve. Dabs are separated according to spacing"},
|
||||
{BRUSH_CURVE, "CURVE", 0, "Curve",
|
||||
"Define the stroke curve with a bezier curve (dabs are separated according to spacing)"},
|
||||
{0, NULL, 0, NULL, NULL}
|
||||
};
|
||||
|
||||
|
||||
@@ -3967,19 +3967,22 @@ static void rna_def_userdef_system(BlenderRNA *brna)
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_text_update");
|
||||
|
||||
func = RNA_def_function(srna, "is_occlusion_query_supported", "rna_Scene_GPU_selection_supported");
|
||||
parm = RNA_def_boolean(func, "is_supported", 0, "Occlusion Query Support", "Check if GPU supports Occlusion Queries");
|
||||
parm = RNA_def_boolean(func, "is_supported", 0, "Occlusion Query Support",
|
||||
"Check if GPU supports Occlusion Queries");
|
||||
RNA_def_function_return(func, parm);
|
||||
|
||||
prop = RNA_def_property(srna, "select_method", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "gpu_select_method");
|
||||
RNA_def_property_enum_items(prop, gpu_select_method_items);
|
||||
RNA_def_property_ui_text(prop, "Selection Method", "Use OpenGL occlusion queries o selection rendermode to accelerate selection");
|
||||
RNA_def_property_ui_text(prop, "Selection Method",
|
||||
"Use OpenGL occlusion queries or selection render mode to accelerate selection");
|
||||
|
||||
/* Full scene anti-aliasing */
|
||||
prop = RNA_def_property(srna, "multi_sample", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_bitflag_sdna(prop, NULL, "ogl_multisamples");
|
||||
RNA_def_property_enum_items(prop, multi_sample_levels);
|
||||
RNA_def_property_ui_text(prop, "MultiSample", "Enable OpenGL multi-sampling, only for systems that support it, requires restart");
|
||||
RNA_def_property_ui_text(prop, "MultiSample",
|
||||
"Enable OpenGL multi-sampling, only for systems that support it, requires restart");
|
||||
|
||||
prop = RNA_def_property(srna, "use_region_overlap", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "uiflag2", USER_REGION_OVERLAP);
|
||||
|
||||
Reference in New Issue
Block a user