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-11-08Do ID remapping for asset librariestemp-asset-representationJulian Eisel
2022-11-08Store ID in asset representation directlyJulian Eisel
This should make some things more convenient in future, since we can directly access the ID if an asset represents one, without having to look it up. But also, we need to do ID remapping either way, which currently requires the ID pointer to identify the ID, not other ID data (like the contained asset metadata).
2022-11-08Free asset representations when no longer displayedJulian Eisel
The lifetime management of assets should still be improved, but meanwhile each part of the UI loads its own representation of an asset into memory. This is still done via the file browser backend, so this should also remove the representations once it frees its file-list.
2022-11-08Cleanup: Remove unncessary stoarage wrapper classJulian Eisel
2022-11-08Fix uninitialized variable use when dragging in assetsJulian Eisel
2022-11-08Merge branch 'master' into temp-asset-representationJulian Eisel
2022-11-08Fix T102242: Underline shortcut keys not working/appearing in sub-menuJulian Eisel
Upon closer inspection, looks like `UI_BLOCK_NUMSELECT` was previously set for all code paths and 99e5024e97f1 removed it from one.
2022-11-08PyAPI: add invalid objects check for RNA struct keys()/values()/items()Campbell Barton
2022-11-08Cleanup: format, remove commented code & unused variableCampbell Barton
2022-11-08Workaround crash generating Python API documentationCampbell Barton
Avoid accessing freed memory from dynamically allocated EnumPropertyItem arrays. Rely on the memory being held by the iterator which isn't the case when it was converted to a tuple.
2022-11-08Fix invalid function signatures for PySequenceMethods callbacksCampbell Barton
Function casts hid casting between potentially incompatible type signatures (using int instead of Py_ssize_t). As it happens this seems not to have caused any bugs on supported platforms so this change is mainly for correctness and to avoid problems in the future.
2022-11-08Fix T102329: assert when cutting node tree linkJacques Lucke
2022-11-08Fix T101526: assert due to wrong node tree owner idJacques Lucke
2022-11-08Cleanup: correct type of RNA struct methodsCampbell Barton
Some BPy_StructRNA methods used BPy_PropertyRNA in their function signatures, while this didn't case any bugs, it could lead to issues in the future.
2022-11-08Cleanup: PyMethodDef formattingCampbell Barton
Missed these changes in [0]. Also replace designated initializers in some C code, as it's not used often and would need to be removed when converting to C++. [0] e555ede626dade2c9b6449ec7dcdda22b2585fd4
2022-11-08Fix support for building with ffmpeg < 5.0Sebastian Parborg
Seems like the new audio channel api was not as backwards compatible as we thought. Therefore we need to reintroduce the usage of the old api to make older ffmpeg version be able to compile Blender. This change is only intended to stick around for two releases or so. After that we hope that most Linux distros ship ffmpeg >=5.0 so we can switch to it. Reviewed By: Sergey Differential Revision: http://developer.blender.org/D16408
2022-11-08 Fix T101533: Wrong DoF when a non-camera object is the active cameraMiguel Pozo
Make sure non-camera data is not casted to a Camera pointer. Solution suggested by Damien Picard (@pioverfour).
2022-11-08Fix T100872: restrict Python API on built-in nodesJacques Lucke
Differential Revision: https://developer.blender.org/D16304
2022-11-08Fix T102324: reverse curve node breaks crazy space editingJacques Lucke
2022-11-08Fix T102311: crash when opening node add menu with assetsJacques Lucke
2022-11-08Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8Brecht Van Lommel
The distinction existed for legacy reasons, to easily port of Embree intersection code without affecting the main vector types. However we are now using SIMD for these types as well, so no good reason to keep the distinction. Also more consistently pass these vector types by value in inline functions. Previously it was partially changed for functions used by Metal to avoid having to add address space qualifiers, simple to do it everywhere. Also removes function declarations for vector math headers, serves no real purpose. Differential Revision: https://developer.blender.org/D16146
2022-11-08Merge branch 'blender-v3.4-release'Julian Eisel
2022-11-08Fix T85870: ColorRamp Keyframes crash BlenderJulian Eisel
The color-band needs to do some special, rather awkward updating of the UI state when certain values are changed. As @lichtwerk noted in the report, this was done to the wrong buttons. Now lookup the proper buttons, and don't assume that `uiItemR()` only adds a single button (which often isn't the case).
2022-11-08Merge branch 'blender-v3.4-release'Sergey Sharybin
2022-11-08Fix deprecation warnings about printf() on macOSSergey Sharybin
The new Xcode 14.1 brings the new Apple Clang compiler which considers sprintf unsafe and geenrates deprecation warnings suggesting to sue snprintf instead. This only happens for C++ code by default, and C code can still use sprintf without any warning. This changes does the following: - Whenever is trivial replace sprintf() with BLI_snprintf. - For all other cases use the newly introduced BLI_sprintf which is a wrapper around sprintf() but without warning. There is a discouragement note in the BLI_sprintf comment to suggest use of BLI_snprintf when the size is known. Differential Revision: https://developer.blender.org/D16410
2022-11-08Fix T100988: flickering when using sculpt brush in drag dot modeJacques Lucke
Differential Revision: https://developer.blender.org/D16305
2022-11-08Merge branch 'blender-v3.4-release'Julian Eisel
2022-11-08Fix T102242: Underline shortcut keys not working/appearing in sub-menuJulian Eisel
Upon closer inspection, looks like `UI_BLOCK_NUMSELECT` was previously set for all code paths and 99e5024e97f1 removed it from one.
2022-11-08PyAPI: add invalid objects check for RNA struct keys()/values()/items()Campbell Barton
2022-11-08Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-08Cleanup: format, remove commented code & unused variableCampbell Barton
2022-11-08Workaround crash generating Python API documentationCampbell Barton
Avoid accessing freed memory from dynamically allocated EnumPropertyItem arrays. Rely on the memory being held by the iterator which isn't the case when it was converted to a tuple.
2022-11-08Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-08Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-08Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-08Fix invalid function signatures for PySequenceMethods callbacksCampbell Barton
Function casts hid casting between potentially incompatible type signatures (using int instead of Py_ssize_t). As it happens this seems not to have caused any bugs on supported platforms so this change is mainly for correctness and to avoid problems in the future.
2022-11-08Cleanup: correct type of RNA struct methodsCampbell Barton
Some BPy_StructRNA methods used BPy_PropertyRNA in their function signatures, while this didn't case any bugs, it could lead to issues in the future.
2022-11-08Cleanup: PyMethodDef formattingCampbell Barton
Missed these changes in [0]. Also replace designated initializers in some C code, as it's not used often and would need to be removed when converting to C++. [0] e555ede626dade2c9b6449ec7dcdda22b2585fd4
2022-11-07Fix support for building with ffmpeg < 5.0Sebastian Parborg
Seems like the new audio channel api was not as backwards compatible as we thought. Therefore we need to reintroduce the usage of the old api to make older ffmpeg version be able to compile Blender. This change is only intended to stick around for two releases or so. After that we hope that most Linux distros ship ffmpeg >=5.0 so we can switch to it. Reviewed By: Sergey Differential Revision: http://developer.blender.org/D16408
2022-11-07Fix T102329: assert when cutting node tree linkJacques Lucke
2022-11-07Fix T101526: assert due to wrong node tree owner idJacques Lucke
2022-11-07Merge branch 'master' into temp-asset-representationJulian Eisel
2022-11-07Merge branch 'blender-v3.4-release'Miguel Pozo
2022-11-07 Fix T101533: Wrong DoF when a non-camera object is the active cameraMiguel Pozo
Make sure non-camera data is not casted to a Camera pointer. Solution suggested by Damien Picard (@pioverfour).
2022-11-07Refactor how asset representations are added to an asset libraryJulian Eisel
2022-11-07Fix T100872: restrict Python API on built-in nodesJacques Lucke
Differential Revision: https://developer.blender.org/D16304
2022-11-07Fix T102324: reverse curve node breaks crazy space editingJacques Lucke
2022-11-07Fix strict compiler warningsSergey Sharybin
2022-11-07Fix T102311: crash when opening node add menu with assetsJacques Lucke
2022-11-07Merge branch 'blender-v3.4-release'Germano Cavalcante