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
2019-07-09Fix T66610: Planar Track extremely laggy when 3D View is openSergey Sharybin
The issue was caused by modifications to planar track tagging clip for copy-on-write, which was invalidating its cache and forcing current frame in 3D viewport to be re-load. Ideal solution would be to share movie cache across original and evaluated movie clips which will reduce memory usage. However, doing such ownership changes so close to the code freeze is not something comfortable to do.
2019-07-08Fix T66556: Noisy drivers relations in certain casesSergey Sharybin
2019-07-07Cleanup: spellingCampbell Barton
2019-07-05Depsgraph: Cleanup, more clear namingSergey Sharybin
2019-07-05Depsgraph: Make component traversal more granularSergey Sharybin
Now it is possible to start traversal from a given component.
2019-07-05Depsgraph: Add dependencies traversal which is aware of componentSergey Sharybin
Sometimes it is required to know which exact part of ID is being dependent on the given iD. Now it is possible.
2019-07-05Depsgraph: Add inverse of node type conversion functionsSergey Sharybin
2019-07-05Depsgraph: Make object component conversion more accessibleSergey Sharybin
2019-07-04Fix T63788: Crash if particle system is turned off in particle editing modeSergey Sharybin
Make sure particle system edit never points to a modifier or particle system which becomes inactive. This is needed because copy-on-write will change pointers of them and those pointers are supposed to be restored from particle system evaluation. But since the particle system is disabled it never updates pointers. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D5180
2019-07-03Fix T66234: Issue on switching material mode between Object and DataSergey Sharybin
The root of the issue comes to the fact that part of dependency graph is being removed, without doing any further remapping. This was happening because only materials used by objects were pulled in, so when material mode is changed some material became unused and removed from the dependency graph and freed, causing object or its data to point to a freed memory in its materials array. Simplest and safest way to solve this is to pull materials referenced by both object and object data. This causes somewhat higher memory usage but keeps evaluated state of scene in an always consistent state, without any need to tag/update object's data on material mode change. Don't think it is a problem in practice. Reviewers: brecht, fclem Reviewed By: brecht, fclem Differential Revision: https://developer.blender.org/D5172
2019-07-03Fix T66370: add_relation Message in Console with certain shadersSergey Sharybin
2019-07-03Fix T66366: Multi object edit makes blender crashSergey Sharybin
Two issues here: - Evaluated object data is to only be updated for selection only after modifier stack is done its job. Otherwise it's possible to have selection batch update called on an input data, at the same time as original object data is being evaluated. - If object's modifier stack did not create its own evaluated mesh (in case when there is no effective modifiers, for example) can not update selection on object's data, as it might cause threading issues between objects sharing same data.
2019-07-02Fix T65778: Missing selection update with linked objects in edit modeSergey Sharybin
2019-07-02Cleanup: spellingCampbell Barton
2019-07-01Fix T66207: Invalid depsgraph relation when driver uses object dimensionSergey Sharybin
Would be nice to find a more proper and generic solution instead of name based comparison, but can not really think a nice way to go currently.
2019-06-28Fix T62990: Selecting bones causes pose to be re-evaluatedSergey Sharybin
2019-06-28Fix T66105: Changing force field does not update simulationSergey Sharybin
2019-06-26Fix missing volume update via scene strip's settingsSergey Sharybin
This is a part of T66117. The entire sequencer+3d sound was never reliable, so this is as much as i can fix currently.
2019-06-26Fix T66132: Unable to move bone in special configurationSergey Sharybin
Animation needs to wait for the sub-data datablock copy-on-write, but tagging that copy-on-write should not enforce animation evaluation.
2019-06-24Fix T66050: Textbox is not updated, when controlled with driversSergey Sharybin
2019-06-20Cleanup: Remove unused depsgraph functionSergey Sharybin
2019-06-17Fix T63145: nested instancers not respecting Display Instancer settingBrecht Van Lommel
2019-06-17Fix T65662: Drivers on custom properties doesn't properly updateSergey Sharybin
Happens if custom property is on object data data-block, which doesn't have translation or geometry components. Not for lights and cameras at least.
2019-06-17Fix T65651: Crash when changing audio strip source fileSergey Sharybin
2019-06-17Fix T65817: Video Sequencer doesen't render speakers' soundsSergey Sharybin
Part of the issue was caused by missing speaker objects in the depsgraph used for post-processing. Remaining part was caused by missing scene sound update for this depsgraph.
2019-06-17Cleanup: comment, RNA spellingCampbell Barton
2019-06-17Cleanup: comment spellingCampbell Barton
2019-06-15Cleanup: Rename: Static Override -> Library Override.Bastien Montagne
Better to make internal code naming match official/UI naming to some extent, this will reduce confusion in the future. This is 'breaking' scripts and files that would use that feature, but since it is not yet officially supported nor exposed in 2.80, as far as that release is concerned, it is effectively a 'no functional changes' commit.
2019-06-14Cleanup: sort structsCampbell Barton
2019-06-12Fix T57489: Texture coordinate object reference not updating in EeveeSergey Sharybin
2019-06-12Fix T64710: Rigid body stops simulating when an object is selectedSergey Sharybin
Need to preserve last evaluated time through copy-on-write process.
2019-06-12Cleanup: spelling in commentsCampbell Barton
2019-06-11Fix T65626: Use Nodes checkbox locks after being checked with "insert keyframe"Sergey Sharybin
Not sure if this is something what is supported by render pipeline, but this report discovered some actual error in logic.
2019-06-07Sound: Fix 3D sound coming from scene stripsSergey Sharybin
Need to pull in speakers from scene strips and make sure they are properly updated.
2019-06-07Sequencer: Fix missing sound from nested scene stripsSergey Sharybin
2019-06-07Fix missing autosmooth update when animatedSergey Sharybin
Consists of few simple steps. Don't tag object data's bounding box as dirty before re-evaluaiton Most of the time this actually tags evaluated mesh which will be tossed away few lines below anyway. And this causes issues if the evaluated mesh is actually owned by the mesh datablock. The bounding box now has clear separation between original object data and object data after modifiers, so this should not be causing any issues. Free evaluated mesh when owner mesh changes Ensures that evaluated mesh shares the same settings as its owner when updates related on animation system happens. Depsgraph: Update mesh when its geometry settings changes Allows to have options like autosmooth animated. Reviewers: brecht, mont29 Differential Revision: https://developer.blender.org/D5030
2019-06-06Depsgraph: Add relations for spline animationSergey Sharybin
Currently only obvious setting which can be animated is Smooth. The rest requires more proper support from animation update on the Curve datablock. But at least with this change it's not a "dependency graph fault"
2019-06-06Fix T63035: Undoing in pose mode destroys the entire poseSergey Sharybin
Respect do_time flag in on_visible_update, matching behavior of old dependency graph and avoids unwanted animation updates. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D5026
2019-06-05Sound: Port to a copy-on-write conceptSergey Sharybin
This change makes it so sound handles are created for evaluated scene, sequencer and speakers. This allows to have properly evaluated animation on them. For the viewport playback sound uses regular dependency graph. For the final render sound uses dependency graph created for render pipeline, which now also contains sequencer and sound datablocks. All the direct sound update calls are replaced with corresponding dependency graph recalc tag.
2019-06-05Depsgraph: Store recalc tag in ID->recalcSergey Sharybin
Allows to have more granularity in checks compared to a node-factory based tagging in a generic tag/flush code.
2019-06-04Depsgraph: Only run editors ID update on manual editsSergey Sharybin
This is how it worked in 2.79 and it is how it is expected to be working. Avoids unintended icons update during animation playback. Fixes T64318: Update of material icons during animation 2x performance penalty
2019-06-04Fix T65447: Mask doesn't update in compositor unless there's motion blur onSergey Sharybin
This is probably just one of the related issues. Root of the problem was that compositor job was using original scene and node tree for compositing. It is not guaranteed to have all the evaluated data. Switched compositor job to use it's own render-pipeline-like dependency graph which has everything evaluated in it. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4998
2019-05-29DrawManager: Cycles+GPencilJeroen Bakker
Fix for GPencil and Cycles Render draw type. GPencil objects were only shown when overlays were turned on. The cause of this is an optimization we did to not populate any draw engine when an external renderer was used with overlays turned off. This will check if there is any visible GPencil object in the scene. if so it will still perform the loop. `DEG_id_type_any_exists` can check if any object of a certain type_id is in the result. This check is also being used to check if there are any visible grease pencil objects as a precheck in `DRW_render_check_grease_pencil`. Reviewed By: brecht, fclem, antoniov Maniphest Tasks: T65191 Differential Revision: https://developer.blender.org/D4962
2019-05-29Depsgraph: Fix IDs being remapped in original compositorSergey Sharybin
Happens with files from T65223. Caused by CoW scene still pointing to the original compositor. Happens when scene was referenced for parameters only.
2019-05-29Cleanup: Group depsgraph building nodesSergey Sharybin
2019-05-28Depsgraph: Add query for whether graph is up to dateSergey Sharybin
2019-05-28Fix T57483: Driver on grease pencil modifier does not updateSergey Sharybin
2019-05-24Fix T65062: Compositor doesn't work when using different sceneSergey Sharybin
Need to preserve all view layers, even for indirectly linked scenes since they might be used by render layer nodes.
2019-05-24Depsgraph: Fixes for render pipeline buildingSergey Sharybin
- Need to assign current scene in the builder: it is used to route relations for object's customdata. - Tweak relation from scene to object for the customdaat: this didn't work before because the render pipeline scene has no view layer component. Fixes T65044: Crash when Rendering (F12)
2019-05-24Depsgraph: Fix render pipeline depsgraph pointing to freed dataSergey Sharybin