Blender Git Loki
Git Commits -> Revision 356ce71
Revision 356ce71 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) May 1, 2018, 14:27 (GMT) |
GPencil Editors API: Added utility function to be called to get Copy-on-Write evaluated copies of data * Use ED_gpencil_get_active() for writing settings back to the original datablock (existing callback used in most operators now) * Use ED_gpencil_get_active_evaluated() for getting the COW-evaluated geometry (i.e. with modifiers, etc.) applied. i.e., ``` const bGPdata *gpd_eval = ED_gpencil_get_active_evaluated(C); ``` |
Commit Details:
Full Hash: 356ce71a5f23fe154a4471317cbb2b8aaba39668
Parent Commit: ed29a6f
Lines Changed: +29, -1