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
2021-01-19Merge remote-tracking branch 'origin/blender-v2.92-release'Dalai Felinto
2021-01-19Fix merge from 2.92 (subversion bump 292.14)Dalai Felinto
2021-01-19Object Info: Fix tooltip for the transform space optionDalai Felinto
This was agreed outside the patch discussion. And it did not make into the submitted code on 8b777ee6d69d4805c64756cf6a33db894160ce29.
2021-01-19Merge branch 'blender-v2.92-release'Sebastian Parborg
2021-01-19Volumes: fix calling BKE_volume_load from multiple threadsJacques Lucke
`BKE_volume_is_loaded` uses `grids.filepath` to determine if the grids are already loaded. The issue was that `grids.filepath` was set before the grids were loaded, resulting in incorrect early returns for other threads. Differential Revision: https://developer.blender.org/D10150
2021-01-19Geometry Nodes - Object Info: option to apply obj transform to the geometryDalai Felinto
By design the modified object transformations should still work and affect the geometry nodes results. The current behaviour, however, would make the geometry from the object info to not be affected by the modified object transformations. This patch changes that by default. In a similar fashion the Location, Rotation and Scale sockets outputs should be aware of whether the output should be in the global space or in the space of the nodetree. To solve this, the patch introduces a new transformation space "enum" where users can pick "Original" or "Relative" space. Original -------- Output the geometry relative to the input object transform, and the location, rotation and scale relative to the world origin. Relative -------- Bring the input object geometry, location, rotation and scale into the modified object maintaining the relative position between the two objects in the scene. Relative space violates a bit the design of the nodetree. The geometry in this case is transformed so that moving the modified object doesn't interfere with the geometry. This is particularly useful for the boolean node for instance. "Original" is the default space, but old files are set to "Relative" for backwards compatibility. Differential Revision: https://developer.blender.org/D10124
2021-01-19Geometry Nodes: pass depsgraph to nodes during executionJacques Lucke
The depsgraph will have to be accessed in an upcoming patch.
2021-01-19Merge branch 'blender-v2.92-release'Falk David
2021-01-19Fix T84642: Reassign effect-strip ignores animdataFalk David
When reassigning an effect strip to another sequence, any animation data in the effect strip will not be offset like expected. The fix calls `SEQ_offset_animdata` to offset the animation data after the seqence has been moved. Reviewed By: ISS Maniphest Tasks: T84642 Differential Revision: https://developer.blender.org/D10096
2021-01-19Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-19Fix T84698: error adding movie clip tracksCampbell Barton
The movie clip's `region->v2d` was being resized by the view2d code, causing mouse cursor to movie-clip coordinate mapping to fail. This commit removes `UI_view2d_region_reinit`, matching the behavior for the image editor's 2D view. Reviewed By: sergey Ref D10106
2021-01-19Fix T74755: Cap of curve doesn't have smooth shadingCampbell Barton
Copy the smooth setting when filling in curve caps. For drawing this doesn't change behavior as a single normal is used for all faces. The difference may be noticed when converting to a mesh or with modifiers applied.
2021-01-19Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-19Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-19Fix T84041: Bevel caps have invalid normalsCampbell Barton
Bevel caps always had incorrect normals, causing display glitches in some cases. It seems this never worked properly (at least 2.79 also had this bug). Use the projection vector as the normal.
2021-01-19Fix T84568: UV loop selection marks edges sharpCampbell Barton
Regression in 6a10e69d270bc6866dd0000ffc0b81f6205ba2e9 (added when testing).
2021-01-19Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-19Fix T84824: Incorrect height using interactive add toolFalk David
When using the interactive add tool for primitives with a fixed height and base aspect ratio, the height of the created primitive would be incorrect (two times too small or two times too big). When the base origin was centered, the `fixed_aspect_dimension` was not changed even though the base length was doubled. Additionally, when the height origin was centered but the height aspect ratio was fixed, the height was doubled leading to an incorrect size. The fix doubles `fixed_aspect_dimension` when the base origin is centered and correctly calculates the height of the primitive when the aspect ratio is set to fixed. Ref D10140
2021-01-19Cleanup: use 'const' argument for parameter argumentCampbell Barton
2021-01-19Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-19Fix T66681: Blender 2.7x keymap inconsistenciesCampbell Barton
Match Blender 2.7x keymap more closely. - Image Editor: F3 for save image as. - Node Editor: Ctrl-LMB to cut links. - Cycle the falloff types instead of showing a pie-menu. - Use regular menu instead of pie menu for snapping.
2021-01-19UI Code Quality: Use "params" struct for area and region callbacksHans Goudey
These functions with many arguments can be unwieldy. Aside from the obvious issues with rewriting the list of arguments and the opportunities for error and frustration that presents, the long list of arguments make these systems hard to change. So when an argument should be added, someone might skip that and add some hack instead. So, as proposed in T73586#1037210, this patch instead uses a "params" struct for each of these callbacks. - Use param argument for `ARegionType.listener` - Remove unused window field in region listener - Use param argument for `SpaceType.listener` - Use params struct for `ARegionType.message_subscribe` Differential Revision: https://developer.blender.org/D9750
2021-01-18Cleanup: Clang tidy else after returnHans Goudey
2021-01-18Cleanup: Clang tidy else after returnHans Goudey
2021-01-18Merge branch 'blender-v2.92-release'Alexander Gavrilov
2021-01-18Armature: fix B-Bone deformation blending artifacts with Preserve Volume.Alexander Gavrilov
The double quaternion blending method in addition to the deformation matrix of each bone requires their rest matrices. For ordinary bones this literally should use the bone rest matrix without any ambiguity. However, it was also using the bone rest matrix for all of its B-Bone segments, which is incorrect and causes strange deformation in some cases involving extreme non-uniform scale, especially at boundaries between different B-Bones. There is also a similar known issue that happens with scale at bending joints, and this fix reduces the distortion when both bones are B-Bones. This changes both the Armature modifier and the Armature constraint to use the actual segment rest matrices. Unlike bones, these can have scale even in rest pose, so normalization is required. Differential Revision: https://developer.blender.org/D10003
2021-01-18Tracking: Implement tracks average operatorSergey Sharybin
Average selected tracks into the new one. This can be used to improve stability of tracking on blurry or non-very-sharp feature shapes. Averaging happens for all position, pattern corners and search area. Disabled markers do not take effect on averaging. Keyframed flag is copied from source. Gaps in the source tracks will be linearly interpolated, to reduce result track jump. Note that this only applies to gaps "inbetween". This means that if an input track doesn't have markers in the beginning/end of it, there is nothing to interpolate with and the result track will jump. Available from the Track panel, under the Merge category. Differential Revision: https://developer.blender.org/D6323
2021-01-18Tracking: Add interpolated accessor for markersSergey Sharybin
Allows to get marker position interpolated through out a gap. Currently unused, but is covered with test. Aimed to be used for track average operator.
2021-01-18Tracking: Re-write marker request functionSergey Sharybin
There are two main things. First, remove the marker index caching. Thins makes it possible to safely use function from a threaded environment. Second, replace linear search with binary search, which speeds up random lookup. There is no measurable difference in the stabilization which had a comment about caching nature of track lookup. The random lookup complexity changed from O(N) to O(log N). In practice this also unlikely to be measurable, but thread-safety worth it.
2021-01-18Fix T84719: Doversion for curve edit settingsFalk David
Make sure default values for curve edit mode are filled for older files. Reviewed By: antoniov Maniphest Tasks: T84719 Differential Revision: https://developer.blender.org/D10136
2021-01-18Fix T84719: Doversion for curve edit settingsFalk David
Make sure default values for curve edit mode are filled for older files. Reviewed By: antoniov Maniphest Tasks: T84719 Differential Revision: https://developer.blender.org/D10136
2021-01-18Merge branch 'blender-v2.92-release'Sergey Sharybin
2021-01-18Cycles: Fix missing OpenCL extensions in certain casesSergey Sharybin
If extensions string is longer than 1024 then the old code would have reported empty string instead of extensions. Now the code does dynamic string allocation to store result of request, similar to what is done in `OpenCLInfo::get_hardware_id`. The code looks a bit ugly, but it didn't really change much with this patch. In other words, the code can become more modern and clear, but it is considered to be outside of the scope of this change. Differential Revision: https://developer.blender.org/D10135
2021-01-18Merge branch 'blender-v2.92-release'Patrick Mours
2021-01-18Fix T84650: CPU render + OptiX denoiser leaves empty tiles unprocessedPatrick Mours
The OptiX denoiser is part of the OptiX device, so to the tile manager looks like a GPU device. As a result the tile stealing implementation erroneously stole CPU tiles and moved them to that OptiX device, even though in this configuration the OptiX device was only set up for denoising and not rendering. Launching the render kernel therefore caused a crash because of a missing AS etc. This fixes that by ensuring tiles can only be stolen by devices that support render tiles.
2021-01-18Merge branch 'blender-v2.92-release'Philipp Oeser
2021-01-18Fix T84600: prevent bone groups operators on proxies and libraryPhilipp Oeser
overrides Editing bone groups is not supported on proxies/overrides [changes a re lost on file reload], need to do proper polling (and also prevent this from rna) for: - adding bone groups - removing bone groups - renaming bone groups - setting bone groups colors Previously, this was hinted at by setting the layout inactive, with preoper polls, this is now not needed anymore. note: Selection of bone groups actually makes sense here and is supported, so this is not prevented in this patch, but UI wise this is not nice in the override case, because one cannot set an active_index (aka select) in the UI list. Maniphest Tasks: T84600 Differential Revision: https://developer.blender.org/D10131
2021-01-18Fix T84808: Individual projection works even when snap options don't affect ↵Germano Cavalcante
the transform mode Individual projection is a different branch of snap and always projects the transformed elements on the surface of objects. Perhaps this option should be limited to the Move mode due to similarity. But in order not to change the current behavior too much, this commit only disables this option in modes not affected by snap.
2021-01-18Merge branch 'blender-v2.92-release'Philipp Oeser
2021-01-18Fix T84586: missing Outliner redraws for certain NLA operatorsPhilipp Oeser
Outliner display under 'Animation' > 'NLA Tracks' was not updating in the following cases: - adding strips - removing strips - duplicating strips (possibly to different track) - swapping strips - reordering tracks - changing strip order by translating - translating strips between tracks - renaming tracks In the case of deleting strips/tracks, this was also resulting in a use- after-free error in Outliner drawing code (this was reported specifically in T84586). Most of these operators already sent a ND_NLA|NA_EDITED notifier, but the Outliner is not listening to these. Listening to NA_EDITED is also not what we want since this also happens a lot in cases irrelevant to the Outliner. Now be a bit more specific and send ND_NLA|NA_ADDED / ND_NLA| NA_REMOVED or a new ND_NLA_ORDER (to distinguish from NA_EDITED 'only' - where a redraw is not neccessary) and listen to these from the Outliner. (note: places that were listening to ND_NLA|NA_EDITED before are also listening to NA_ADDED or NA_REMOVED, so changing NA_EDITED should not be a problem here) (note 2: for cases like swapping tracks/strips order, NA_ADDED or NA_REMOVED does not make sense, neither can we use NA_EDITED [since we dont want to listen to this], so in this case an additional ND_NLA_ORDER is now sent) (note 3: in nla transform code, this is now always sent on confirm. There are cases were the notifier would not be needed, but checking exactly all cases were it actually would be needed seems overkill [history of D10073 has example code to check if strips moved between tracks]) Maniphest Tasks: T84586 Differential Revision: https://developer.blender.org/D10073
2021-01-18Merge branch 'blender-v2.92-release'Philipp Oeser
2021-01-18Fix T84250: Eevee world/material parameter animation not updating the viewportPhilipp Oeser
The WORLD_UPDATE operation (needed to free the gpu material) was already defined in DepsgraphNodeBuilder::build_world, but corresponding relation was only set up for changes in the nodetree, not for changes in the world/material itself in DepsgraphRelationBuilder::build_world. Direct changes to these surface properties in the UI were updating properly through RNA property update callbacks, but these are not called from the animation system. So now add these relations in the depsgraph. Not 100% sure this is the right place for this (since e.g. eevee engine seems to handle e.g. animated light paramters just fine through EEVEE_cache_populate / eevee_light_setup, but properly freeing gpu materials wont happen for worlds in e.g eevee_id_world_update and also not for materials) Maniphest Tasks: T84250 Differential Revision: https://developer.blender.org/D9959
2021-01-18Merge branch 'blender-v2.92-release'Bastien Montagne
2021-01-18Fix T84739: Crash with curve brush in sculpt mode.Bastien Montagne
No idea why we did not pass context to `ED_paintcurve_undo_push_end`, it is easily availbale everywhere...
2021-01-18Merge remote-tracking branch 'origin/blender-v2.92-release'Sybren A. Stüvel
2021-01-18Fix T83657: Pose Mode: Clearing transform doesn't respect Mirror XKarthik Rangasai Sivaraman
Extend the pose bone "clear loc/rot/scale" functions so that they respect the "Mirror X" option. Reviewed By: sybren Maniphest Tasks: T83657 Differential Revision: https://developer.blender.org/D9938
2021-01-18Fix T83657: Pose Mode: Clearing transform doesn't respect Mirror XKarthik Rangasai Sivaraman
Extend the pose bone "clear loc/rot/scale" functions so that they respect the "Mirror X" option. Reviewed By: sybren Maniphest Tasks: T83657 Differential Revision: https://developer.blender.org/D9938
2021-01-17GPencil: Fix Autojoin error using layer transformAntonio Vazquez
The target stroke bounding box was not checked properly and when using layer transform the error was noticeable, but really the error was before the layer transform commit.
2021-01-17Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-17Merge branch 'blender-v2.92-release'Campbell Barton