Tooltips tweaks 3d to 3D
This commit is contained in:
@@ -354,7 +354,7 @@ static void rna_def_bpoint(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "tilt", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "alfa");
|
||||
/*RNA_def_property_range(prop, -FLT_MAX, FLT_MAX);*/
|
||||
RNA_def_property_ui_text(prop, "Tilt", "Tilt in 3d View");
|
||||
RNA_def_property_ui_text(prop, "Tilt", "Tilt in 3D View");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "weight_softbody", PROP_FLOAT, PROP_NONE);
|
||||
@@ -437,7 +437,7 @@ static void rna_def_beztriple(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "tilt", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "alfa");
|
||||
/*RNA_def_property_range(prop, -FLT_MAX, FLT_MAX);*/
|
||||
RNA_def_property_ui_text(prop, "Tilt", "Tilt in 3d View");
|
||||
RNA_def_property_ui_text(prop, "Tilt", "Tilt in 3D View");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "weight", PROP_FLOAT, PROP_NONE);
|
||||
|
||||
@@ -1732,16 +1732,16 @@ static void rna_def_mesh(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "draw_edges", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "drawflag", ME_DRAWEDGES);
|
||||
RNA_def_property_ui_text(prop, "Draw Edges", "Displays selected edges using hilights in the 3d view and UV editor");
|
||||
RNA_def_property_ui_text(prop, "Draw Edges", "Displays selected edges using hilights in the 3D view and UV editor");
|
||||
RNA_def_property_update(prop, 0, "rna_Mesh_update_draw");
|
||||
|
||||
prop= RNA_def_property(srna, "all_edges", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "drawflag", ME_ALLEDGES);
|
||||
RNA_def_property_ui_text(prop, "All Edges", "Displays all edges for wireframe in all view modes in the 3d view");
|
||||
RNA_def_property_ui_text(prop, "All Edges", "Displays all edges for wireframe in all view modes in the 3D view");
|
||||
|
||||
prop= RNA_def_property(srna, "draw_faces", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "drawflag", ME_DRAWFACES);
|
||||
RNA_def_property_ui_text(prop, "Draw Faces", "Displays all faces as shades in the 3d view and UV editor");
|
||||
RNA_def_property_ui_text(prop, "Draw Faces", "Displays all faces as shades in the 3D view and UV editor");
|
||||
RNA_def_property_update(prop, 0, "rna_Mesh_update_draw");
|
||||
|
||||
prop= RNA_def_property(srna, "draw_normals", PROP_BOOLEAN, PROP_NONE);
|
||||
|
||||
@@ -1274,7 +1274,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "display", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "disp");
|
||||
RNA_def_property_range(prop, 0, 100);
|
||||
RNA_def_property_ui_text(prop, "Display", "Percentage of particles to display in 3d view");
|
||||
RNA_def_property_ui_text(prop, "Display", "Percentage of particles to display in 3D view");
|
||||
RNA_def_property_update(prop, 0, "rna_Particle_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "material", PROP_INT, PROP_NONE);
|
||||
|
||||
@@ -1741,7 +1741,7 @@ static void rna_def_userdef_view(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "display_object_info", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_DRAWVIEWINFO);
|
||||
RNA_def_property_ui_text(prop, "Display Object Info", "Display objects name and frame number in 3d view.");
|
||||
RNA_def_property_ui_text(prop, "Display Object Info", "Display objects name and frame number in 3D view.");
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_update");
|
||||
|
||||
prop= RNA_def_property(srna, "global_scene", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -1869,7 +1869,7 @@ static void rna_def_userdef_view(BlenderRNA *brna)
|
||||
/* 3D transform widget */
|
||||
prop= RNA_def_property(srna, "use_manipulator", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "tw_flag", 1);
|
||||
RNA_def_property_ui_text(prop, "Manipulator", "Use 3d transform manipulator.");
|
||||
RNA_def_property_ui_text(prop, "Manipulator", "Use 3D transform manipulator.");
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_update");
|
||||
|
||||
prop= RNA_def_property(srna, "manipulator_size", PROP_INT, PROP_NONE);
|
||||
@@ -2308,11 +2308,11 @@ static void rna_def_userdef_system(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "clip_alpha", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "glalphaclip");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Clip Alpha", "Clip alpha below this threshold in the 3d textured view.");
|
||||
RNA_def_property_ui_text(prop, "Clip Alpha", "Clip alpha below this threshold in the 3D textured view.");
|
||||
|
||||
prop= RNA_def_property(srna, "use_mipmaps", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "gameflags", USER_DISABLE_MIPMAP);
|
||||
RNA_def_property_ui_text(prop, "Mipmaps", "Scale textures for the 3d View (looks nicer but uses more memory and slows image reloading.)");
|
||||
RNA_def_property_ui_text(prop, "Mipmaps", "Scale textures for the 3D View (looks nicer but uses more memory and slows image reloading.)");
|
||||
|
||||
prop= RNA_def_property(srna, "use_vbos", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "gameflags", USER_DISABLE_VBO);
|
||||
|
||||
Reference in New Issue
Block a user