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
2017-10-02Depsgraph: Fix/workarounf when tagging light probe for data updateSergey Sharybin
2017-09-25Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-25Fix T52835: When driven IK influence change, ik animation have 1 frame delaySergey Sharybin
2017-09-21Depsgraph and collection enable/visibilityDalai Felinto
Iterate over invisible objects too, so lamps can still lit the scene. Also, now you can use a collection to set an object to invisible, not only to visible. For example: Scene > Master collection > bedroom > furniture Scene > View Layer > bedroom (visible) > furniture (invisible) The View Layer has two linked collections, bedroom and furniture. This setup will make the furniture collection invisible. Note: Unlike what was suggested on D2849, this does not make collection visibility influence camera visibility. I will keep this as a separate patch. Reviewers: sergey Subscribers: sergey, brecht, fclem Differential Revision: https://developer.blender.org/D2849
2017-09-21Depsgraph: Fix bug introduced by wrong merge conflict resolutionSergey Sharybin
2017-09-19Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-19Depsgraph: Fix wrong flag being assignedSergey Sharybin
2017-09-18Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-18Fix T52432: Blender crashes while using Ghost (new depsgraph)Sergey Sharybin
2017-09-15Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-15Transform: Enable recursion dependency check for new depsgraphSergey Sharybin
2017-09-14Depsgraph: Fix crash in masking, related on T52749Sergey Sharybin
2017-09-14Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-14Fix T52749: New Depsgraph - Render View Mask is not initialized correctlySergey Sharybin
2017-09-14Fix T52741: Follow track with depth object crashes Blender with new depsgraphSergey Sharybin
2017-09-12Fix T52705: Lamps shadows are not refreshed when tweaking lamps parametersSergey Sharybin
Lamp and camera datablocks updates should flush some updates to corresponding objects. Currently it's done as Parameters -> Parameters relations.
2017-08-30Depsgraph: Copy-on-write component does not depend on itselfSergey Sharybin
2017-08-29Depsgraph: Fix crash when ungrouping node groupSergey Sharybin
We shouldn't tag both COW and shading parameters ocmponents for update at the same time.
2017-08-29Depsgraph: Fix missing material update when driving property in a groupSergey Sharybin
2017-08-29Fix possibly missing flushes back to copy-on-write operationSergey Sharybin
Could have happened if multiple tags per object happens.
2017-08-29Depsgraph: Fix missing updates when tweaking node tree parametersSergey Sharybin
The is following: split copy on write update for node trees, and if we are only tagging for uniform buffer update we skip whole datablock copy and only invoke copy default_values form original nodetree to a copied one. Thing which i'm not sure is: whether we need to use different branches in graph itself to control such a conditional behavior, or whether we need to store tag somewhere in the dependency graph. There are obviously cons and pros in both approaches, and need to think about this. Maybe with more examples it becomes more obvious which way is better. This only fixes manual tweaks for now, animation support is coming.
2017-08-29Depsgraph: Fix missing updates when changing node tree topologySergey Sharybin
There were two issues here: 1. material_update did not do anything, because DEG_id_tag_update was storing update tags in original IDs, which had nothing evaluated. Even more, material update should have been called with evaluated version of material, Solved this by copying update tag from original ID to a copied one. However, perhaps DEG_id_tag_update should tag both original and copied ID, so updates are never gets lots if some depsgraph is not visible. 2. Tagging material for update should ensure it's copied version of node tree is up to date, otherwise material will still use old node tree. This solves missing material updates when changing topology. Tweaking values is still broken, because of GPUMaterial using pointer to original node's socket value, which gets broken after copy-on-write of the node tree (pointers of nodes are changing).
2017-08-28Depsgraph: Don't case ID_Type to shortSergey Sharybin
2017-08-28Merge branch 'master' into blender2.8Sergey Sharybin
2017-08-28Depsgraph: Don't cast ID_Type to shortSergey Sharybin
2017-08-28Depsgraph: Pass copy-on-write pointer to material updateSergey Sharybin
Unfortunately, there is something else wrong going on here, which makes objects black after tweaking material settings.
2017-08-24Depsgraph: Fix crash editing mesh in edit modeSergey Sharybin
2017-08-24Depsgraph: Cleanup typoSergey Sharybin
2017-08-24Fix T51907: New Depsgraph - Camera constraint is not evaluated properlySergey Sharybin
This is more a workaround for until we've got proper visibility flush, which will likely happen in blender2.8 branch.
2017-08-22Merge branch 'master' into blender2.8Sergey Sharybin
2017-08-22Fix T52209: New Depsgraph - animated follow curve constraint sometimes ↵Sergey Sharybin
freaks out when the curve has a parent
2017-08-22Depsgraph: Cleanup, make code friendlier to be edited in columnsSergey Sharybin
2017-08-22Depsgraph: Remove placeholder for path evaluationSergey Sharybin
Wasn't used in years, if it really needs to be dedicated operation it needs to be revisited anyway.
2017-08-22Fix T52454: Crash in DEG_graph_on_visible_update when activating scene layerSergey Sharybin
Most likely needs in 2.79 final release.
2017-08-16Update code comments from DAG_id_tag_update to DEG_id_tag_updateDalai Felinto
2017-08-16Depsgraph/Layers: Keep original visibility when doing full scene copyDalai Felinto
Originally we were not respecting the original visibility flags of the collections. However this is required for Copy-on-write (CoW). Remember to update the svn lib tests folder. I had to update some of the json files there. Also adding a new unittest for this particular issue: Test render_layer_scene_copy_f
2017-08-12Cleanup: quiet warningsCampbell Barton
2017-08-12Cleanup: whitespaceCampbell Barton
2017-08-08Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/depsgraph/intern/builder/deg_builder_relations.cc source/blender/editors/object/object_add.c source/blender/python/intern/bpy_app_handlers.c
2017-08-08Fix T52255: New Depsgraph - Constraint and Drivers not working together when ↵Sergey Sharybin
the driver references itself
2017-08-08Depsgraph: Cleanup, make it easier to debug on laptopSergey Sharybin
2017-08-07Merge again...Bastien Montagne
2017-08-03Depsgraph: Fix wrong data type used for armature tagSergey Sharybin
Spotted by Ray aka LazyDodo, thanks!
2017-07-28Depsgraph: Re-use evaluated mesh across frames and remove time dependency ↵Sergey Sharybin
from all CoW components This commit is a work forward having less updates during playback, which speeds things up a lot here. The idea is simple: stop update all copy-on-write datablocks (which implies full re-evaluation actually) on frame change and re-use existing evaluated meshes as much as possible. This brings playback speed to 24 fps on the dino test scene here. Performance drops down a lot when armature is animated tho, but that's because of need of tangent space calculation which we can't do much about from just a dependency graph. Hopefully this doesn't make copy-on-write too unstable, quick tests here are surviving fine.
2017-07-27Depsgraph: Attempt to keep evaluated mesh when possibleSergey Sharybin
Currently wouldn't make any difference, but required for upcoming work of getting rid of time dependency for copy-on-write component.
2017-07-27Depsgraph: Cleanup, variable nameSergey Sharybin
2017-07-27Depsgraph: Cleanup, use some utility functions to shorten construction codeSergey Sharybin
Still some cleanup is possible.
2017-07-27Depsgraph: Create ID nodes on build-time expansion using node builderSergey Sharybin
This will allow us to do some builder-specific trickery when ID nodes are requested to be created from build-time expansion.
2017-07-27Depsgraph: Allow stealing copy-on-written pointerSergey Sharybin
This will become handy when we'll be re-using evaluated meshes for objects after relations are updated.
2017-07-27Depsgraph: Fix possibly missing lamp update when lamp data changesSergey Sharybin