Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4299 / 8462

July 9, 2016, 09:12 (GMT)
Bugfix for No Fit Polygon placement
July 9, 2016, 07:09 (GMT)
Merge branch 'master' into strand_editmode
July 9, 2016, 07:01 (GMT)
Merge branch 'master' into strand_gpu
July 9, 2016, 00:00 (GMT)
Fix: Apply Scale to Delta Scale was doubling the effect
July 9, 2016, 00:00 (GMT)
Clear Transforms and Deltas

* Alt-G, Alt-R, Alt-S --> These don't clear delta transforms by default anymore,
making it possible to use these to properly store a "rest" pose

* Alt-Shift-G, Alt-Shift-R, Alt-Shift-S --> These WILL clear both the normal
transform and the delta, should you need to do so.
July 8, 2016, 23:35 (GMT)
attempt to make voronoi+bisect faster, but it has problems with selfintersection, so unfortunately not useable on any
model out of the box
July 8, 2016, 22:09 (GMT)
Always add object to active layer

I doubt all cases in which we have to assign an object after creation to a layer are covered, but this should be good enough for the start.
It's also quite easy to break object creation since there isn't any logic that ensures there's always an active layer (or any layer at all).
July 8, 2016, 21:50 (GMT)
Make active layer a scene level property
July 8, 2016, 17:53 (GMT)
Fix (unreported) broken shapekeys after 'make_local' of datablocks used both directly and directly.

At first thought it was own recent work, but think issue is there since ages actually...

Basically, id_make_local() would always localize mesh/curve/lattice shapekeys, even in case
obdata localization actually made a local copy instead of localizing original datablock.

This was causing shapekeys being localized twice, and other odd nasty effects.
July 8, 2016, 17:47 (GMT)
more UI changes: clean up layout for smoke, fire and liquids
July 8, 2016, 17:33 (GMT)
Initial fix for proxy issues regarding new libquery/libremap ID handling code.

libquery now passes an extra flag info to the callback, in case that specific
ID usage is considered as indirect.

In most cases, it's just set from ID_IS_LINKED_DATABLOCK() result on datablock owner,
but in proxy object case we also consider ob->data, materials and pose usages as indirect.

Does not fixes all issues yet, but should already make behavior with proxy object saner.
July 8, 2016, 16:19 (GMT)
Refactor/enhance BKE_mesh_make_local().

Now using modern features from libquery/libremap areas.

Provides same kind of fixes/improvements as for BKE_object_make_local() (see rBd1a4ae3f395a6).

Note: this enlightened broken case of proxy objects regarding make_local
(and also whole remapping, in fact). Will be fixed in near future.
July 8, 2016, 16:11 (GMT)
Fix own very stupid mistake in BKE_library_idtype_can_use_idtype() usage (inverted arguments).
July 8, 2016, 16:11 (GMT)
Libquery: fix missing image pointers from Mesh's UV layers.

Not really happy with this, could lead to a **lot** of callback executions...
But libquery foreach looper must go over **all** ID pointers,
otherwise remapping & co is broken!

A possible fix for future would be to have 'image slots' defined at root of poly/facetex layers,
and just a (short) index in each face/poly item - would also save a reasonable amount of memory...
July 8, 2016, 16:11 (GMT)
Refactor/enhance BKE_object_make_local().

Now using modern features from libquery/libremap areas.

Also, it should handle much better cases where localized ID was also indirectly used by non-refcounting users
(typical case: object used as modifier/constraint/whatever target from another linked object, previous
code would not take those into account and just localize original object instead of making a local copy.
Would result in local object used by linked one, which would be partially 'undone' on next file reload... Crappy behavior).

And it fixes some obvious errors too (nullifying all proxy pointers unconditionnaly,
some missing refcounted usages cases in extern_local_object(), etc.).
July 8, 2016, 16:11 (GMT)
Refactor: pass Main to id_make_local.

Totally stupid to not pass it, and then let (some) BKE_foo_make_local() use G.main!

Note: unused for now, much more refactoring still to come in make_local area!
July 8, 2016, 16:11 (GMT)
Fix (unreported) missing special updates in case we are remapping obdata (mesh/curve/metaball at least).
July 8, 2016, 16:11 (GMT)
Rework/split test_object_materials().

Now test_object_materials only handles one object. New test_all_objects_materials
checks the whole bmain->object list for cases where it is actually needed.

Should avoid some useless looping over all objects!
July 8, 2016, 16:11 (GMT)
Refactor remapping's pre/post process of special cases.

Main issue was that BKE_libblock_relink_ex was pretty much ignoring all those...
Also, unlinking of objects was not handling correctly indirect-related flags.

Refactored code into helper functions to avoid too much duplicated code.
July 8, 2016, 16:10 (GMT)
Fix T48799: Particles set as objects cast wrong ray shadows in BI
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021