Blender Git Commit Log

All Blender Git commits.

Page: 3329 / 8462

May 1, 2018, 16:02 (GMT)
Modifiers: Simple Deform & Build, DerivedMesh ? Mesh

This commit introduces `EditMeshData`. The fields in this struct are
extracted from `EditDerivedBMesh` into their own struct `EditMeshData`,
which can then also be used by the `Mesh` struct. This allows passing
deformed vertices efficiently to the draw routines.

The modifier code constructs a new Mesh instead of writing to ob->data;
even when ob->data is a CoW copy, it can still be used by different
objects and thus shouldn't be modified by a modifier.
May 1, 2018, 16:02 (GMT)
Modifiers: Add wrapper functions with Mesh / DerivedMesh conversion

Makes the follow changes:

- Add new `deform*` and `apply*` function pointers to `ModifierTypeInfo` that take `Mesh`, and rename the old functions to indicate that they take `DerivedMesh`. These new functions are currently set to `NULL` for all modifiers.
- Add wrapper `modifier_deform*` and `modifier_apply*` functions in two variants: one that works with `Mesh` and the other which works with `DerivedMesh` that is named with `*_DM_depercated`. These functions check which type of data the modifier supports and converts if necessary
- Update the rest of Blender to be aware and make use of these new functions

The goal of these changes is to make it possible to port to using `Mesh` incrementally without ever needing to enter into a state where modifiers don't work. After everything has been ported over the old functions and wrappers could be removed.

Reviewers: campbellbarton, sergey, mont29

Subscribers: sybren

Tags: #bf_blender_2.8

Differential Revision: https://developer.blender.org/D3155
May 1, 2018, 16:02 (GMT)
Typo fix
May 1, 2018, 16:02 (GMT)
Added note about potential crash in add_orco_dm()
May 1, 2018, 16:01 (GMT)
Merge remote-tracking branch 'origin/blender2.8' into temp-modifier-rm-cddm
May 1, 2018, 15:59 (GMT)
Eevee: Fix crash when using visibility groups with dupli objects.
May 1, 2018, 15:59 (GMT)
Eevee: Contact Shadows: Add slope based bias & fix brightening.
May 1, 2018, 15:59 (GMT)
Eevee: Fix raytracing.

- Fix the confusing naming in raycast()
- Fix raytrace acne caused by the rays not being correctly centered on
the texel.
May 1, 2018, 15:43 (GMT)
Fix: Silence |RNA_boolean_get: WM_OT_save_as_mainfile.exit not found." warning on exit

The operator in question doesn't define this property.
I'm commenting out for now in case another operator actually still uses it.
May 1, 2018, 15:36 (GMT)
Remove dirty cache calls from kernel

The function BKE_gpencil_batch_cache_dirty() must be called only from operators or RNA.

Besides, the calls removed were redundant.
May 1, 2018, 15:03 (GMT)
Fix previous commit, sorry about that :/
May 1, 2018, 15:03 (GMT)
Merge remote-tracking branch 'origin/master' into uv_unwrapping_slim_algorithm
May 1, 2018, 15:02 (GMT)
Static override: rename highly confusing var name in apply code.

We use 'reference' to designate the linked ID which is being overridden
by the local one, so using 'reference' to designate the stored local ID
in apply RNA code was... not a good idea. ;)
May 1, 2018, 14:52 (GMT)
Icons: updated icons from @billreynish

This adds vertex paint & sculpt icons + other minor changes.
May 1, 2018, 14:43 (GMT)
Formatting
May 1, 2018, 14:43 (GMT)
Use proper way to get CoW original
May 1, 2018, 14:28 (GMT)
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8
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)
Code Cleanup: Clearly label which parameters are used for input/output
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); ```
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021