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
path: root/source
AgeCommit message (Collapse)Author
2021-01-26Cleanup: Use const argumentsHans Goudey
2021-01-26Cleanup: Declare variables where initializedHans Goudey
2021-01-26Cleanup: Correct comments in ID type enumHans Goudey
2021-01-26Cleanup: update comment from 77f73a92843965906189dd56dcc4d18eae2371ccCampbell Barton
2021-01-26Fix T85054: undo/redo app handlers brokenFalk David
Regression in recent commit c13383da416c9c99d03058caaf66c736af0272cb which swapped undo/redo when calling the handlers. Ref D10200
2021-01-26Merge branch 'blender-v2.92-release'Julian Eisel
2021-01-26Fix library name clipping most of the data-block name in data-block menusJulian Eisel
Issue is visible here https://developer.blender.org/F8626313. If there is enough space for both the item name and the library hint, display both. Otherwise, clip either the item name, the library hint, or both so that not more than 60% and 40% of the available width are used repectively. There are further improvements we could do, as noted in T84188, this just fixes the regression for the release. Part of T84188. There were multiple reports about this, see merged in and mentioned reports in T84188 and T78012.
2021-01-25Cleanup: spellingCampbell Barton
2021-01-25Merge branch 'blender-v2.92-release'Pablo Dobarro
2021-01-25Fix T84031 initialize connectivity info of the base mesh before using ↵Greg Neumiller
Displacement Smear brush. Reviewed By: pablodp606 Maniphest Tasks: T84031 Differential Revision: https://developer.blender.org/D9956
2021-01-25Merge branch 'blender-v2.92-release'Hans Goudey
2021-01-25Fix: Unable to animate nodes modifier exposed propertiesHans Goudey
The RNA path used for animating the settings passed to the node tree is incorrect. Currently it's just `settings.property_name`, but it's the path from the ID, not the modifier, so it should be `modifiers[modifier_name].settings.property_name`. However, the "Settings" struct is separated in RNA and DNA, which means that the callback to get the RNA path does not know about the modifier's name in order to fill the above path, so some reference to the modifier in the "Settings" struct would be necessary, which would create a convoluted layout in the `ModifierData` struct. Instead, this commit simply removes the "Settings" struct from RNA, which isn't as elegant from the point of view of the Python API, but otherwise it's a nice simplification. Note that we don't remove the "Settings" struct from DNA, because it would break reading old files. Differential Revision: https://developer.blender.org/D10175
2021-01-25Windows: Remove zero terminator from stack traceRay Molenkamp
Important lesson to be learned here, leaving comments is great and in the moment, they usually make sense. Many months later they may not quite make as much sense any more and time will have to be spend to figure out what was meant, all of this would have been averted with a better comment. The zero terminator in this case, I can find no evidence of it being used or relied on at any point. It does however break GTests's `EXPECT_EXIT` macro that stops looking in the output as soon as it sees the zts and doesn't end up looking at the actual assert text being thrown. Which in turn makes the`fcurve_active_keyframe`test fail when run in debug mode on windows.
2021-01-25LibOverride: refactor of relationships handling in library overrides.Bastien Montagne
First step towards a better handling of relationships between IDs in override context, especially when a resync is needed. First, introduce a new flag to override operations, `IDOVERRIDE_LIBRARY_FLAG_IDPOINTER_MATCH_REFERENCE`, for ID pointers. It keeps track of whether an RNA ID pointer has been kept to its 'natural overriden ID' (in override hierarchy context), or has actually been re-assigned to some other data-block. Second, refactor how we deal with relationships between IDs in override hierarchy code, especially in resync case. This will fixe several cases listed in T83811, especially the case where an ID pointer to an existing override needs to be updated to a new one due to a matching change in linked data.
2021-01-25Fix T85027: Crash dragging a collection over empty OutlinerJulian Eisel
Filtering may make the Outliner tree empty. The function to find the drop element should just return null then and let the caller decide how to deal with it.
2021-01-25Cleanup: Knife Tool: Remove redundant 'view3d_operator_needs_opengl' callsGermano Cavalcante
This function sets the `RegionView3D` matrices to the GPU. But the OpenGL library is not actually being used by the operator.
2021-01-25Fix T84964: Crash when running Knife Project in the backgroundGermano Cavalcante
Although the Knife Project operator converts 3D coordinates to screen space, it doesn't really need opengl. Differential Revision: https://developer.blender.org/D10178
2021-01-25Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-25Fix T84324: Crash when combining two scenes in compositor.Jeroen Bakker
In the CompositorOperation::deinitExecution the viewer could be freed at the same time it was drawn in the image editor or node editor. There is a guard for that but wasn't added during the migration of the two editors to the draw manager.
2021-01-25Merge branch 'blender-v2.92-release'Sergey Sharybin
2021-01-25Fix padding issue in DNASergey Sharybin
Was introduced in the previous change in the image.
2021-01-25Fix T84398: Multiview images show only one view.Jeroen Bakker
The `image_get_gpu_texture` didn't use the iuser->view_index but recalculated the requested view again. This lead to inconsistent behavior when switching between multi view textures or stereo textures. This has been fixed by ensuring that the `iuser->view_index` is always used. An Image has only place to store 2 view textures. This is done for right/left eye compositing. A multi view texture can have more views. This would lead to reading and writing to unallocated space. When a multiview texture is requested that is larger than 1. It will always be cached as being the first eye. The `gpu_view` of the Image is also used as a cache key to check this.
2021-01-25Fix T84990: Proportional Editing falloff drawing for masks in MCE is brokenSergey Sharybin
This got broken in 4b1112c8c96. A fix which will be consistent with image editor is not obviously clear, so for the time being revert the change and go back to state which was working for a long time.
2021-01-25Merge branch 'blender-v2.92-release'Bastien Montagne
2021-01-25Fix UI message typo in own previous commit.Bastien Montagne
//sigh//
2021-01-25Merge branch 'blender-v2.92-release'Bastien Montagne
2021-01-25Fix UI messages.Bastien Montagne
Avoid sticking words together when it's not absolutely necessary.
2021-01-25Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-25Fix T84878: Eevee cryptomatte broken with stereoscopyJeroen Bakker
During multiview rendering the `cryptomatte_accum_buffer` is not cleared between the views and leaves artifacts on the next view to be rendered. This change clears the accum buffer when it already exists and will be reused for the next view.
2021-01-25Cleanup: pass 'rctf' rectangle to 2D box drawing functionsCampbell Barton
Passing 4x arguments for the rectangle, mixed in with round-box radius & color wasn't very readable. Instead, pass a `rctf` as the first argument to UI box drawing functions.
2021-01-25UI: Round-box drawing cleanupHarley Acheson
The new GPU_SHADER_2D_WIDGET_BASE shader allows us to draw many complex shapes with anti-aliasing. One thing it can do is draw an opaque rounded rectangle with colors that differ between its interior and outline. In order to do the above in a single pass I recently added an "_ex" version of UI_draw_roundbox that exposes most of that shaders features. This simplifies interface_draw.c by removing redundancy in the calling of this shader by using this new uber "_ex" version. Ref D10189
2021-01-25Cleanup: remove unused UI_draw_roundbox_shade_y functionCampbell Barton
Marked unused 2017 f69678482c849d873b9686cd6068946205db7c2b) Remove since this remains unused, split from D10189 to allow reverting if we ever need it back.
2021-01-25Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-25Cleanup: compiler warning, clang-format, spellingCampbell Barton
2021-01-25Merge branch 'blender-v2.92-release'Richard Antalik
2021-01-25Fix T84705: Snapping strip handle offset animationOlivier Jolly
Only offset animation if whole strip is snapped. Bug introduced in e36c05b3d191. Reviewed By: ISS Differential Revision: https://developer.blender.org/D10116
2021-01-25VSE: Inherit blend mode with single input effectsPeter Fog
It is very likely, that after applying effect like transform or speed on strip with certain blending, user would want to change effect blending to match original strip. Feature suggested on RCS: https://blender.community/c/rightclickselect/HVgbbc/ Reviewed By: ISS Differential Revision: https://developer.blender.org/D10156
2021-01-25Merge branch 'blender-v2.92-release'Richard Antalik
2021-01-25Fix T83267: Crash prefetching scene strip in meta stripRichard Antalik
Scene strips can't be prefetched and seq_prefetch_do_skip_frame() should check if scene strip is in timeline. But it did not recurse into meta strips, which resulted in crash. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9999
2021-01-25Fix T82698: Speed effect not working on generator stripsRichard Antalik
Generator strips with zero inputs have their length set to 1 pernamently. In some cases it is useful to use speed effect on these strips because they can be animated. This can be done by using their length as is on timeline as content length. This is very simplified and temporary solution, as cutting these strips won't give expected results. Lot of code relies on length of these strips being fixed to 1, resolving this properly should be done by T59540. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10026
2021-01-25Fix T83266: Proxy building with meta strips failsRichard Antalik
Building proxy with meta strip selected resulted in attempt to render meta strip itself and save result as image as is done when building image proxies. Remove meta strip from list of supported strips. Multicam, Meta and scene strip are cleared from poll function in UI as well. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10001
2021-01-25VSE: Remove skip_disk_cache argumentRichard Antalik
This argument was used to prevent infinite loop in lookups between disk and RAM cache. Code was refactored, so this can be handled internally in cache. Reviewed By: sybren, sergey Differential Revision: https://developer.blender.org/D9955
2021-01-25Cleanup: minor changes and comments to screen_bounds_get accessCampbell Barton
2021-01-25Fix view-axis gizmo tool-tip placementCampbell Barton
Bounding box calculation ignored the gizmo size preference.
2021-01-25Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-25Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-25Fix ruler end-caps not following interface scaleCampbell Barton
2021-01-25UV: tweak island select behaviorCampbell Barton
Selecting inside an island no longer de-selects when it's too far from an edge. When edge select fails fall back to inside-face test. This follows 908b383b7d2199c0c614d085ff65a03eb7852274 which made this change for face-select. Apply to island selection since it doesn't make sense for island select to behave differently.
2021-01-25UI: Gizmo Tooltip PositioningHarley Acheson
Position Gizmo tooltips below their bounds so they do not obscure the content. Differential Revision: https://developer.blender.org/D9793 Reviewed by Julian Eisel
2021-01-25Asset Browser: Support dragging in object-data assets (meshes, curves, etc.)Julian Eisel
The Asset Browser already displayed object-data assets, but you couldn't actually drag & drop them. This is now supported. The object-data drop poll needed access to the data-block. But with a small tweak it doesn't need that and can just check the ID type (which is known for asset dragging too). Part of T82661.