Usual edits/fixes to new UI messages...

This commit is contained in:
2013-08-06 14:55:00 +00:00
parent ad5025ea25
commit 0214dac604
3 changed files with 8 additions and 5 deletions

View File

@@ -72,6 +72,7 @@ class SpellChecker():
"bandnoise", "bandnoise",
"bindcode", "bindcode",
"bitrate", "bitrate",
"blackbody",
"blendfile", "blendfile",
"blendin", "blendin",
"bonesize", "bonesize",
@@ -361,6 +362,7 @@ class SpellChecker():
"timecode", "timecode",
"voronoi", "voronoi",
"voxel", "voxels", "voxel", "voxels",
"vsync",
"wireframe", "wireframe",
"zmask", "zmask",
"ztransp", "ztransp",

View File

@@ -713,7 +713,8 @@ static void rna_def_canvas_surface(BlenderRNA *brna)
prop = RNA_def_property(srna, "wave_smoothness", PROP_FLOAT, PROP_NONE); prop = RNA_def_property(srna, "wave_smoothness", PROP_FLOAT, PROP_NONE);
RNA_def_property_range(prop, 0.0, 10.0); RNA_def_property_range(prop, 0.0, 10.0);
RNA_def_property_ui_range(prop, 0.1, 5.0, 1, 2); RNA_def_property_ui_range(prop, 0.1, 5.0, 1, 2);
RNA_def_property_ui_text(prop, "Smoothness", "Limit maximum steepness of wave slope between simulation points. Use higher values for smoother waves at expense of reduced detail"); RNA_def_property_ui_text(prop, "Smoothness", "Limit maximum steepness of wave slope between simulation points "
"(use higher values for smoother waves at expense of reduced detail)");
prop = RNA_def_property(srna, "use_wave_open_border", PROP_BOOLEAN, PROP_NONE); prop = RNA_def_property(srna, "use_wave_open_border", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flags", MOD_DPAINT_WAVE_OPEN_BORDERS); RNA_def_property_boolean_sdna(prop, NULL, "flags", MOD_DPAINT_WAVE_OPEN_BORDERS);

View File

@@ -3145,14 +3145,14 @@ static void rna_def_scene_game_data(BlenderRNA *brna)
}; };
static EnumPropertyItem vsync_items[] = { static EnumPropertyItem vsync_items[] = {
{VSYNC_OFF, "OFF", 0, "Off", "Disables vsync"}, {VSYNC_OFF, "OFF", 0, "Off", "Disable vsync"},
{VSYNC_ON, "ON", 0, "On", "Enables vsync"}, {VSYNC_ON, "ON", 0, "On", "Enable vsync"},
{VSYNC_ADAPTIVE, "ADAPTIVE", 0, "Adaptive", "Enables adaptive vsync (if supported)"}, {VSYNC_ADAPTIVE, "ADAPTIVE", 0, "Adaptive", "Enable adaptive vsync (if supported)"},
{0, NULL, 0, NULL, NULL} {0, NULL, 0, NULL, NULL}
}; };
static EnumPropertyItem storage_items[] = { static EnumPropertyItem storage_items[] = {
{RAS_STORE_AUTO, "AUTO", 0, "Auto Select", "Chooses the best supported mode"}, {RAS_STORE_AUTO, "AUTO", 0, "Auto Select", "Choose the best supported mode"},
{RAS_STORE_IMMEDIATE, "IMMEDIATE", 0, "Immediate Mode", "Slowest performance, requires OpenGL (any version)"}, {RAS_STORE_IMMEDIATE, "IMMEDIATE", 0, "Immediate Mode", "Slowest performance, requires OpenGL (any version)"},
{RAS_STORE_VA, "VERTEX_ARRAY", 0, "Vertex Arrays", "Better performance, requires at least OpenGL 1.1"}, {RAS_STORE_VA, "VERTEX_ARRAY", 0, "Vertex Arrays", "Better performance, requires at least OpenGL 1.1"},
#if 0 /* XXX VBOS are currently disabled since they cannot beat vertex array with display lists in performance. */ #if 0 /* XXX VBOS are currently disabled since they cannot beat vertex array with display lists in performance. */