Blender Git Commits

Blender Git "fracture_modifier-master" branch commits.

Page: 37 / 129

January 20, 2017, 10:36 (GMT)
Depsgraph: Add extra name tag for operation nodes

The idea here is to address issue that name on it's own is not
always unique: for example, when adding driver operations the
name used for nodes is the RNA path (and multiple drivers can
write to different array indices of the path). Basically, now
it's possible to pass extra integer value to distinguish
operations in such cases.

So now we've already switched from sprintf() to construct unique
operation name to pass RNA path and array index.

There should be no functional changes yet, but this work is
required for further work about replacing string with const
char*.
January 20, 2017, 10:36 (GMT)
Depsgraph: Use const char for component API
January 20, 2017, 10:36 (GMT)
Depsgraph: Use const char instead of string in part of drivers construction
January 20, 2017, 10:36 (GMT)
Fix T49826: NEW-DEPSGRAPH - Texture is not updated after changing its space color

The issue was caused by image ID nodes not being in the depsgraph.

Now, tricky part: we only add nodes but do not add relations yet. Reasoning:

- It's currently important to only call editor's ID update callback to solve
the issue, without need to flush changes somewhere deeper.

- Adding relations might cause some unwanted updates, so will leave that for
a later investigation.
January 20, 2017, 10:36 (GMT)
Depsgraph: Remove some includes which seems unused
January 20, 2017, 10:36 (GMT)
Depsgraph: Add code for timing despgraph builder
January 20, 2017, 10:36 (GMT)
Depsgraph: Switch away form string to const char* for node names

There is no real reason to have nodes storing heap-allocated name
and description. Doing this increases amount of allocations during
dependency graph building, which usually means somewhat slowness.

We're temporarily loosing some eyecandy in the graphviz visualizer,
but those we can bring back as a part of graphiz dump (which happens
much less often than depsgraph build).

This will happen in multiple commits for the ease of bisect in the
future just in case this causes any regression. This commit contains
ID creation API changes.
January 20, 2017, 10:36 (GMT)
Depsgraph: Remove prototype of unused and non-implemented method
January 20, 2017, 10:36 (GMT)
Depsgraph: Avoid some false-positive time dependencies of scripted drivers

This was quite weak to consider all scripted expression to be time-dependent.
Current solution is somewhat better but still crappy. Not sure how can we make
it really nice.
January 20, 2017, 10:36 (GMT)
Depsgraph: Report proper error when modifier fails to create relation link
January 20, 2017, 10:36 (GMT)
Depsgraph: Fix race condition writing drivers to array property

Animation system has separate fcurves for each of array elements and
dependency graph creates separate nodes for each of fcurve, This is
needed to keep granularity of updates, but causes issues because
animation system will actually write the whole array to property when
modifying single value (this is a limitation of RNA API).

Worked around by adding operation relation between array drivers
so we never write same array form multiple threads.
January 20, 2017, 10:36 (GMT)
Depsgraph: Fix wrong comparison of ID type vs. node type
January 20, 2017, 10:36 (GMT)
Partial fix for T49836: Camera DOF properties not updating via graph editor

Do this for the new dependency graph: was missing handle of OB_UPDATE_TIME in tag update.

Hopefully it's all correct still.

Old dependency graph needs work, but i'm tempting to call it unsupported and move on
to 2.8 branch.
January 20, 2017, 10:36 (GMT)
Depsgraph: Fix some errors printed to the console

They were not real issues, it's just some areas of code tried to create
relations between non-existing nodes without checking whether such
relations are really needed.

Now it should be easier to see real bugs printed.

Hopefully should be no regressions here.
January 20, 2017, 10:36 (GMT)
Solve threading conflict when calculating smooth normals

It was possible to have synchronization issues whe naccumulating smooth
normal to a vertex, causing shading artifacts during playback.

Bug found by Dalai, thanks!
January 20, 2017, 10:29 (GMT)
RNA: Expose autosmooth face splitting

This way render engine can request mesh to be auto-split and not
worry about implementing this functionality on it's own.

Please note that this split is to be performed prior to tessellation.
January 20, 2017, 10:26 (GMT)
Fix compile error (-Werror=float-conversion).
January 20, 2017, 10:26 (GMT)
Cycles: Expose diffuse and glossy depth to Light Path node

Was a bit confusing to have transparent and translucent depth
exposed but no diffuse or glossy.

Reviewers: brecht

Subscribers: eyecandy

Differential Revision: https://developer.blender.org/D2399
January 20, 2017, 10:26 (GMT)
Cycles: Remove using namespace hell

Please NEVER EVER use such a statement, it's only causing HUGE
issues. What is even worse: it's not always possible to immediately
see that the hell is coming from such a statement.

There is still some statements in the existing code, will leave
those for a later cleanup.
January 20, 2017, 10:26 (GMT)
Cycles: Don't use fast math for the host code

This is important for the reliable behavior or isnan/isfinite/min/max
functions to work with nan and non-finite values. Some of the issues
with fast math are possible to work around, but didn't find a way to
have reliable min/max implementation yet.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021