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-11-13BLF: Use Floats for Font Point SizesHarley Acheson
Allow the use of floating-point values for font point sizes, which allows greater precision and flexibility for text output. See D8960 for more information, details, and justification. Differential Revision: https://developer.blender.org/D8960 Reviewed by Campbell Barton
2021-11-13Text Editor: Auto close relevant charactersMatheus Santos
Support the ability to close relevant characters like '(', '[' and '{'. It will also delete the pair character if they're empty. Ref D13119 Reviewed By: campbellbarton
2021-11-13Cleanup: spelling in comments, comment block formattingCampbell Barton
2021-11-13Cleanup: clang-formatCampbell Barton
2021-11-13Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-13Fix snapping not performing on selected bones or splinesGermano Cavalcante
This is an old issue but never reported as it is only visible in the measure tool snapping.
2021-11-13Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-13Cleanup: reference some snap parameters in the snap context itselfGermano Cavalcante
This decreases the number of parameters in functions and makes important variables available in more places.
2021-11-12Cleanup: split 'initSnappingMode' into more specific functionsGermano Cavalcante
This helps to reuse small regions of a function's code elsewhere. The logic had to be reorganized, theoretically it should behave the same way.
2021-11-12Cleanup: move 'imm_drawcircball' to 'gpu_immediate_util.c'Germano Cavalcante
2021-11-12Cleanup: fix some comments in the transform codeGermano Cavalcante
2021-11-12Cleanup: use 't->tsnap.mode' in transform codeGermano Cavalcante
This also prevents different snap modes from being used at the same time in the code.
2021-11-12Cleanup: unify snap modes to geometry in a single flagGermano Cavalcante
This combination was being repeated in some places.
2021-11-12Cleanup: Move remaning node editor files to C++Hans Goudey
Differential Revision: https://developer.blender.org/D13200
2021-11-12Merge remote-tracking branch 'origin/blender-v3.0-release'Julian Eisel
2021-11-12UI: (Performance) Avoid drawing buttons out of viewJulian Eisel
The UI was always drawing all buttons in a layout, no matter if they were scrolled out of view (as in, outside of the visible part of the region) or not. This means it's doing quite some work that can be avoided. UI drawing generally isn't a big bottleneck in Blender, so I don't expect huge speedups from this. But while playing back animation, we do redraw a fair bit of the UI, so in cases where there are many buttons out of view, it may bring a little FPS boost. E.g. say in complex node trees (the node editor is redrawn on animation playback in case there are animated values that need updated UI feedback). This also mitigates the issue in T92922 significantly. Differential Revision: https://developer.blender.org/T92922 Reviewed by: Brecht Van Lommel
2021-11-12UI: Do not shade alpha when blending colorsYevgeny Makarov
UI_GetThemeColorBlendShade4fv incorrectly changing alpha by the amount of the shading offset. See D9944 for more details. Differential Revision: https://developer.blender.org/D9944 Reviewed by Hans Goudey
2021-11-12UI: Do not shade alpha when blending colorsYevgeny Makarov
UI_GetThemeColorBlendShade4fv incorrectly changing alpha by the amount of the shading offset. See D9944 for more details. Differential Revision: https://developer.blender.org/D9944 Reviewed by Hans Goudey
2021-11-12Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-12Gizmo: adjust when gizmo protection flags are displayedCampbell Barton
Restore behavior reverted in 0ea60cf6b813f8b792a253e10a6c2edaf7fb689f but only for location as it makes sense to use protection flags in global mode in that case.
2021-11-12Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-12Fix gizmo protection flag use in object modeCampbell Barton
Channel protection flags were only used in global mode, this doesn't make any sense, especially for rotation and scale. Follow pose-bones, only using protection flags for local & gimbal orientation.
2021-11-12Merge remote-tracking branch 'origin/blender-v3.0-release'Sybren A. Stüvel
2021-11-12Fix crash in asset browser when switching from file browserSybren A. Stüvel
When the file browser is in asset browser mode, it sets the callback `filelist->prepare_filter_fn` to an asset browser specific function. This function will segfault if there is no current asset library. Switching back from asset browser to file browser would not reset that callback to `NULL`, causing it to be called and crash Blender. This is now fixed.
2021-11-12Cleanup/document BKE_blender_copybuffer.Bastien Montagne
* Rename the 'copy' functions to make it clear they belong to the same 'group' and are to be used together. * Fix `flag` parameter of `BKE_copybuffer_paste` being a short instead of an int. * Improve documentation.
2021-11-11Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-11Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-11Fix T92867: Gimbal rotation broken when used for multiple objectsCampbell Barton
Support gimbal orientation for objects & bones.
2021-11-11Cleanup: split gimbal_axis into pose and objectCampbell Barton
Allow access to a single bones gimbal matrix.
2021-11-11Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-11Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-11Cleanup: spelling in commentsCampbell Barton
2021-11-11Cleanup: typo in function nameCampbell Barton
2021-11-11Fix T92954: Loop Cut Tool preview line visible during operationCampbell Barton
Apply a local-workaround instead of adding support for this use-case since pre-selection isn't the intended purpose of gizmos. This also resolves a glitch where poly-build and loop cut would briefly show loop-cut or poly-build pre-selection after transforming. See gizmo_preselect_poll_for_draw note for more details.
2021-11-11Cleanup: Move interface_region_search.c to C++Hans Goudey
This will be helpful for solving a bug with search during animation playback, T89313. I tested this on all platforms on the buildbot.
2021-11-11Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-11Fix T89313: Attribute search crash with animation playbackHans Goudey
rBc473b2ce8bdbf8fa42 improved the situation somewhat, but attribute search still crashes during animation playback, because the UI search data references stale memory. The proper solution is to allow the search to own data rather than just referencing it, but I would prefer not to do that for 3.0. In the meantime, just disable attribute search when animation is playing. Differential Revision: https://developer.blender.org/D13179
2021-11-10Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-10Cleanup: Use bool instead of intHans Goudey
2021-11-10Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-10Cleanup: Move info_stats.c to C++Hans Goudey
2021-11-09Fix: Incorrect assert in dot grid drawingHans Goudey
It's totally valid for the grid levels to be zero.
2021-11-09Let Unlink Action operator have an undo stepDemeter Dzadik
I noticed while rigging a character and editing actions that the Unlink Action operator had no undo step. Doesn't feel intentional, so this patch adds the necessary flags. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D12346
2021-11-09Merge branch 'blender-v3.0-release'Pablo Vazquez
2021-11-09Cleanup: Remove `SMALL_TRI_RIGHT_VEC` iconPablo Vazquez
Since the recent change to context paths to use the arrow icon instead of the triangle (D13106), the `SMALL_TRI_RIGHT_VEC`is no longer used. This patch removes the icon and all references. - Replace `SMALL_TRI_RIGHT_VEC` with `RIGHTARROW` in Freestyle UI - Remove references to `SMALL_TRI_RIGHT_VEC` and `ICON_SMALL_TRI_RIGHT_VEC`. Fix for built-in add-ons has been done in rBAcc2f71bfe9b0/rBAa84028f8a89a. This will be added to the list of breaking changes [[ https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Python_API#Breaking_Changes | in the Wiki ]]. Reviewed By: Severin Differential Revision: https://developer.blender.org/D13130
2021-11-09Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-09Fix T92939: Crash on drop when a curve is the active objectGermano Cavalcante
The active object was being set as the edited object even though it was not in edit mode.
2021-11-09View3D Snap Cursor: make the pool a little more restrictiveGermano Cavalcante
The snap cursor tagged overlapping regions to redrawn even though the cursor itself is not drawn.
2021-11-09Merge branch 'blender-v3.0-release'Thomas Dinges
2021-11-09Node Editor: Display warning when using Nishita sky texture with EeveeThomas Dinges
Nishita sky is not available in Eevee, display a warning to make this clear inside the Sky texture node. Differential Revision: https://developer.blender.org/D13161