Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/gpencil/gpencil_data.c
| Show First 20 Lines • Show All 2,880 Lines • ▼ Show 20 Lines | for (bGPDframe *gpf = init_gpf; gpf; gpf = gpf->next) { | ||||
| if (!is_multiedit) { | if (!is_multiedit) { | ||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| CTX_DATA_END; | CTX_DATA_END; | ||||
| /* copy on write tag is needed, or else no refresh happens */ | /* copy on write tag is needed, or else no refresh happens */ | ||||
| DEG_id_tag_update(&gpd->id, ID_RECALC_COPY_ON_WRITE); | DEG_id_tag_update(&gpd->id, ID_RECALC_GEOMETRY | ID_RECALC_COPY_ON_WRITE); | ||||
| /* notifiers */ | /* notifiers */ | ||||
| WM_event_add_notifier(C, NC_GPENCIL | ND_DATA | NA_EDITED, NULL); | WM_event_add_notifier(C, NC_GPENCIL | ND_DATA | NA_EDITED, NULL); | ||||
| return OPERATOR_FINISHED; | return OPERATOR_FINISHED; | ||||
| } | } | ||||
| void GPENCIL_OT_color_select(wmOperatorType *ot) | void GPENCIL_OT_color_select(wmOperatorType *ot) | ||||
| ▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines | |||||