Blender Git Commits

Blender Git "experimental_gp_weight" branch commits.

Page: 10 / 122

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); ```
May 1, 2018, 14:27 (GMT)
Code Cleanup: Clearly label which parameters are used for input/output
May 1, 2018, 14:27 (GMT)
Cleanup: Fix indentation
May 1, 2018, 14:27 (GMT)
Cleanup: Fix some more warnings

NOTE: For rna_GPencil_stroke_new(), the problems aren't entirely eliminated yet.
Specifically, the colorname arg is now unused - it was used in the past to
specify what color the new strokes should have.
May 1, 2018, 14:27 (GMT)
Cleanup: Remove unused var
May 1, 2018, 13:59 (GMT)
Revert to use again BKE_gpencil_batch_cache_dirty()

These functions were changed by error when replace dirty management by depsgraph.

The depsgraph is only valid for operators and the files included in this commit must call the function directly and don't use depsgraph tag.
May 1, 2018, 13:50 (GMT)
Back BKE_gpencil_batch_cache_dirty function

This function was removed by error in previous commit.
May 1, 2018, 11:51 (GMT)
Cleanup: Add new line at EOF
May 1, 2018, 11:48 (GMT)
Remove BKE_gpencil_batch_cache_dirty()

This remove the function because is not used.
May 1, 2018, 11:44 (GMT)
Replace DRW_gpencil_batch_cache_dirty() with DEG_id_tag_update
April 30, 2018, 17:41 (GMT)
Cleanup. Rename material variable to "ma"

The old name "mat" could be confused with matrix.
April 30, 2018, 15:41 (GMT)
WIP depsgraph fixes for GP and depsgraph

Still not working yet - somehow the updates aren't getting flushed yet
(perhaps COW related)
April 30, 2018, 15:41 (GMT)
Cleanup: Indentation
April 30, 2018, 15:22 (GMT)
Add default brush material to object materials

When draw using a brush that uses a default material, the material must be added to the object material slots if this material was not before.
April 30, 2018, 15:09 (GMT)
Rename Grease Pencil Array Modifier to Instance Modifier

The new name is more clear and does not create confusion with 3D objects array modifier.
April 30, 2018, 14:18 (GMT)
Fix error drawing with no object active
April 30, 2018, 12:07 (GMT)
Cleanup: Remove redundant parameter
April 30, 2018, 09:27 (GMT)
Fix wrong Material name

The name was using the ID type.
April 29, 2018, 14:59 (GMT)
Fix error in Join objects

The index of the material must be stroke value + 1.
April 29, 2018, 14:01 (GMT)
Cleanup: Remove old unused code for bGPDpalettes

This commit removes some functions not used from old bGPDpalette and bGPDpalettecolor.

These structs were used in version 2.78 and 2.79 and only keep the minimum number of functions to convert old files.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021