Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/space_node.cc
| Show First 20 Lines • Show All 817 Lines • ▼ Show 20 Lines | switch (wmn->category) { | ||||
| case NC_GPENCIL: | case NC_GPENCIL: | ||||
| if (wmn->action == NA_EDITED) { | if (wmn->action == NA_EDITED) { | ||||
| ED_region_tag_redraw(region); | ED_region_tag_redraw(region); | ||||
| } | } | ||||
| else if (wmn->data & ND_GPENCIL_EDITMODE) { | else if (wmn->data & ND_GPENCIL_EDITMODE) { | ||||
| ED_region_tag_redraw(region); | ED_region_tag_redraw(region); | ||||
| } | } | ||||
| break; | break; | ||||
| case NC_VIEWER_PATH: | |||||
| ED_region_tag_redraw(region); | |||||
| break; | |||||
| } | } | ||||
| } | } | ||||
| } // namespace blender::ed::space_node | } // namespace blender::ed::space_node | ||||
| /* Outside of blender namespace to avoid Python documentation build error with `ctypes`. */ | /* Outside of blender namespace to avoid Python documentation build error with `ctypes`. */ | ||||
| extern "C" { | extern "C" { | ||||
| const char *node_context_dir[] = { | const char *node_context_dir[] = { | ||||
| ▲ Show 20 Lines • Show All 340 Lines • Show Last 20 Lines | |||||