A big set of UI messages fixes and tweaks! No functional changes.
This commit is contained in:
@@ -1755,13 +1755,13 @@ static void rna_def_scene_game_recast_data(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "region_min_size", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "regionminsize");
|
||||
RNA_def_property_ui_range(prop, 0, 150, 1, 2);
|
||||
RNA_def_property_ui_text(prop, "Min Region Size", "Minimum regions size. Smaller regions will be deleted");
|
||||
RNA_def_property_ui_text(prop, "Min Region Size", "Minimum regions size (smaller regions will be deleted)");
|
||||
RNA_def_property_update(prop, NC_SCENE, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "region_merge_size", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "regionmergesize");
|
||||
RNA_def_property_ui_range(prop, 0, 150, 1, 2);
|
||||
RNA_def_property_ui_text(prop, "Merged Region Size", "Minimum regions size. Smaller regions will be merged");
|
||||
RNA_def_property_ui_text(prop, "Merged Region Size", "Minimum regions size (smaller regions will be merged)");
|
||||
RNA_def_property_update(prop, NC_SCENE, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "edge_max_len", PROP_FLOAT, PROP_NONE);
|
||||
@@ -1977,7 +1977,7 @@ static void rna_def_scene_game_data(BlenderRNA *brna)
|
||||
RNA_def_property_int_sdna(prop, NULL, "occlusionRes");
|
||||
RNA_def_property_range(prop, 128.0, 1024.0);
|
||||
RNA_def_property_ui_text(prop, "Occlusion Resolution",
|
||||
"The size of the occlusion buffer in pixel, use higher value for better precision (slower)");
|
||||
"Size of the occlusion buffer in pixel, use higher value for better precision (slower)");
|
||||
RNA_def_property_update(prop, NC_SCENE, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "fps", PROP_INT, PROP_NONE);
|
||||
@@ -1985,7 +1985,7 @@ static void rna_def_scene_game_data(BlenderRNA *brna)
|
||||
RNA_def_property_ui_range(prop, 1, 60, 1, 1);
|
||||
RNA_def_property_range(prop, 1, 250);
|
||||
RNA_def_property_ui_text(prop, "Frames Per Second",
|
||||
"The nominal number of game frames per second "
|
||||
"Nominal number of game frames per second "
|
||||
"(physics fixed timestep = 1/fps, independently of actual frame rate)");
|
||||
RNA_def_property_update(prop, NC_SCENE, NULL);
|
||||
|
||||
@@ -1994,7 +1994,7 @@ static void rna_def_scene_game_data(BlenderRNA *brna)
|
||||
RNA_def_property_ui_range(prop, 1, 5, 1, 1);
|
||||
RNA_def_property_range(prop, 1, 5);
|
||||
RNA_def_property_ui_text(prop, "Max Logic Steps",
|
||||
"Sets the maximum number of logic frame per game frame if graphics slows down the game, "
|
||||
"Maximum number of logic frame per game frame if graphics slows down the game, "
|
||||
"higher value allows better synchronization with physics");
|
||||
RNA_def_property_update(prop, NC_SCENE, NULL);
|
||||
|
||||
@@ -2003,7 +2003,7 @@ static void rna_def_scene_game_data(BlenderRNA *brna)
|
||||
RNA_def_property_ui_range(prop, 1, 5, 1, 1);
|
||||
RNA_def_property_range(prop, 1, 5);
|
||||
RNA_def_property_ui_text(prop, "Max Physics Steps",
|
||||
"Sets the maximum number of physics step per game frame if graphics slows down the game, "
|
||||
"Maximum number of physics step per game frame if graphics slows down the game, "
|
||||
"higher value allows physics to keep up with realtime");
|
||||
RNA_def_property_update(prop, NC_SCENE, NULL);
|
||||
|
||||
@@ -2012,7 +2012,7 @@ static void rna_def_scene_game_data(BlenderRNA *brna)
|
||||
RNA_def_property_ui_range(prop, 1, 5, 1, 1);
|
||||
RNA_def_property_range(prop, 1, 5);
|
||||
RNA_def_property_ui_text(prop, "Physics Sub Steps",
|
||||
"Sets the number of simulation substep per physic timestep, "
|
||||
"Number of simulation substep per physic timestep, "
|
||||
"higher value give better physics precision");
|
||||
RNA_def_property_update(prop, NC_SCENE, NULL);
|
||||
|
||||
@@ -2066,7 +2066,7 @@ static void rna_def_scene_game_data(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "use_animation_record", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GAME_ENABLE_ANIMATION_RECORD);
|
||||
RNA_def_property_ui_text(prop, "Record Animation", "Record animation to fcurves");
|
||||
RNA_def_property_ui_text(prop, "Record Animation", "Record animation to F-Curves");
|
||||
|
||||
prop= RNA_def_property(srna, "use_auto_start", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_funcs(prop, "rna_GameSettings_auto_start_get", "rna_GameSettings_auto_start_set");
|
||||
@@ -2075,8 +2075,8 @@ static void rna_def_scene_game_data(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "restrict_animation_updates", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GAME_RESTRICT_ANIM_UPDATES);
|
||||
RNA_def_property_ui_text(prop, "Restrict Animation Updates",
|
||||
"Restrict the number of animation updates to the animation FPS. This is "
|
||||
"better for performance, but can cause issues with smooth playback");
|
||||
"Restrict the number of animation updates to the animation FPS (this is "
|
||||
"better for performance, but can cause issues with smooth playback)");
|
||||
|
||||
/* materials */
|
||||
prop= RNA_def_property(srna, "material_mode", PROP_ENUM, PROP_NONE);
|
||||
|
||||
Reference in New Issue
Block a user