Blender Git Loki

Blender Git "greasepencil-refactor" branch commits.

Page: 112 / 287

December 7, 2018, 16:00 (GMT)
GP: Refactor coordinates to float

See: D4030

Differential Revision: https://developer.blender.org/D4036
December 7, 2018, 16:00 (GMT)
Partial fix to T58917 - No valid cage

The fix itself simply is to store the cage object as a pointer instead
of a string/name.

That said baking with or without cage is yielding very different results
than in 2.7.
December 7, 2018, 16:00 (GMT)
Fix T57640: UV unwrap packing not working without sync selection.
December 7, 2018, 15:59 (GMT)
Depsgraph: Cleanup, line length
December 7, 2018, 15:59 (GMT)
Depsgraph: Use shorter relation name

It is clear enough already that it goes From to To.
December 7, 2018, 15:59 (GMT)
Depsgraph: Remove duplicated sets of recalc/update flags

There were at least three copies of those:

- OB_RECALC* family of flags, which are rudiment of an old
dependency graph system.
- PSYS_RECALC* which were used by old dependency graph system
as a separate set since the graph itself did not handle
particle systems.
- DEG_TAG_* which was used to tag IDs.

Now there is a single set, which defines what can be tagged
and queried for an update. It also has some aggregate flags
to make queries simpler.

Lets once and for all solve the madness of those flags, stick
to a single set, which will not overlap with anything or require
any extra conversion.

Technically, shouldn't be measurable user difference, but some
of the agregate flags for few dependency graph components did
change.

Fixes T58632: Particle don't update rotation settings
December 7, 2018, 15:59 (GMT)
Fix/workaround crash opening almost any Spring file

The issue was caused mpoly array urequired by the cache filling,
but the pointer was never set when preparing render data.

Seems this change is safe enough, in terms it shouldn't be
causing slowdown, since the assignment of mpoly is cheap, but
hard to tell if there is anything else affected by thing underneath.
December 7, 2018, 15:59 (GMT)
Depsgraph: Make data allocation dependency more robust

This fix aims to fix crash/assert failure related on wrong
evaluation order which happens when there is a cyclic
dependency involved.

The rationality of this change is that we can allow use
of uninitialized scalar value, but memory is better be
allocated.

This might not be ideal still, but worth a try.
December 7, 2018, 15:57 (GMT)
Cleanup/refactor binding code for MeshDeform modifier.

We had two different ways of doing it, SurfaceDeform and LaplacianDeform
would do it through a special modifier stack evaluation triggered from
binding operator, while MeshDeform would do it through a regular
depsgraph update/eval (also triggered from its binding op).

This enforces the later to search back for orig modifier data inside
modifier code (to apply binding on that one, and not on useless CoW
one).

Besides the question of safety about modifying orig data from threaded
despgraph (that was *probably* OK, but think it's bad idea in general),
it's much better to have a common way of doing that kind of things.

For now it remains rather dodgy, but at least it's reasonably consistent
and safe now.

This commit also fixes a potential memleak from binding process of
MeshDeform, and does some general cleanup a bit.
December 7, 2018, 15:57 (GMT)
Cleanup: style
December 7, 2018, 15:57 (GMT)
Fix T58046: Crash when changing Particle type, when Hair has dynamics

thx @sergey for checking
December 7, 2018, 15:57 (GMT)
Cleanup: split mixed_bones_object_selectbuffer

Split basic object picking logic out into it's own function.
December 7, 2018, 15:57 (GMT)
Fix T58913 Won't focus on Grease Pencil

When the datablock was empty, the center was not calculated. Now it uses the object location.
December 7, 2018, 15:57 (GMT)
Fix T58811: Scale bezier handle uses tip as origin
December 7, 2018, 15:57 (GMT)
Fix T58911: Picking objects fails in pose mode
December 7, 2018, 14:53 (GMT)
Merge remote-tracking branch 'origin/blender2.8' into soc-2018-npr

# Conflicts:
# release/scripts/addons_contrib
# release/scripts/startup/bl_ui/properties_data_camera.py
# release/scripts/startup/bl_ui/properties_material.py
# release/scripts/startup/bl_ui/properties_particle.py
# release/scripts/startup/bl_ui/properties_physics_common.py
# release/scripts/startup/bl_ui/properties_physics_rigidbody.py
# release/scripts/startup/bl_ui/properties_physics_rigidbody_constraint.py
# release/scripts/startup/bl_ui/properties_physics_softbody.py
# release/scripts/startup/bl_ui/properties_scene.py
# release/scripts/startup/bl_ui/properties_view_layer.py
# release/scripts/startup/bl_ui/properties_world.py
# source/blender/draw/intern/draw_manager.c
# source/blender/makesrna/intern/rna_scene.c
December 7, 2018, 14:46 (GMT)
GP: Clear selected flag for new primitives
December 7, 2018, 14:23 (GMT)
GP: Fix wrong extreme in primitive
December 7, 2018, 14:17 (GMT)
GP: Fix multi-segment curve

Currently, only last segment is editable.
December 7, 2018, 12:27 (GMT)
GP: Remove curve for Lines

Lines only have 2 points, so it's not logic.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021