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
2022-02-02Fix T95397: Grease Pencil Icons do not match in Outliner vs Dope Sheet EditorAntonio Vazquez
There was an inconsistency between icons.
2022-02-02LibOverride: Add 'owner library' info to some liboverride code.Bastien Montagne
This will help when dealing with liboverrides from other library files, e.g for resync or proxies conversion. This commit only affects proxy conversion. Part of T91671.
2022-02-02Cleanup: skip redundant steps when the selection buffer is cachedCampbell Barton
The viewport theme loaded and virtual modifiers allocated unnecessary.
2022-02-02Fix crash in recent pose-bone transform cleanupCampbell Barton
ff5e8e6d535374891e09bc0e6ceb7059a22bdd53 dereferenced a NULL pointer when dragging a bone with a connected parent in pose-mode.
2022-02-02Cleanup: spelling in commentsCampbell Barton
2022-02-02Cleanup: shadow warning, remove unused flagsCampbell Barton
2022-02-02Merge branch 'blender-v3.1-release'Richard Antalik
2022-02-02Fix error in ff5e8e6d535374891e09Germano Cavalcante
And silence unused variable warning.
2022-02-02Fix build errorHans Goudey
The return value of this function was removed in ff5e8e6d535374891e09
2022-02-02Fix T95353: Crash with proxy auto buildingRichard Antalik
Proxy building data were freed before process was started. Reviewed By: sergey Differential Revision: https://developer.blender.org/D13972
2022-02-02Cleanup: restructure 'transform_convert_pose_transflags_update'Germano Cavalcante
Move the bones count and `has_translate_rotate` parameter out of the function as they are not required in some places.
2022-02-01Merge branch 'blender-v3.1-release'Clément Foucault
2022-02-01Fix T91463: Separate points makes gap on cyclic strokeFalk David
If an entire cyclic stroke was selected, calling "Separate by Points" would leave a gap in the new object (making the new stroke non-cyclic). The patch makes sure that if we separate by points and all points are selected, we fall back to separate by stroke. Reviewed By: antoniov Maniphest Tasks: T91463 Differential Revision: https://developer.blender.org/D12527
2022-02-01Merge branch 'blender-v3.1-release'Jacques Lucke
2022-02-01Fix T95395: dangling parent pointer when creating node groupJacques Lucke
Differential Revision: https://developer.blender.org/D13981
2022-02-01Fix T89514: GP draw mode not saved when scene is not the active oneFalk David
This patch fixes the error that pops up (`Error: Unable to execute '... Mode Toggle', error changing modes`) when trying to switch to e.g. draw mode from a grease pencil object that was saved in draw mode in an inactive scene when the file was loaded. Note that this does not fix the bigger issue described in T91243. The fix makes sure that we reset all the mode flags on the grease pencil data when we set the mode to object mode. Reviewed By: antoniov Maniphest Tasks: T89514 Differential Revision: https://developer.blender.org/D12419
2022-02-01Asset Browser: Use directory name as default when adding asset librariesJulian Eisel
When adding an asset library in the Preferences, set the name of the new library to the chosen directory's name by default. That avoids having to set it manually which can be annoying. Previously I thought it would be nice to show the name button in red then, making the user aware that they have to give it a name, but that appears to be more annoying than useful/practical after all.
2022-02-01Fix T95314: constant values not shown in spreadsheetJacques Lucke
2022-02-01Merge branch 'blender-v3.1-release'Campbell Barton
2022-02-01Cleanup: remove duplicate vertex normal array in SculptSessionCampbell Barton
From investigating T95185, it's important the normal returned by SCULPT_vertex_normal_get always match the PBVH normal array. Since this is always initialized in the PBVH, there is no advantage in storing the normal array in two places, it only adds the possibility that changes in the future causing different meshes normals to be used. Split out from D13975.
2022-02-01Merge branch 'blender-v3.1-release'Richard Antalik
2022-02-01Fix T94287: gaps between strips when adding moviesRichard Antalik
Currently, audio and video strips are synchronized based on data from media stream, which is nice, but this causes gaps between strips. This synchronization was implemented by moving movie strip position relative to sound, which doesn't make much sense for user which is mostly interested in editing video. Code was bit hard to read, so it has been simplified. Ideally video stream time would be easily accessible so synchronization could be done at any time, but this is not necessary at this point. Reviewed By: zeddb Differential Revision: https://developer.blender.org/D13948
2022-01-31Cleanup: Add back comment removed in recent commitHans Goudey
23775f3914d6474fd73eff7 removed this comment, but it's preferred to keep it instead.
2022-01-31Cleanup: Better name for new Outliner tree element typeJulian Eisel
The name `type` was confusing, since we usually use that in other ways. Also updated the relating comments.
2022-01-31Cleanup: Namespace alias for internal outliner headerJulian Eisel
Long namespace qualifiers add visual noice and make code harder to read.
2022-01-31Merge branch 'blender-v3.1-release'Aaron Carlisle
2022-01-31UI Papercut: Fix gap in node outlineLeon Schittek
Correct corner radius of the node outline to prevent a noticeable gap in some cases. --- Currently we make a small mistake in the creation of the node outline: We offset the rectangle describing the outline by the outline thickness, but we don't adjust the corner radius accordingly. Therefore the rounded corner of the outline and the node body are not concentric which can sometimes lead to a visible gap at the corner. How noticeable it is depends on the theme, the screen's dpi and the line thickness set in the preferences. Simply adjusting the corner radius for the outline to also be increased by the outline thickness fixes this small issue. | display, line thickness | **patch** | **master** | | --- | --- | --- | | 1080p, default/thin | {F12835304} | {F12835305} | | retina, thin | {F12835306} | {F12835307} | The issue was mentioned by @hitrpr Reviewed By: Blendify Differential Revision: https://developer.blender.org/D13955
2022-01-31Fix T95250: bake margin adjacent faces uses stale UV map in edit modeMartijn Versteegh
Use the evaluated mesh to generate the Adjacent Faces margin. Baking used the evaluated mesh, but generating the margin used the base mesh. This would lead to generating the margin from a stale UV map when the UV editor was open and the UV map was changed. Fix it by passing the same mesh as used for baking through to the margin generation. Differential Revision: https://developer.blender.org/D13938
2022-01-31Cleanup: comments and minor changes to GPU_select codeCampbell Barton
- Remove outdated references to glReadPixels & OpenGL. - Rename GPUPickState.{gl => gpu} - Add doc-string for MAXPICKELEMS. - Use doxygen comments & other minor doc-string improvements.
2022-01-31Cleanup: use struct for GPU the select bufferCampbell Barton
GPU_select originally used GL_SELECT which defined the format for storing the selection result. Now this is no longer the case, define our own struct - making the code easier to follow: - Avoid having to deal with arrays in both `uint*` and `uint(*)[4]` multiplying offsets by 4 in some cases & not others. - No magic numbers for the offsets of depth & selection-ID. - No need to allocate unused members to match GL_SELECT (halving the buffer size).
2022-01-31Cleanup: use enum type for selection mode & internal algorithm enumCampbell Barton
2022-01-31Cleanup: Remove unused DerivedMesh functionsHans Goudey
Remove functions and function pointers that were never set or never used at all. The "tessface" original index handling in `subsurf_ccg.c` can be removed because the data was never used.
2022-01-31Cleanup: use our own conventions for tags in commentsCampbell Barton
2022-01-30Cleanup: Pass cursor position as a single array to eyedropper functionsAaron Carlisle
Since `event->xy` is now an array these functions can be simplified to accept the sample point as an array. Clarifications were also made to variable names: - `eye->last_x/y` --> `eye->cursor_last` - `mx/my` --> `cursor` Differential Revision: https://developer.blender.org/D13671
2022-01-30Cleanup: Cmake: remove unnecessary definitions for internationalizationAaron Carlisle
Previously, macros were ifdefed using the cmake option `WITH_INTERNATIONAL` However, the is unnecessary as withen the functions themselves have checks for building without internationalization. This also means that many `add_definitions(-DWITH_INTERNATIONAL)` are also unnecessary. Reviewed By: mont29, LazyDodo Differential Revision: https://developer.blender.org/D13929
2022-01-29Cleanup: Remove mesh vertex "temp tag" flagHans Goudey
As part of the project of converting `MVert` into `float3` (more details in T93602), this is an easy step, since it is only locally used runtime data. In the six places it was used, the flag was replaced by a local bitmap. By itself this change has no benefits other than making some code slightly simpler. It only really matters when the other flags are removed and it can be removed from `MVert` along with the bevel weight. Differential Revision: https://developer.blender.org/D13878
2022-01-29Merge branch 'blender-v3.1-release'Richard Antalik
2022-01-29Fix memory leak when adding movie stripsRichard Antalik
Introduced by b45e71e22cc7.
2022-01-29Win IME: Ideographic Full Stop to Decimal PointHarley Acheson
Convert Ideographic Full Stop, used in Simplified Chinese and Japanese, to Decimal Point when entering numbers into numerical inputs. See D13903 for more details Differential Revision: https://developer.blender.org/D13903 Reviewed by Brecht Van Lommel
2022-01-28UI: Add OneDrive to System List for WindowsHarley Acheson
This patch adds a "OneDrive" icon to the File Manager System list for Windows (only!). See D11133 for more details. Differential Revision: https://developer.blender.org/D11133 Reviewed by Julian Eisel
2022-01-28Merge branch 'blender-v3.1-release'Hans Goudey
2022-01-28UI: Use property split in new operator popupHans Goudey
This attribute conversion operator was just added. The UI looks more consistent with property split.
2022-01-28Drag & drop: Support using context of hovered button when droppingJulian Eisel
Buttons can hold context and it's very useful to use this as a way to let buttons provide context for drop operators. For example, with this D13549 can make the material slot list set the material-slot pointer for each row, and the drop operator can just query that.
2022-01-28Merge branch 'blender-v3.1-release'Sergey Sharybin
2022-01-28Remove compilation warnings TexResult.Jeroen Bakker
2022-01-28Fix overread warning in screen operatorJulian Eisel
Fixes a `stringop-overread` warning, other people are working on fixing some more :)
2022-01-28Silent compilation warning in space_graph.Jeroen Bakker
2022-01-28Fix T95060: Outliner: Broken 'make override hierarchy' in indirect linked casae.Bastien Montagne
In Outliner, 'Make Override Hierarchy' on an indirectly linked data would fail in case some items higher up in the hierarchy also needed to be overridden was also indirectly linked.
2022-01-28Fix T95060: Outliner: Broken 'make override hierarchy' in indirect linked casae.Bastien Montagne
In Outliner, 'Make Override Hierarchy' on an indirectly linked data would fail in case some items higher up in the hierarchy also needed to be overridden was also indirectly linked.
2022-01-28Fix typo in comment.temp-T95279-remap-referenced-dataJeroen Bakker