Cleanup: typo, whitespace

This commit is contained in:
Campbell Barton 2018-11-15 18:50:18 +11:00
parent 5ec1d709e7
commit b8d21f9b9b
3 changed files with 3 additions and 3 deletions

@ -251,7 +251,7 @@ class ExecutePreset(Operator):
try:
mod_spec.loader.exec_module(importlib.util.module_from_spec(mod_spec))
except Exception as ex:
self.report({'ERROR'}, "Failed to executge the preset: " + repr(ex))
self.report({'ERROR'}, "Failed to execute the preset: " + repr(ex))
elif ext == ".xml":
import rna_xml

@ -96,7 +96,7 @@ static const int deg_debug_node_type_color_map[][2] = {
{DEG_NODE_TYPE_SHADING_PARAMETERS, 9},
{DEG_NODE_TYPE_CACHE, 10},
{DEG_NODE_TYPE_POINT_CACHE, 11},
{DEG_NODE_TYPE_LAYER_COLLECTIONS , 12},
{DEG_NODE_TYPE_LAYER_COLLECTIONS, 12},
{DEG_NODE_TYPE_COPY_ON_WRITE, 13},
{-1, 0}
};

@ -1447,7 +1447,7 @@ static bool gp_check_cursor_region(bContext *C, int mval[2])
Object *ob = CTX_data_active_object(C);
if ((ob == NULL) ||
(!ELEM(ob->mode, OB_MODE_GPENCIL_PAINT, OB_MODE_GPENCIL_SCULPT, OB_MODE_GPENCIL_WEIGHT)))
(!ELEM(ob->mode, OB_MODE_GPENCIL_PAINT, OB_MODE_GPENCIL_SCULPT, OB_MODE_GPENCIL_WEIGHT)))
{
return false;
}