Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4569 / 8462

December 27, 2015, 17:08 (GMT)
Fix memory leak in GHOST Event Manager.

The events are allocated on the heap, then pushed on a stack. Before
being processed, they are popped from the stack, and deleted after
processing is done. When the manager is destroyed (e.g. application
closing), any remaining event in the stack is detroyed.

Issue is that when the "application closing" event is processed, it is
never freed, because the manager gets destroyed before the call to
`delete` is made and the event is not on the stack anymore.

Now events are left on the stack while they are processed, and only
popped and deleted after processing is done.

As a slight bonus refactor: use void as return type for dispatch events
functions, as no caller is checking the return value, and it is not
clear what it means (suggested by the reviewer).

Reviewers: brecht

Differential Revision: https://developer.blender.org/D1695
December 27, 2015, 16:17 (GMT)
Use a unified list for simplifying socket identifiers and matching RNA struct types.
December 27, 2015, 15:57 (GMT)
CMake: make install prefix option irrelevant for MinGW too.
December 27, 2015, 15:33 (GMT)
Fix T47064: Change Audio defaults to 48 kHz

Historically blender had an audio sample rate of 44.1 kHz as default which is mostly popular because it's the sample rate of audio CDs. Audaspace kept using this default from the pre 2.5 era. It was about time to change to 48 kHz, which is a more widespread standard nowadays, especially in video. It is the recommended sampling rate of the Audio Engineering Society.

Further reading: https://en.wikipedia.org/wiki/44,100_Hz#Status
December 27, 2015, 13:42 (GMT)
Fix compiler warning from illegal zero-initialization in C++0x.
December 27, 2015, 13:35 (GMT)
ID.flag has been split to put runtime tags in a separate field (rB3fcf535d).
December 27, 2015, 13:21 (GMT)
Merge branch 'master' into object_nodes

Conflicts:
source/blender/depsgraph/intern/depsgraph_build_nodes.cc
source/blender/depsgraph/intern/depsgraph_build_relations.cc
December 27, 2015, 12:09 (GMT)
Merge branch 'asset-engine' into asset-experiments
December 27, 2015, 12:09 (GMT)
Merge branch 'id-remap' into asset-experiments

Conflicts:
source/blender/blenkernel/intern/library.c
source/blender/windowmanager/intern/wm_operators.c
December 27, 2015, 12:06 (GMT)
Merge branch 'master' into asset-engine

Conflicts:
source/blender/blenkernel/intern/library.c
source/blender/windowmanager/intern/wm_operators.c
December 27, 2015, 11:54 (GMT)
Merge branch 'master' into id-remap

Conflicts:
source/blender/blenloader/intern/readfile.c
source/blender/makesdna/DNA_ID.h
December 27, 2015, 11:39 (GMT)
BMesh Path Select: Face Stepping Option

Supports diagonal paths for verts and faces,
Selects edge-rings with edges.
December 27, 2015, 11:39 (GMT)
BMesh: BM_loop_share_edge_check utility func
December 27, 2015, 11:00 (GMT)
Split id->flag in two, persistent flags and runtime tags.

This is purely internal sanitizing/cleanup, no change in behavior is expected at all.

This change was also needed because we were getting short on ID flags, and
future enhancement of 'user_one' ID behavior requires two new ones.

id->flag remains for persistent data (fakeuser only, so far!), this also allows us
100% backward & forward compatibility.

New id->tag is used for most flags. Though written in .blend files, its content
is cleared at read time.

Note that .blend file version was bumped, so that we can clear runtimeflags from
old .blends, important in case we add new persistent flags in future.

Also, behavior of tags (either status ones, or whether they need to be cleared before/after use)
has been added as comments to their declaration.

Reviewers: sergey, campbellbarton

Differential Revision: https://developer.blender.org/D1683
December 27, 2015, 09:29 (GMT)
List existing node groups in 'Group' categories for easy instancing.

This includes polling by type and recursion level to ensure groups
are only added in appropriate tree types, and don't create cyclic
dependencies.
December 27, 2015, 08:35 (GMT)
BMesh Path Select: Add checker-select options

Allows to quickly select alternate elems in a path (matching checker-deselect options).

- adds redo support to MESH_OT_shortest_path_pick, allowing for other options.
- de-duplicates code between 2x path select operators.
- expose 'Topology Distance' property for path picking.
- remove unused 'extend' property.
December 27, 2015, 07:05 (GMT)
BMesh: extract int/bmesh element access funcs.

Support getting an vert/edge/face from a single index, useful for operator redo.
December 27, 2015, 07:01 (GMT)
WM: add checker_interval utility functions
December 27, 2015, 06:28 (GMT)
Poll node groups based on node tree datablocks rather than node instances.

There is a redundancy in the nodetree/node relationship, since each nodes
is part of exactly one node tree. This means we can test for either trees
or nodes to detect cycles, and because we usually poll for node trees
rather than nodes that would be the natural choice.
December 27, 2015, 06:21 (GMT)
Move generic operator props into own file

This is unrelated to core operator internals, so move into own file.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021