Cleanup: spelling
This commit is contained in:
@@ -4363,7 +4363,7 @@ static ImBuf *load_image_single(Image *ima,
|
||||
|
||||
/* make packed file for autopack */
|
||||
if ((has_packed == false) && (G.fileflags & G_FILE_AUTOPACK)) {
|
||||
ImagePackedFile *imapf = MEM_mallocN(sizeof(ImagePackedFile), "Image Packefile");
|
||||
ImagePackedFile *imapf = MEM_mallocN(sizeof(ImagePackedFile), "Image Pack-file");
|
||||
BLI_addtail(&ima->packedfiles, imapf);
|
||||
|
||||
STRNCPY(imapf->filepath, filepath);
|
||||
|
||||
@@ -522,7 +522,7 @@ static void template_id_cb(bContext *C, void *arg_litem, void *arg_event)
|
||||
switch (event) {
|
||||
case UI_ID_BROWSE:
|
||||
case UI_ID_PIN:
|
||||
RNA_warning("warning, id event %d shouldnt come here", event);
|
||||
RNA_warning("warning, id event %d shouldn't come here", event);
|
||||
break;
|
||||
case UI_ID_OPEN:
|
||||
case UI_ID_ADD_NEW:
|
||||
|
||||
@@ -1420,7 +1420,7 @@ void graph_buttons_register(ARegionType *art)
|
||||
pt->poll = graph_panel_drivers_poll;
|
||||
BLI_addtail(&art->paneltypes, pt);
|
||||
|
||||
pt = MEM_callocN(sizeof(PanelType), "spacetype graph panel drivers pover");
|
||||
pt = MEM_callocN(sizeof(PanelType), "spacetype graph panel drivers popover");
|
||||
strcpy(pt->idname, "GRAPH_PT_drivers_popover");
|
||||
strcpy(pt->label, N_("Add/Edit Driver"));
|
||||
strcpy(pt->category, "Drivers");
|
||||
|
||||
@@ -814,7 +814,7 @@ static bool uv_rip_object(Scene *scene, Object *obedit, const float co[2], const
|
||||
|
||||
/* Special case: if we have selected faces, isolated them.
|
||||
* This isn't a rip, however it's useful for users as a quick way
|
||||
* to detech the selection.
|
||||
* to detach the selection.
|
||||
*
|
||||
* We could also extract an edge loop from the boundary
|
||||
* however in practice it's not that useful, see T78751. */
|
||||
|
||||
@@ -410,7 +410,7 @@ void RNA_def_main(BlenderRNA *brna)
|
||||
|
||||
srna = RNA_def_struct(brna, "BlendData", NULL);
|
||||
RNA_def_struct_ui_text(srna,
|
||||
"Blendfile Data",
|
||||
"Blend-file Data",
|
||||
"Main data structure representing a .blend file and all its data-blocks");
|
||||
RNA_def_struct_ui_icon(srna, ICON_BLENDER);
|
||||
|
||||
@@ -436,7 +436,7 @@ void RNA_def_main(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "use_autopack", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_funcs(prop, "rna_Main_use_autopack_get", "rna_Main_use_autopack_set");
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Use Autopack", "Automatically pack all external data into .blend file");
|
||||
prop, "Use Auto-pack", "Automatically pack all external data into .blend file");
|
||||
|
||||
prop = RNA_def_int_vector(srna,
|
||||
"version",
|
||||
|
||||
@@ -3973,12 +3973,13 @@ static void rna_def_userdef_studiolights(BlenderRNA *brna)
|
||||
|
||||
func = RNA_def_function(srna, "new", "rna_StudioLights_new");
|
||||
RNA_def_function_ui_description(func, "Create studiolight from default lighting");
|
||||
parm = RNA_def_string(func,
|
||||
"path",
|
||||
NULL,
|
||||
0,
|
||||
"Path",
|
||||
"Path to the file that will contain the lighing info (without extension)");
|
||||
parm = RNA_def_string(
|
||||
func,
|
||||
"path",
|
||||
NULL,
|
||||
0,
|
||||
"Path",
|
||||
"Path to the file that will contain the lighting info (without extension)");
|
||||
RNA_def_parameter_flags(parm, 0, PARM_REQUIRED);
|
||||
parm = RNA_def_pointer(func, "studio_light", "StudioLight", "", "Newly created StudioLight");
|
||||
RNA_def_function_return(func, parm);
|
||||
|
||||
@@ -284,7 +284,7 @@ Mesh *MOD_solidify_extrude_modifyMesh(ModifierData *md, const ModifierEvalContex
|
||||
new_edge_arr = MEM_malloc_arrayN(((numEdges * 2) + numVerts), sizeof(*new_edge_arr), __func__);
|
||||
|
||||
edge_users = MEM_malloc_arrayN(numEdges, sizeof(*edge_users), "solid_mod edges");
|
||||
edge_order = MEM_malloc_arrayN(numEdges, sizeof(*edge_order), "solid_mod eorder");
|
||||
edge_order = MEM_malloc_arrayN(numEdges, sizeof(*edge_order), "solid_mod order");
|
||||
|
||||
/* save doing 2 loops here... */
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user