Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/space_view3d.c
| Context not available. | |||||
| case ND_RENDER_OPTIONS: | case ND_RENDER_OPTIONS: | ||||
| case ND_MARKERS: | case ND_MARKERS: | ||||
| case ND_MODE: | case ND_MODE: | ||||
| case ND_TOOLSETTINGS: | |||||
psy-fi: In instead of catching this notifier (which will fire on too many other cases), you can fire… | |||||
| ED_region_tag_redraw(ar); | ED_region_tag_redraw(ar); | ||||
| break; | break; | ||||
| case ND_WORLD: | case ND_WORLD: | ||||
| Context not available. | |||||
| ED_region_tag_redraw(ar); | ED_region_tag_redraw(ar); | ||||
| break; | break; | ||||
| case NC_BRUSH: | case NC_BRUSH: | ||||
| if (wmn->action == NA_EDITED) | switch (wmn->action) { | ||||
| ED_region_tag_redraw_overlay(ar); | case NA_EDITED: | ||||
| ED_region_tag_redraw_overlay(ar); | |||||
| /* changed brush */ | |||||
| case NA_SELECTED: | |||||
| ED_region_tag_redraw(ar); | |||||
Not Done Inline ActionsIts not very obvious why the notifier is needed. Probably should include comment. (relationship with 3dview cursor & clone brush) campbellbarton: Its not very obvious why the notifier is needed. Probably should include comment.
//… | |||||
| break; | |||||
| } | |||||
| break; | break; | ||||
| case NC_MATERIAL: | case NC_MATERIAL: | ||||
| switch (wmn->data) { | switch (wmn->data) { | ||||
| Context not available. | |||||
In instead of catching this notifier (which will fire on too many other cases), you can fire two different notifiers for the relevant property.