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-08-16Cleanup: spellingCampbell Barton
2019-08-13Custom Properties: officially support int and float arrays in the UI.Alexander Gavrilov
In some rare cases it is convenient to store a short array value as a custom property, e.g. a vector or color. For example, it may be helpful when importing/exporting certain formats that support custom or nonstandard attributes on objects. The custom property storage already can handle arrays in order to support properties defined via python. The only thing missing is UI support (and some bugs), and this patch fixes that: - Allow editing short array properties via Custom Properties panel. - Fix a UI layout sizing bug triggered by the previous item. - Fix a dependency graph bug with drivers using such properties. - Make RNA_*_get_default_array code robust in case of size mismatch. - Support custom default values for array properties, allowing both an array and a scalar value. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5457
2019-08-11Cleanup: spellingCampbell Barton
2019-08-01Linux: resolve issue compiling on mint 18.3Campbell Barton
size_t wasn't declared. While this could be resolved differently, convention is to include BKE after BLI.
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-31Fix several undefined-behaviour-sanitizer warningsLukas Stockner
Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4222
2019-07-31Cleanup: remove unused boost codeBrecht Van Lommel
2019-07-31Depsgraph: Fix wrong check for need-to-be-evaluatedSergey Sharybin
Was missing since 1693a5efe91.
2019-07-31Fix T67883: Time Remapping doesn't workSergey Sharybin
Was caused by 1693a5efe91.
2019-07-30BLI_task: Cleanup: rename some structs to make them more generic.Bastien Montagne
TLS and Settings can be used by other types of parallel 'for loops', so removing 'Range' from their names. No functional changes expected here.
2019-07-30Fix T66591: GPencil layer visibility control via driver doesn't workSergey Sharybin
2019-07-28Depsgraph: Fix changes in tracking invalidating movie cacheSergey Sharybin
Added special exception in legacy tag with 0 flag.
2019-07-28Depsgraph: Fix missing cases of SOURCE ID recalc tagSergey Sharybin
2019-07-28Fix T66872: Changing clip color space does not update background imagesSergey Sharybin
Such reload can no longer happen directly and is to be done via dependency graph. Eventually, the movie cache will become shared across all copies of the clip, but even then we still need to have dependency graph mechanism because we need to update FFmpeg animation handle (which can not be shared across the copies).
2019-07-26Fix T66325: Animation Keyframe Undo/Redo BugSergey Sharybin
The issue was caused by dependency graph always ignoring animation update when it is first time constructed. This was a way to make it preserve unkeyed changes on undo/redo. This, however, made it so changes of animation data itself (such as deleting/moving keyframes) did not trigger animation update by the dependency graph. This worked prior to copy-on-write because animation recalc flags were stored in the DNA and never re-set on file/undo load. This was giving dependency graph a clue that animation is to be re-evaluated when operator explicitly asked to (more precisely, when such operator was undone/redone). This change makes it so original ID's recalc flags are storing recalc flags when ID is tagged for update as an response to user input. This way re-building dependency graph can force animation to be updated on redo. Tricky part here is that ID's recalc flag is no longer to be zeroed when loading undo step (which is the same as reading .blend file). This is something what works differently comparing to legacy dependency graph, which was zeroing object's recalc flags there but not animation data's recalc flags. Shouldn't be causing issues, since unkeyed changes are not preserved upon opening a file anyway, at least to my knowledge. Related reports which are to be taken into account and verified they are not re-introduced when making changes in the area: - T63111: Auto-Bake stuck at constant re-rendering - T54296: Cycles viewport render stuck on constant re-render Reviewers: campbellbarton, brecht Reviewed By: campbellbarton, brecht Maniphest Tasks: T66325 Differential Revision: https://developer.blender.org/D5316
2019-07-26Fix T66378: Missing animation update when switching view layerSergey Sharybin
Current frame is stored in a scene, and scene might have multiple view layers. The inactive view layers were not informed about scene's frame being changed, so when user switched back to view after changing scene frame it was in an inconsistent state between current scene frame and animation. Now we tag scene for time changes, so dependency graph can catch up and do proper update. Currently tagging is from quite generic place. Probably better approach would be to tag from where frame is actually being assigned. Downside of this is that it's easy to miss some places. Reviewers: brecht, mont29 Reviewed By: brecht Maniphest Tasks: T66378 Differential Revision: https://developer.blender.org/D5332
2019-07-17Fix T66919: Force field does not affect particlesSergey Sharybin
Reviewers: brecht Reviewed By: brecht Maniphest Tasks: T66919 Differential Revision: https://developer.blender.org/D5275
2019-07-15Fix compositor ignoring mask parentingSergey Sharybin
There are two aspects to the problem: - Dependency graph update for compositor preview was missing updates flush. Apparently, update for new frame style of update will take care of flushing, but not the update tagged style of update. This goes to a legacy dependency graph and is to be changed at some point, but not so close to the release. - Movie clips were missing from the compositor dependency graph. This fixes part of T66519. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D5256
2019-07-15Fix T66686: Crash on Particle Edit, then RenderSergey Sharybin
Reviewers: brecht, zeddb Reviewed By: brecht Maniphest Tasks: T66686 Differential Revision: https://developer.blender.org/D5259
2019-07-12Fix T66747: Active bone not showing in edit-modeCampbell Barton
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