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
2020-10-22Fix T81932: Dyntopo crashing with sculpt vertex colors brush toolsPablo Dobarro
Paint and smear tools are only implemented for regular mesh PBVH, meaning they are not supported by the dynamic topology and multires sculpting. These tools are to be ignored for an unsupported sculpt modes, regardless of state of user preferences. Reviewed By: sergey Maniphest Tasks: T81932 Differential Revision: https://developer.blender.org/D9308
2020-10-22Fix previous commentJacques Lucke
2020-10-22Geometry Nodes: simplify and deduplicate callbacks on socketsJacques Lucke
This adds a layer of abstraction between the code calling callbacks on sockets and the implementation of those callbacks. This abstraction layer allows some sockets to not implement all callbacks when those can be derived from some other callback.
2020-10-22Fix build error Python module build and Embree on macOSBrecht Van Lommel
Setting the stack size only works for executables, for shared libraries the host application controls it.
2020-10-22GPencil: Add new parameter to set caps in CutterAntonio Vazquez
The new parameter allows to define if after cutting the stroke the cap of the cut side will be set as flat. Before, the cap shape of the cut side always was equal to the original stroke, and in some situations, the rounded cap was visible. Note: If the angle of the join is very extreme, it's still possible to view some sections of the cut stroke.,
2020-10-22Merge branch 'blender-v2.91-release'Hans Goudey
2020-10-22Fix T81909: Translation missing for some labels in modifier panelsHans Goudey
Every label string in uiItem* calls needs an IFACE_ call.
2020-10-22Merge branch 'blender-v2.91-release'Antonio Vazquez
2020-10-22GPencil: Fix unreported mistake in material index for trace imagensAntonio Vazquez
The material index was not used and only worked with new objects.
2020-10-22Merge branch 'blender-v2.91-release'Pablo Dobarro
2020-10-22Sculpt: Remove tools with missing icons experimental optionPablo Dobarro
All tools planned for 2.91 now have icons, so this option can be removed. Reviewed By: dfelinto, Severin Differential Revision: https://developer.blender.org/D9299
2020-10-22Geometry Nodes: change "Node Tree" to "Node Group"Jacques Lucke
2020-10-22Potential fix for T81963: Random crashes in liboverride code.Bastien Montagne
From the backtrace it looks like in some cases file save (which triggers a general override updates) is done before other code has a chance to re-generate pose data, leading to rna accessing freed memory. I was never able to reproduce that here, so this is a tentative fix in master, if it proves to be working for the studio it will be cherry-picked into 2.91 release branch later.
2020-10-22Pose: Add a 'pose_ensure' new utils that only rebuilds if needed.Bastien Montagne
Avoids having to spread the check logic everywhere in the code.
2020-10-22Merge branch 'blender-v2.91-release'Philipp Oeser
2020-10-22Fix T81953: Python error in UV Editor Overlay popupPhilipp Oeser
Leftover from rBe05ce1ea2029, 'use_image_editor_legacy_drawing' was removed. Maniphest Tasks: T81953 Differential Revision: https://developer.blender.org/D9310
2020-10-22Geometry Nodes: initial support for evaluating geometry node groupsJacques Lucke
This is still very basic and does quite a few unnecessary computations. Also the error handling is quite weak currently, so when invalid things are connected, it will probably just crash. Also the interface that individual nodes have to implement will have to change, but the current solution is a good starting point. Only the triangulate node is implemented for now.
2020-10-22Geometry Nodes: add an initial geometry classJacques Lucke
2020-10-22Functions: add generic pointer classJacques Lucke
This class represents a pointer whose type is only known at runtime.
2020-10-22Functions: add move operations to CPPTypeJacques Lucke
2020-10-22Multires: Remove legacy subdivision codeSergey Sharybin
Is no longer used, fully replaced with more powerful algorithm.
2020-10-22Multires: Cleanup, unused codeSergey Sharybin
2020-10-22Multires: Remove legacy compatibility codeSergey Sharybin
It was rather a huge chunk of code, which started to become more harder to maintain with the transition to OpenSubdiv based implementation. Because of this transition, the compatibility was also rather on a poor side. Remove compatibility support for pre-2.50.9 multires. Ref T77107 Reviewed By: brecht, mont29 Differential Revision: https://developer.blender.org/D9238
2020-10-22Compositor: Ensure keying node result is pre-multipliedSergey Sharybin
Historically the result of the keying node was violating alpha pre-multiplication rules in Blender: it was simply overriding the alpha channel of input. This change makes it so keying node mixes alpha into the input, which solves the following issues: - The result is properly pre-multiplied, no need in separate alpha-convert node anymore. - Allows to more easily stack keying nodes. This usecase was never really investigated, but since previously alpha is always overwritten it was never possible to easily stack nodes. Now it is at something to be tried. Unfortunately, this breaks compatibility with existing files, where alpha-convert node is to be manually removed. From implementation side this is done as a dedicated operation since there was no ready-to-use operation. Maybe in the future it might be replaced with some sort of vector math node. Reviewed By: brecht Differential Revision: https://developer.blender.org/D9211
2020-10-22GPU: Memory leak when scaling buffersJeroen Bakker
`imb_gpu_get_data` could reuse `data_rect` when it was already in used (double alloc). making the first use leak. This was detected after enabling OpenGL Texture Limit. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9280
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Fix T81949: Child Of Constraint can't assign inverse matrixCampbell Barton
Caused by ad70d4b0956f5, assigning the matrix now clears the flag that would reset it.
2020-10-22Cleanup: centralize BLF default functions in the headerCampbell Barton
2020-10-22Cleanup: split BLF default into own fileCampbell Barton
This avoids accidents using user-preferences in the main BLF API, which could cause preferences to be used unintentionally (such as stamping into renders or creating generated images). As well as uses of BLF when preferences aren't loaded such as animation playback.
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Fix animation player initializationCampbell Barton
Updates from 9d30fade3ea9b weren't applied to the animation player causing an assert and missing call to IMB_init.
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Cleanup: remove '_' prefix from used argumentCampbell Barton
2020-10-22Fix T81905: Active keyframe unavailable when handle selectedCampbell Barton
Selecting an F-Curve handle caused an assertion as well as treating the key-frame as inactive. Allow active the keyframe to be active when it's handle is selected, as is done with bezier curves.
2020-10-22Cleanup: Use LISTBASE_FOREACH macro in curve codeHans Goudey
These changes should result in more readable and undestandable code, especially where while loops were use instead of for loops. They are not comprehensive, and I skipped wherever the change was not obvious.
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Fix T81939: crash calling bmesh.utils.vert_separate()Campbell Barton
Missing NULL check in bmesh_kernel_vert_separate.
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Fix out of bounds array access in mathutils.noiseCampbell Barton
Regression in 0b2d1badecc48.
2020-10-22Keymap: disable 'repeat' by default for keymap itemsCampbell Barton
In practice, there are only a limited number of operations we need to use repeat such as navigation, stepping operations that cycle states and text input. Now we don't need to disable repeat explicitly when a modal operator uses checks for a key being held as was needed for 17cb2a6da0c88. Repeat is now included in exported keymaps. Use versioning so existing exported keymaps are loaded properly.
2020-10-22Keymap: add support for versioning keymapsCampbell Barton
Write the Blender version into the keymap so we can change defaults without breaking existing keymaps. Based on patch by @erik85 with own additions.
2020-10-22PyAPI: expose the file version via bpy.app.version_fileCampbell Barton
This exposes the version saved to the file, compatible with `bpy.data.version`. This is needed to write out version information into key-maps.
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton