Blender Git Commits

Blender Git "master" branch commits.

Page: 2087 / 5574

June 7, 2017, 09:38 (GMT)
Merge remote-tracking branch 'origin/master' into blender2.8
June 7, 2017, 09:37 (GMT)
gcc5 has issues with Wconversion

This leads to a crash in 2.8, but commiting here.
Patch by Campbell Barton.
June 7, 2017, 09:25 (GMT)
Optimization of tangent calculation

Avoid doing string comparison when we already know layer is
to be added to bitfield.
June 7, 2017, 05:49 (GMT)
WM: remove unused return values
June 6, 2017, 16:57 (GMT)
Small cleanup: Use ELEM and wrong identation
June 6, 2017, 16:57 (GMT)
CMake: Update clay engine message
June 6, 2017, 16:27 (GMT)
Eevee: Fix shader compilation issue.
June 6, 2017, 14:30 (GMT)
Cycles: Fix infinite update when using duplis

The issue was caused by usage of address of dupli-object (which will vary
from iteration process to iteration process) as something denoting whether
we've got the data synchronized to Cycles or not.

For now solved by using address of original object (the one DupliObject
points to) as a pointer for the map.

Need to do more thoughts about this.
June 6, 2017, 14:20 (GMT)
Draw Manager: Prevent misuse of static draw context

This is supposed to help catch bugs if referrencing stack data out of
the draw loop context.

No change is suppose to happen for users (specially because the changes
here happens mostly on debug).

It includes a change in the logic for render loop, to make sure DST is
not accessed before we enter it - contribution by Campbell Barton.
June 6, 2017, 12:19 (GMT)
Depsgraph: Cleanup, unused includes
June 6, 2017, 12:17 (GMT)
Cycles: Support rendering objects from dupli-list

This commit extends the work from Dalai made around scene iterators to
support iterating into objects from dupli-lists.

Changes can be summarized as:

- Depsgraph iterator will hold pointer to an object which created current
duplilist. It is available via `dupli_parent` field of the iterator.
It is only set when duplilist is not NULL and guaranteed to be NULL
for all other cases.

- Introduced new depsgraph.duplis collection which gives a more extended
information about depsgraph iterator. It is basically a collection on top
of DEGObjectsIteratorData.

It is used to provide access to such data as persistent ID, generated space
and so on.

Things which still needs to be done/finished/clarified:

- Need to introduce some sort of `is_instance` boolean property which will
indicate Python and C++ RNA that we are inside of dupli-list.

- Introduce a way to skip dupli-list for particular objects.

So, for example, if we are culling object due to distance we can skip all
objects it was duplicating.

- Introduce a way to skip particular duplicators.

So we can skip iterating into particle system.

- Introduce some cleaner API for C side of operators to access all data such as
persistent ID and friends.

This way we wouldn't need de-reference iterator and could keep access to such
data really abstract. Who knows how we'll be storing internal state of the
operator in the future.

While there is still stuff to do, current state works and moves us in the proper
direction.
June 6, 2017, 12:16 (GMT)
WM: manipulator callback arg order

Use same arg order for C & RNA
June 6, 2017, 10:48 (GMT)
Force crash on depsgraph iterator wrong access.

Related to T51718, so it crashes even when no fancy ASAN flags are used.
Patch suggestion by Campbell Barton.
June 6, 2017, 10:17 (GMT)
Merge branch 'master' into blender2.8
June 6, 2017, 10:14 (GMT)
Depsgraph: Only use extern "C" when really needed
June 6, 2017, 10:13 (GMT)
BLI: Use C++ guards for stack header

This is handy to have C++ guards for BLI functions so they
can be easily re-used in C++ code. This matches other headers
from this library as well.
June 6, 2017, 10:00 (GMT)
Draw manager: visibility of objects centers to mimic old 2.7x behaviour

We only show object center if object is selected, active or if viewport
has the "All Object Origins" options.

The viewport display options can migrate to renderlayer options.
However, we can mimic 2.7x as a compromise while the final design is
finalized.
June 6, 2017, 09:22 (GMT)
Scene object iterator: Replace recursion with loop

This way we are not afraid of recursion being too deep.

That could have happened when having two collections which
are sharing same list of 1000s of objects.
Revision 4e1257f by Luca Rood
June 6, 2017, 07:57 (GMT)
Make particle size follow world space instead of screen space
June 6, 2017, 07:09 (GMT)
WM: functions for assigning all manipulator callbacks

- Move callbacks into type struct.
- Rename render_3d_intersection -> draw_select.
- Add header for function signatures (needed for types and api headers).
- Add WM_manipulatormaptype_find
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021