Blender Git Loki

Kaikki Blender Git kommitit.

Page: 6321 / 8462

July 3, 2012, 14:05 (GMT)
svn merge ^/trunk/blender -r48527:48537
July 3, 2012, 14:04 (GMT)
dont display image sequences outside the frame range in the 3D viewport.
July 3, 2012, 13:47 (GMT)
Fix for the "black F-Curves" bug on undo
(From personal stash of bugs - since early 2.5 versions)

F-Curve colors get applied only on Graph Editor "refresh()". In some cases, undo
was reverting back to a state where the colors had not yet been set. In these
cases, there would be no refresh() after that undo (until expanding a channel or
some other similar action), resulting in "black F-Curves" appearing. So, now we
force such an update after undo to ensure that the curves never display black.

(Noticed while investigating another bug for Mango related to
CLIP_OT_constraint_to_fcurve not sending notifiers required when new F-Curves
are added)
July 3, 2012, 13:24 (GMT)
More exception words to the ui dico... :/
July 3, 2012, 13:15 (GMT)
Minor edits.
July 3, 2012, 12:40 (GMT)
Fix [#31977] Export Animated Mesh, terminate baking in fluid-sim

* Elbeem exporter code now overrides user settings to No Slip in case the object is animated;
* UI of fluid obstacles now disables slip settings when export animated is enabled;
* Added in this later option's tooltip a mention that it enforces No Slip!
July 3, 2012, 11:32 (GMT)
rename module to something less generic.
July 3, 2012, 11:03 (GMT)
svn merge ^/trunk/blender -r48489:48527
July 3, 2012, 10:56 (GMT)
Tomato: style cleanup, no functional changes
July 3, 2012, 10:56 (GMT)
Tomato: improved cache management for movie clips

Replace pseudo-LRU approach of determining which buffer
to remove when running out of space allowed for cache
with approach which would remove the frame which is most
far away from newly added frame.

This is still a bit tricky because it's impossible to
distinguish which frame to delete in situation of:

CCCC...CC
^

it's either user wants to extend left segment of cached
frames and buffers from right segment should be removed
or he wants to join this two segments and in that case
buffers from right segment should be removed.

Would need a bit more investigation which situation
is more common in general usecase.
July 3, 2012, 10:48 (GMT)
merge with trunk 48524
July 3, 2012, 10:32 (GMT)
fix (actually nasty workaround), for groups incorrectly drawing in the object panel when the blend file has naming collisions with library data.

also minor style cleanup in bpy_rna.c
July 3, 2012, 09:05 (GMT)
Optimized the area of interest of the lensdistortion node.
This will have faster feedback to the user, as lensdistortion is mostly
a node that is located at the end of a composite
July 3, 2012, 09:02 (GMT)
Style edit (mostly), use """ for docstrings (not ''').

Should also fix the broken py ops tips...
July 3, 2012, 08:54 (GMT)
Check for nullpointers.
The ID of group nodes are not always filled.
July 3, 2012, 08:16 (GMT)
fix for memory leak in BKE_mesh_ensure_navmesh(), it would add 2 navmesh layers, once referencing the other.
July 3, 2012, 06:45 (GMT)
fix for smoke writing uninitialized values to pointcache, not a big deal since they are ignored on reading.
July 3, 2012, 05:46 (GMT)
Bugfix: Fix crashes with empty material slots
July 3, 2012, 05:30 (GMT)
Followup for r.48515

* Removed material driver creation hack. However, the textures one remains, as
texture eval isn't ready yet
* Shuffled some code
July 3, 2012, 05:11 (GMT)
Bugfix [#31834] Cycles materials cannot be manipulated using drivers

Until now, there was never any code for making drivers on materials get
recalculated when their dependencies were changed. However, since changing
material colors with drivers is something that is quite common, a workaround was
introduced to ensure that materials could still be driven (albeit with the
relevant drivers rooted at object level). This worked well enough so far with
traditional materials - though it was sometimes clunky and confusing for some
users - and would have been ok to tide us over until the depsgraph refactor.

The introduction of Cycles changed this, as it has in many other ways. Now that
people use Cycles to render, they'll need to drive the material colors through
the nested nodetree (and other things nested deeply within that). However, this
is much more difficult to generate hacks to create the relevant paths needed to
work around the problem.

== This Commit... ==
* Adds a recursive driver calculation step to the BKE_object_handle_update()
(which gets called whenever the depsgraph has finished tagging object datablocks
for updates), which goes through calculating the drivers attached to the object
(and the materials/nodetrees attached to that). This case gets handled everytime
the object is tagged as needing updates to its "data" (OB_RECALC_DATA)

* When building the depsgraph, every dependency that the drivers there have are
treated as if they were attached to object.data instead. This should trick the
depsgraph into tagging OB_RECALC_DATA to force recalculation of drivers, at the
expense perhaps of modifiers getting recalculated again.

== Todo ==
* The old workarounds noted are still in place (will be commented out in the
next commit). This fix renders at least the material case redundant, although
the textures case still needs a bit more work.

* Check on whether similar hacks can be done for other datablock combinations

* So far, only simple test cases have been tested. There is probably some
performance penalty for heavy setups still (due to need to traverse down all
parts of material/node hierarchy to find things that need updates). If there
really is a problem here, we could try introducing some tags to limit this
traversal (which get added at depsgraph build time). <--- USER TESTING
NEEDED!!!
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021