Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-11Fix crash in combing after changing scene propertySergey Sharybin
2018-07-11Merge branch 'master' into blender2.8Sergey Sharybin
2018-07-11Depsgraph: Fix face dependency cycle when bone uses id property from selfSergey Sharybin
2018-07-10Eevee: LightCache: Initial ImplementationClément Foucault
This separate probe rendering from viewport rendering, making possible to run the baking in another thread (non blocking and faster). The baked lighting is saved in the blend file. Nothing needs to be recomputed on load. There is a few missing bits / bugs: - Cache cannot be saved to disk as a separate file, it is saved in the DNA for now making file larger and memory usage higher. - Auto update only cubemaps does update the grids (bug). - Probes cannot be updated individually (considered as dynamic). - Light Cache cannot be (re)generated during render.
2018-07-10DrawData: Change drawdata to a generic struct shared accross ID typesClément Foucault
This makes tagging much more generic and make the world updates more in line with the new tagging system (Depsgraph).
2018-07-10Added comment for DEG_TAG_PSYS_xxx and PSYS_RECALC_xxx relationSybren A. Stüvel
2018-07-10Cleanup: styleCampbell Barton
2018-07-09Depsgraph: Fix non-working drivers after recent relations changeSergey Sharybin
2018-07-09Depsgraph: Force modifier stack update when mesh is copiedSergey Sharybin
Modifier stack might reference arrays from mesh, so if any of sub-data pointer changed, modifier stack is to be re-evaluated.
2018-07-09Depsgraph: Forbid flush from copy-on-write operations down the roadSergey Sharybin
Old behavior: tagging ID with DEG_TAG_COPY_ON_WRITE will do copy-on-write (as requested), but will also flush changes to all operations with depends on it. This means, for example, tagging object for copy-on-write will force its modifier stack to be evaluated. This was needed in the earlier days of copy-on-write when things were not well defined and when lots of areas were not doing proper tagging. New behavior: tagging ID with DEG_TAG_COPY_ON_WRITE will only ensure copy of the dadatblock is up to date, without flushing updates to any dependencies. This means following things: - We can update parts of ID without invoking heavy computation of other parts of same ID. For example, tagging object for COPY_ON_WRITE update on mode change will not force modifiers stack to update. - If some dependent datablock is dependent on pointers which are invalidated by copy-on-write (like, evaluated mesh referencing custom data layers from original mesh), this will either require explicit tag or explicit relation in the dependency graph. Currently can not find a faulty case since tagging of mesh happens with either 0 (which means, everything) or with GEOMETRY, which also forces all dependent modifier stacks to be re-evaluated. This fixes missing PBVH when going into sculpt mode (sculpt mode toggle was tagging object for COPY_ON_WRITE update, which was forcing modifier stack to be updated, which was freeing PBVH. Some other operations might also become faster with this change.
2018-07-06UI/Python: rename Lamps to Lights, to follow more standard terminology.Brecht Van Lommel
Internally it's still mostly named lamps, though some modules like Cycles were already calling them lights.
2018-07-06Depsgraph: Relations builder should not tag ID in all depsgraphsSergey Sharybin
2018-07-05Depsgraph: Preserve engine data when doing object copy on write updateSergey Sharybin
2018-07-04Depsgraph: Don't force copy-on-write when shading changesSergey Sharybin
Shading is supposed to be dealing with draw manager batch cached thingamajigs, but was causing full object update. This was causing both flickering in sculpt mode (PBVH was removed, why it was SOMETIMES restored before draw is a mystery), and was also causing things to be really slow.
2018-07-04Depsgraph: Log entry operations which are directly modified and taggedSergey Sharybin
2018-07-03Cleanup: typosCampbell Barton
2018-06-28Prevented depsgraph errors when RigidBody Constraint is incompleteSybren A. Stüvel
2018-06-27Depsgraph: Move time dependency to animation of actionSergey Sharybin
This way we guarantee that animation component on the datablock will totally wait for action to be fully evaluated before attempting to evaluate f-curves. Fixes T55642: Inconsistent result on animated DoF file
2018-06-27Depsgraph: Add missing relation to pose initSergey Sharybin
Pose init initializes inversed object matrix, which means it does need to have proper object transform.
2018-06-27Depsgraph: Fix missing relation from action to animation when it's sharedSergey Sharybin
2018-06-26Cleanup: styleCampbell Barton
2018-06-25Physics: update softbody and dynamic paint to get colliders from depsgraph.Brecht Van Lommel
Because looping over the scene is unsafe and slow.
2018-06-25Cleanup: refactor depsgraph physics API functions.Brecht Van Lommel
2018-06-25Cleanup: rename object base flags to be more clear.Brecht Van Lommel
2018-06-25Depsgraph: cache collision relations, for performance and stability.Brecht Van Lommel
Same reasoning as effector relations in earlier commit.
2018-06-25Cleanup: code styleCampbell Barton
2018-06-25Depsgraph: Add missing nodes and relations for speakerSergey Sharybin
2018-06-22Depsgraph: cache effector relations, for performance and stability.Brecht Van Lommel
To find all effectors in the scene, we need to loop over all objects. Doing this during depsgraph evaluation caused crashes because not all objects are guaranteed to be evaluated yet. To fix this, we now cache the relations as part of the dependency graph build. As a bonus this also makes evaluation faster for big scenes, since looping over all objects for each particle system is slow. Fixes T55156.
2018-06-21Fix incorrect use of G.is_rendering for particles in some places.Brecht Van Lommel
2018-06-21Depsgraph: Add missing relation from proxy groupSergey Sharybin
Transform evaluation does depend on that matrix, but relation was never in dependency graph. It was not even in the old dependency graph, which makes me wonder how this thing worked reliably to begin with. Should fix flickering issue in the render farm.
2018-06-21Depsgraph: Re-hook duplicgroup relation to final transform operationSergey Sharybin
Transform evaluation doesn't not depend on objects which are being duplicated, so should not be any regressions here. The whole relation should probably be gone as it's kind of rooting back to legacy times, but that would need more clear research and investigation and regression testing.
2018-06-21Depsgraph: Walk into dupli_group objectSergey Sharybin
That will help with cases when dupli_group object is not linked directly to the scene.
2018-06-20Despgraph: don't tag for transform/geometry update on relations rebuild.Brecht Van Lommel
This should already be happening elsewhere and was causing depsgraph rebuild to be slower than it should.
2018-06-20Fix crash opening some files, after recent changes.Brecht Van Lommel
2018-06-20Objects: restore per object restrict view/render/select.Brecht Van Lommel
Note this is now separate from H key hiding, and meant for more persistent ways to define which objects are relevant to the viewport or render. This avoids some cases where you'd have to create collection specifically to hide objects for viewport/render.
2018-06-18Depsgraph: Cleamup, reduce indentation levelSergey Sharybin
2018-06-15Dependency graph fixes for RigidBodyWorldSybren A. Stüvel
- rbw->group added to the depsgraph. - Mesh evaluation added when necessary. - Prevent of double-free by freeing the scene before objects.
2018-06-14Depsgraph: Make certain components NOT tag copy-on-write when they are taggedSergey Sharybin
Currently done for mesh batch cache update, and for base flags sync. Those components do not need anything from original object, and hence can skip CoW tag and have faster update after them used.
2018-06-14Depsgraph: Use dedicated ocmponent for object's base flags flushSergey Sharybin
2018-06-13Depsgraph: Avoid use of 0 tag flag on build finishSergey Sharybin
Use all the explicit tagging. Solves characters being in T-pose after opening specific scene files.
2018-06-12Fix T55376: instanced collection render visibility ignored.Brecht Van Lommel
For physics simulation it's still fuzzy though, but this needs bigger design for how it works with view layers and visibility.
2018-06-12Fix T55409: Can't animated keyframed material node value after moving ↵Sergey Sharybin
keyframe on timeline Completely ignore animation for legacy zero update tag. If one needs animation to be evaluated, tag with proper update tag, stop relying on direct assignment of adt->>recalc with zero update tag for DEG. This commit might cause missing updates when needed, those needs to be looked into once they happen.
2018-06-12Depsgraph: Add debug option to invalidate data tagged for updateSergey Sharybin
See comment for INVALIDATE_ON_FLUSH.
2018-06-12Depsgraph: Set temp object to invalid state as soon as it becomes inaccessibleSergey Sharybin
2018-06-12Depsgraph: Cleanup, wrap private functions to an anonymous namespaceSergey Sharybin
2018-06-11Cleanup: remove unused DAG_EVAL_PREVIEW mode.Brecht Van Lommel
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-06-11Revert unintended changes to depsgraphDalai Felinto
This partially reverts f8d7df6f162. I committed this bit by mistake.
2018-06-09Cleanup: styleCampbell Barton
2018-06-08Depsgraph: Remove no longer needed nodetree values copying on evalDalai Felinto
Note: Depsgraph still calls the nodetree eval function that doesn't nothing in turn. We can remove it, but it is harmless though.