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
2022-05-15Cleanup: Remove includes from DerivedMesh headerHans Goudey
Headers should only include other headers when absolutely necessary, to avoid unnecessary dependencies and increasing compile times. To make this change simpler, three DerivedMesh functions with a single use were removed.
2022-05-15Cleanup: Clang tidyHans Goudey
2022-05-15DRW: Remove accidentaly commited stray global variableClément Foucault
2022-05-15Fix T98049: crash rendering multilayer EXR with some color spacesBrecht Van Lommel
2022-05-15Cleanup: Simplify loop syntax, decrease variable scopeHans Goudey
Mostly changes split from D14685, which refactors the hide flags.
2022-05-15GPUVertBuf: Add support for binding as buffer textureClément Foucault
This is often needed and somehow cumbersome to set up. This will allow some code simplifications.
2022-05-15Cleanup: Remove unused DerivedMesh functionHans Goudey
2022-05-15Cleanup: Remove unused subsurf ccg functionsHans Goudey
This simplifies some refactoring to mesh hide flags (see D14685).
2022-05-15Cleanup: Fix compile warnings on windowsHans Goudey
2022-05-15Merge branch 'blender-v3.2-release'Joseph Eagar
2022-05-15Fix T80174: Dyntopo not initializing face set values correctlyJoseph Eagar
BMLog was zeroing face sets when creating new faces, which is not valid. They're now set to 1.
2022-05-15Merge branch 'blender-v3.2-release'Joseph Eagar
2022-05-15Fix T81715: Unprojected radius mode messes up sculpt texture radiusJoseph Eagar
We really need to fix how unprojected radius (scene unit) works. What happened is the paint code updates the brush's normal radius with the current unprojected pixel radius, which was then used by texture brush tiled mode. To fix this I just cached the pixel radius at stroke start in UnifiedPaintSettings->start_pixel_radius.
2022-05-14Fix: Build error due to previous commitHans Goudey
2022-05-14Cleanup: Further use of const for retrieved custom data layersHans Goudey
Similar to cf69652618fefcd22b2cde9a2.
2022-05-13Cleanup: Use const argumentsHans Goudey
2022-05-13Cleanup: Use const argumentsHans Goudey
2022-05-13LineArt: Better behavior of smooth tolerance.YimingWu
This fixes the smooth tolerance feature in master where sometimes you could get over simplified chains and lose the shape it's supposed to be originally. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D14929
2022-05-13Cleanup: Use standard variable names for curvesHans Goudey
2022-05-13Cleanup: Use const when retrieving custom data layersHans Goudey
Knowing when layers are retrieved for write access will be essential when adding proper copy-on-write support. This commit makes that clearer by adding `const` where the retrieved data is not modified. Ref T95842
2022-05-13Merge branch 'blender-v3.2-release'Bastien Montagne
2022-05-13Fix T98072: Regression: When appending a Scene, the Collections that are ↵Bastien Montagne
excluded get instanced into Current Scene. This was due to using `BKE_scene_has_object` function, which uses the cache of bases of the viewlayers, which do not have entries for the content of excluded collections... Now use `BKE_collection_has_object_recursive` instead.
2022-05-13Fix T96781: LineArt proper object iterator.YimingWu
This patch get rid of the _incorrectly used_ DG iterator in object loading, and uses scene objects iteration to prevent problems. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D14907
2022-05-13Fix possible null-pointer dererence for active button dataJulian Eisel
The button returned from `UI_region_active_but_get()` is not guaranteed to have active button data, so code can't rely on that.
2022-05-13Fix crash when displaying some button tooltipsJulian Eisel
Steps to reproduce were: - Factory startup - Right-click in 3D View - Move the mouse over "Shade Flat", wait for the tooltip The changed logic in 4680331749aa to lookup an active button was incorrect. It didn't respect the priority of active button candidates.
2022-05-13Color Management: various improvements and fixes for image savingBrecht Van Lommel
* Respect the image file color space setitng for saving in various cases where it was previously ignored. Previously it would often use the sRGB or Linear color space even when not selected. * For the Save As operator, add a Color Space option in the file browser to choose the color space of the file. Previously this was chosen automatically, now it's possible to e.g. resave a Linear image as Linear ACES. * When changing the file format, the colorspace is automatically changed to an appropriate color space for the file format. This already happened before, but there was no visibility or control in the operator settings for this. * Don't change color space when using the Save operator to save over the same file. * Fix missing color space conversion for 16 bit PNGs, where it assumed wrongly assumed ibuf->rect would be used for saving. Add BKE_image_format_is_byte to more accurately test this. Fixes T74610 Ref T68926 Differential Revision: https://developer.blender.org/D14899
2022-05-13Fix build error without unity build after recent changesBrecht Van Lommel
float3 should have been declared within the blender namespace. And forward declaration is difficult with templated classes so just include header.
2022-05-13Fix T97518: All buttons with eyedropper highlight if one is hoveredJulian Eisel
Issue is that the operator acts on the active button, and also uses that in the poll. So the actually active button would affect the poll of a different button. For the superimposed icons we need to be able to execute these polls properly for non-active buttons. This enables temporarily overriding the active button for lookups via context. While a bit of a hack it makes sense conceptually. Reviewed By: Campbell Barton Maniphest Tasks: T97518 Differential Revision: https://developer.blender.org/D14880
2022-05-13Fix possible null-pointer dererence for active button dataJulian Eisel
The button returned from `UI_region_active_but_get()` is not guaranteed to have active button data, so code can't rely on that.
2022-05-13Fix crash when displaying some button tooltipsJulian Eisel
Steps to reproduce were: - Factory startup - Right-click in 3D View - Move the mouse over "Shade Flat", wait for the tooltip The changed logic in 4680331749aa to lookup an active button was incorrect. It didn't respect the priority of active button candidates.
2022-05-13Tracking: Move all selection logic to operator exec()Sergey Sharybin
Unlikely that users will notice this, but this makes it so that the operator behaves consistently across its exec() and invoke() code paths.
2022-05-13Refactor: Use coordinate in API for track selectionSergey Sharybin
Currently no functional changes. Prepares for a change which will allow to more consistently redo the track selection operator.
2022-05-13Fix T97518: All buttons with eyedropper highlight if one is hoveredJulian Eisel
Issue is that the operator acts on the active button, and also uses that in the poll. So the actually active button would affect the poll of a different button. For the superimposed icons we need to be able to execute these polls properly for non-active buttons. This enables temporarily overriding the active button for lookups via context. While a bit of a hack it makes sense conceptually. Reviewed By: Campbell Barton Maniphest Tasks: T97518 Differential Revision: https://developer.blender.org/D14880
2022-05-13Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-13Fix T97386: Node socket labels swallow click/drag eventsCampbell Barton
Regression caused by [0] which made `ui_but_is_interactive` consider label buttons with tool-tips to be interactive. This prevented the clicks to pass through to the nodes for selecting/dragging. Resolve this by allowing buttons to be activated for the purpose of showing tool-tips but otherwise considering them disabled (as if the UI_BUT_DISABLED is set when handling events). [0]: 484a9146479e05946d291e9886cdf3febca6d05d Reviewed By: Severin Ref D14932
2022-05-13Fix jump when switching accurate marker slidingSergey Sharybin
As a side effect the "sticky" search area on resize/move is also resolved now: previously attempt to move search area past to where it could be would make it hard to move it back. Now the search area will always respond immediately to mouse motion, even after it got clamped.
2022-05-13Cleanup: Remove dead code in tracking slide operatorSergey Sharybin
The code was there prior pattern area affine transform and was never used afterwards. After so long time it should be safe to remove the unused code.
2022-05-13Merge branch 'blender-v3.2-release'Jeroen Bakker
2022-05-13MacOS/AMD: Drawing artifacts in VSE.Jeroen Bakker
Related to the partial revert done for T97272. It seems also that the workaround should be enabled for any MACOS platform.
2022-05-13Merge branch 'blender-v3.2-release'Sergey Sharybin
2022-05-13Fix crash toggling marker translate with marker offsetSergey Sharybin
The shortcut is G-G. Caused by loop argument "shadowing".
2022-05-13Cleanup: Proper state check in marker slide operatorSergey Sharybin
The previous code was had confusing logic, but since it was acting more as a fall-back it did not cause bugs for users.
2022-05-13Fix T97330: UV points missing with some modifiersKévin Dietrich
When extracting UV point indices, only the vertex points coming from the original geometry should be drawn. For this, the routines (for subdivision and coarse meshes) would only consider a vertex to be real if the extraction type is `MAPPED`, and that an origin index layer on the vertices exist with a valid origin index for the current vertex. However, if the extraction type is `MESH`, which can happen with for example an empty Geometry Node modifier, or with deferred subdivision, this would consider every vertex to not be "real" and therefore hidden from the UV editor. This reworks the condition for "realness" to also consider a vertex to be real if there is no origin layer on the vertices. The check on the extraction type is removed as it becomes redundant. This only modifies the check in the UV data extraction for point indices, however similar checks exist throughout the extraction code, these will be dealt with separately in master. Differential Revision: https://developer.blender.org/D14773
2022-05-13Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-13Fix T89909: Circle Select tool status bar doesn't match the operationsCampbell Barton
Assign get_name functions for select picking and circle select so modifier keys show the result of holding the modifiers.
2022-05-13Fix T97872: Annotation lines lost AAGermano Cavalcante
Since rB2a7a01b339ad, `lineSmooth` has lost its default value of true. rBa0a99fb25284 only fixed the problem on master. But thanks to @hitrpr for spotting the bug in version 3.2 too. Differential Revision: https://developer.blender.org/D14876
2022-05-13Cleanup: spelling in comments, capitalize tagsCampbell Barton
Also add missing task-ID reference & remove colon after \note as it doesn't render properly in doxygen.
2022-05-12Cleanup: remove redundant float to byte conversion for stereo image savingBrecht Van Lommel
For non-stereo cases this is automatically handled by IMB_saveiff, no reason for stereo to do this separately. Ref D14899
2022-05-12Cleanup: remove redundant code and data copying image save as operatorBrecht Van Lommel
Store ImageSaveOptions directly in operator custom data instead of copying to/from a copy on the stack. Ref D14899
2022-05-12Cleanup: move image save options init to image_save.ccBrecht Van Lommel
The logic here is tightly coupled to the other image saving code. Ref D14899