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-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
2019-05-23Depsgraph: Ensure DOF object is always in the graphSergey Sharybin
Related in T60961. Unfortunately, doesn't fix it yet. Needs deeper investigation.
2019-05-23Depsgraph: Don't tag original IDs for recalcSergey Sharybin
Tagging original ID introduces a conflict of interest when a separate graph is created and is tagging objects to be re-evaluated with its context. This is part of the problem in T63111: tags within a temporary dependency graph affects viewport and vice versa, which makes logic to wrongly consider that something did change in the scene and that baking is to be redone. This effectively reverts db3bfd0, but this time everything seems to be updating fine in the viewport.
2019-05-23Render: Use dependency graph for compositor/sequencerSergey Sharybin
This change makes it so a minimal dependency graph which only includes compositor and sequencer is built for the render pipeline purposes. Tricky part here is that it's only compositor itself and sequencer who to use this dependency graph and IDs from it. Render engines are still to be provided original IDs because: - They will create dependency graph for the given scene, and currently it is not possible to create dependency graph from CoW scene. - IDs from the compositor/sequencer dependency graph are "stripped", as in, they wouldn't have all view layers, collections or objects required for proper final render. This creates annoying mess of mixing evaluated and original scene access in various parts of the pipeline. Fixes T63927: Compositing nodes - drivers don't really work Reviewers: brecht Maniphest Tasks: T63927 Differential Revision: https://developer.blender.org/D4911
2019-05-23Depsgraph: Allow building scene propertiesSergey Sharybin
This is used by driers and this is a first step towards support of scenes used for only compositor or sequencer. Fixes T61014: Assert adding a driver that uses a single property of a scene ID
2019-05-23Depsgraph: Allow having ID built checks be more granularSergey Sharybin
2019-05-23Depsgraph: Fix fake dependnecy cycle in proxiesSergey Sharybin
Noticed when was looking into T64764, F7043663. This is a weird case when proxy group is not a group, but is the same as linked object. Remove useless relation which was causing cycle, but had no functional meaning. Pair programming session with Brecht. Reviewers: angavrilov, brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4928
2019-05-23Depsgraph: Correct relations for proxy groupSergey Sharybin
At some point when the transform evaluation was split into EVAL and FINAL the b350edc was re-introduced by EVAL being run prior to proxy_group's matrix is evaluated.
2019-05-23Masks: Properly port to Copy-on-Write conceptSergey Sharybin
Masks were not really covered by Copy-on-Write due to mistake in the dependency graph. After correcting that mistake a lot of tools became broken, so majority of the patch is related on making it so access to evaluated/tessellated masks is done. When accessing evaluated mask state make sure access to an evaluated dependency graph is done. This solves possible access to NULL data on redo. Fixes T64899: Re-doing new point addition causes crash Reviewers: brecht Reviewed By: brecht Maniphest Tasks: T64899 Differential Revision: https://developer.blender.org/D4918
2019-05-17Cycles/Eevee: unify depth of field settings for camerasJeroen Bakker
There is now a checkbox to enable/disable depth of field per camera. For Eevee this replace the scene level setting. For Cycles there is now only an F-Stop value, no longer a Radius. Existing files are converted based on Cycles or Eevee being set in the scene. Differential Revision: https://developer.blender.org/D4882
2019-05-17Fix T64595: Mask does not update correctly when changing framesSergey Sharybin
Is caused by change which made all IDs to have parameters. Solved by using more explicit relations.
2019-05-16Refactor: Simplify ID Property freeingJacques Lucke
This also makes `IDP_CopyProperty` the "opposite" of `IDP_FreeProperty`, which is what I'd expect. Two refactoring steps: * rename IDP_FreeProperty to IDP_FreePropertyContent * new IDP_FreeProperty function that actually frees the property Reviewers: brecht Differential Revision: https://developer.blender.org/D4872
2019-05-16Depsgraph: Add queries whether ID is original/evaluatedSergey Sharybin
2019-05-15Outliner Restriction: Naming sanitization and iconDalai Felinto
No major API change here, only in the outliner restriction column variables (e.g., show_restrict_column_selectable > show_restrict_column_select). * Get rid of _INSTANCE (introduced on b1af68200159). * Differentiate (everywhere but the API) between HIDE (temporary) and VIEWPORT (global). * Use the expected icon for restrict viewport (same as objects and modifiers). * selectable > select
2019-05-14Depsgraph: dependency on B-Bone start handle end roll when inheriting it.Alexander Gavrilov
Specifically the dependency is on any drivers that may be affecting the RNA property of the handle bone, which currently link to segments.
2019-05-14Cleanup: sort struct declarationsCampbell Barton
2019-05-14Depsgraph: detect bbone_segments drivers from Object animation data.Alexander Gavrilov
2019-05-13Fix T63325: Drivers freezing input valueSergey Sharybin
Not sure why driver would be affecting on the behavior, the actual issue was caused by lack of proper relations built for lamps and cameras.
2019-05-13Fix T64387: Crash with driver copy/pasteSergey Sharybin
Was missing copy-on-write tag since lamp itself has no geometry or transform. Now tagging for animation, and taking care of special case in the dependency graph.
2019-05-11Outliner Visibility UpdateDalai Felinto
See T61578 for discussions and mockups. Visibility Options ================== We are adding more granular control over restriction columns in the outliner, exposing "indirect only" and "holdout" as options, and change the way users enable/disable collections in a viewlayer. We also rename the object viewport restriction to hide instance. So the options we have are: Collection ---------- * Render Visibility * Instance Visibility * Selectable (View) Layer Collection ----------------------- * Enable * Holdout * Indirect Only * Viewport Shortcuts ========= Isolate Collection ------------------ * Ctr + click isolates the collection. It turns all its parents and children "visible", and all the other collections "invisible". If ALL the collections were already properly set, we re-set the collections to their default value. Set Collection Inside Collections and Objects --------------------------------------------- * Shift + click: Set/unset inside collections and objects. We only set objects values as well when we are in View Layer mode and (obviously) when the objects have a matching property. Icons ===== Little reminder that we will need better icons for holdout, indirect only, and probably instanced (nothing wrong with the current, but it differs from the proposal when it is turned off). Also, we need to decide where do we want the modifier/bones/... icons to be (in which column) and ideally make sure their icons match the ones we use for collections/objects. At the moment those are using the screen icon, which is not being used by collections. Reviewers: brecht, billrey Subscribers: pablovazquez Differential Revision: https://developer.blender.org/D4823