Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1336 / 5574

February 9, 2019, 16:26 (GMT)
Fix: objects in outliner cannot be disabled

But introduced on 191b8951f7a.
Reported on tracker as a comment on 3f537f30e6b0.
February 9, 2019, 12:24 (GMT)
Fix T61276: Make Single User unlinks original object.

In that case, we have to consider number of scenes using an object, not
number of collections.
February 9, 2019, 12:24 (GMT)
BKE_object: add util to count number of scenes using an object.

Issue is, ob->id.us is not relevant anymore here, since several
collection might be referencing it inside of a same scene, that is still
only one usage from user perspective...

Note that for now we are just counting scenes instantiating an object,
time will say wether we need more refined/complete check (as a reminder,
most [all?] other Object usages are *not* refcounting ones).
February 9, 2019, 10:08 (GMT)
GP: Missing in previous commit
February 9, 2019, 09:59 (GMT)
GP: Init stroke buffer always

Related to T61334

This initialization avoid any crash when user saves the file while he is drawing a stroke session.
February 9, 2019, 06:00 (GMT)
GNUmakefile: fix deps directory

`uname -p` is unknown on some distros, use posix standard `uname -m`.
February 9, 2019, 02:10 (GMT)
Fix T61332: Python3 syntax errors
Revision 191b895 by Dalai Felinto
February 8, 2019, 22:09 (GMT)
Outliner visibility: Prevent changing linked objects and collections

We still change their base/layer collection visibility, just not what would change the
original ID datablock.
February 8, 2019, 21:59 (GMT)
Outliner Visibility: Alt+H operator to unhide all objects and collections
February 8, 2019, 21:44 (GMT)
Outliner Visibility: H operator to hide collection or objects
February 8, 2019, 21:15 (GMT)
Outliner visibility: Ctrl to isolate object

Ideally it would be nice to make all the base parent collections visible as well.
However we do not know this from the outliner.
February 8, 2019, 17:54 (GMT)
Fix (unreported) crash when undoing after ID deletion.

Yes, we do can undo an ID deletion now.

However, this requires extra care in UI 'remapping' to new IDs step
(when undoing, we do not fully reload the UI from saved .blend).
Otherwise, new UI (i.e. one from saved .blend file) might reference
IDs that where freed in old bmain (the one before the undo), we cannot
use those to get ID name then, that would be a nasty use-after-free!

To prevent this, we generate a GSet of all valid ID pointers at that
time (i.e. those found in both old and new Main's), and ensure any ID
we try to remap by its name is in that GSet. Otherwise, there is no
possible remapping, just return NULL.
February 8, 2019, 17:53 (GMT)
BKE_main: add a util to generate/extend a GSet with all ID pointers of a Main database.
February 8, 2019, 17:53 (GMT)
Cleanup: API doc is to be in implementation, not header file.
February 8, 2019, 17:53 (GMT)
Outliner: Purge: correct tooltip, add more info for user.

While ideally we could have a complete detailed list of deleted IDs,
that would require more work UI wise, think for now we can live with
just a rough summary.

Related to T61209.
February 8, 2019, 17:53 (GMT)
BKE_idcode: Add utils to convert from 'lbarray' index to ID type.

This can be useful to be able to match some random array data with
ListBase array of IDs generated by `set_listbasepointers()`.
February 8, 2019, 15:57 (GMT)
Fix T61287: Object restrict viewport ignored in instanced collection

make_duplis_collection() depends on the collection object cache,
which was not freed upon object viewport disable change.

The best way to reproduce the bug was to instance the default
collection, disable the cube, save and re-open the file.
Now even if you set the original cube to be enabled, you wouldn't see
the instanced one until you forced collection cache to be freed (e.g.,
changing a collection disable state.
February 8, 2019, 15:18 (GMT)
UI: Marker position slightly offset.

Tested on various interface sizes and thick lines.

Reported by Blender Studio animators.
February 8, 2019, 14:31 (GMT)
Fix T59339: Particle render without baking issues
Fix T61289: Emitting particles from instances not working properly

The first issue has been re-introduced by a code which was dealing
with missing hair after opening the file. That was re-setting all
particle systems all the time because modifier flags were not copied
back to original. This made every modifier run to be seem as an
initial file open.

Now we copy flags back to an original modifier. But also we are
trying to not do any resets unless needed in that case. This way
we can preserve in-memory caches.

Other part of the change is related on re-setting particle system
if number of mesh elements changed. But we only do it if the
modifier has been already evaluated once.
February 8, 2019, 14:24 (GMT)
Bevel, fix crash when adjust offsets with inner arc miter.

Previous assumptions about boundary verts always being attached
to edges are now false.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021