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-05-06PlayAnim: support limiting the cache by memory instead of framesCampbell Barton
Partial fix for T81751 which exposes multiple playback performance issues. Previously the cache was limited to 30 frames, without a way to increase the cache for smooth playback with files that are slow to load. Now the animation plays back smoothly once loaded into cache. The cache limit from the system preference is used when the player is launched from Blender. A new player argument `-c <cache_limit>` was added to support this.
2021-04-21Fix logging "bke.appdir" messagesCampbell Barton
Logging was initialized after BKE_appdir paths were initialized, making it impossible to see paths which are checked on startup.
2021-04-10Cleanup: minor improvements & type hints for man-page generatorCampbell Barton
- Use main() function. - Use argparse for parsing arguments. - Keep under 120 column width. - Use type hints (passes `mypy --strict`).
2021-03-30MSVC: ASAN support for VS 16.9Ray Molenkamp
This enables ASAN support when used with VS 16.9 enable as usual in cmake with the WITH_COMPILER_ASAN option, or when using make.bat just tag on `asan' to the invocation, ie: `make lite 2019 asan` MSVC: Asan support for 16.9 This enables ASAN support when used with VS 16.9 enable as usual in cmake with the WITH_COMPILER_ASAN option, or when using make.bat just tag on `asan' to the invocation, ie: `make lite 2019 asan` Differential Revision: https://developer.blender.org/D7794 Reviewed By: brecht, sergey
2021-03-29macOS/bpy: accommodate portable builds, and multi-config generators.Ankit Meel
Old code's `install` step did not guarantee that all script files will be copied from source folder to build folder _before_ copying from build folder to site-packages. That caused incomplete installation. Fixed by copying scripts etc., only once. Also match the behavior on Linux: install to site-packages only if `WITH_INSTALL_PORTABLE` is OFF. Also fix install and launch issues with Xcode.
2021-03-26macOS/bpy: install into site-packagesAnkit Meel
Reviewed By: #platform_macos, brecht Maniphest Tasks: T86579 Differential Revision: https://developer.blender.org/D10664
2021-03-26macOS/bpy: add support for OpenMPAnkit Meel
Changes made: * Add OpenMP linker flags. * Copy the libomp.dylib to `2.93/lib/libomp.dylib`. * Change the `LC_LOAD_DYLIB` item such that the lib is found at `bpy.so/../../Resources/2.93/lib/libomp.dylib`. Installation is done by D10664. Reviewed By: #platform_macos, brecht Maniphest Tasks: T86579 Differential Revision: https://developer.blender.org/D10657
2021-03-17Bugfix: properly rename Null audio device to NoneJörg Müller
2021-03-17Audaspace: add support for CoreAudio on macOSJörg Müller
This adds CoreAudio as audio backend on macOS. CoreAudio is the standard audio API on macOS. Ref T86590
2021-03-17Audaspace: add support for WASAPI on WindowsJörg Müller
This adds WASAPI as audio backend on Windows. WASAPI is the modern standard audio API on Windows introduced with Windows Vista. Ref T86590
2021-03-17Audaspace: add support for PulseAudio on LinuxJörg Müller
This adds PulseAudio as audio backend on Linux. PulseAudio is the main audio engine used on most, if not all, Linux distributions today. Ref T86590
2021-03-17Audaspace: porting minor improvements from upstreamJörg Müller
- NullDevice is now called None - Automatic choice of best available device. - Minor formatting, documentation and cmake fixes.
2021-03-12CLOG: add support for substring matching.Bastien Montagne
So that `--log "*undo*"` matches any log identifier containing `undo`. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D10647
2021-03-06Cleanup: commentsCampbell Barton
2021-03-05Cleanup: spellingCampbell Barton
2021-03-04Cleanup: include '--open-last' in "Misc Options"Campbell Barton
This was using fall-back category "Other Options" which should be kept empty.
2021-03-01Add `--open-last` CLI argument that opens the most recent fileSybren A. Stüvel
Add a CLI argument `--open-last` that opens the most recent file, effectively doing the same as {key Ctrl Shift O}, {key Enter} after starting Blender. When there are no known recent files, print a warning and do nothing, showing the startup file instead. Note that this does not try to be smart about restoring the last Blender session. It just opens the file from disk, as if the user had typed `blender $(head -n1 ~/.config/blender/2.93/config/recent-files.txt)`. There is also no smartness when that file cannot be opened; it behaves exactly the same as typing the most recent filename on the CLI. Reviewed by: mont29, campbellbarton Differential Revision: https://developer.blender.org/D10563
2021-02-24Cmake/deps: Update OSL to 1.11.10.0Ray Molenkamp
This bumps OSL to 1.11.10.0. OSL Has a new build time dependency: Clang, and more importantly it expects clang and llvm to share a library folder, which it previously for us did not. This patch changes: -OSL Update to 1.11.10.0 -refactor the llvm/clang/clang-tools-extra builds into the llvm build using the llvm-project tarball for building that has all of the subprojects in it. -update ispc/openmp builds since clang no longer its own dependency and they have to depend on the llvm build now. -Update the windows builder to use the 64 bit host tools since it ran out of ram linking clang -Since OSL now needs clang to link successfully a findclang.cmake has been provided for linux/OSX Differential Revision: https://developer.blender.org/D10212 Reviewed By: brecht, sebbas, sybren
2021-02-13Cleanup: macro hygiene, use parenthesis around operatorsCampbell Barton
2021-02-12CMake: update MSVC PDB path referenceCampbell Barton
Replace literal number with a variable.
2021-02-11CMake: update python to 3.9.1Campbell Barton
Default to Python version 3.9. Reviewed By: LazyDodo, sybren, sebbas Ref D10380
2021-02-08Docs: Remove CLI arguments removed in recent commitAaron Carlisle
This commit follows up on rBbc94036a76b63254181788ce5814fb946f52a287 and removes the arguments from the CLI args docs.
2021-02-06UI: Fix Typos in Comments and Docsluzpaz
Approximately 91 spelling corrections, almost all in comments. Differential Revision: https://developer.blender.org/D10288 Reviewed by Harley Acheson
2021-02-05Cleanup: correct spelling in commentsCampbell Barton
2021-02-05Cleanup: cmake indentation, white-spaceCampbell Barton
2021-02-02Merge branch 'blender-v2.92-release'Campbell Barton
2021-02-02creator: add missing '--debug-*' arguments under debugging optionsCampbell Barton
Only print "Other Options" when the heading has content to show.
2021-01-31Docs: Remove wrong debug flag infoJulian Eisel
Removed the `--debug-gpu-shaders` argument in bc94036a76b6 but forgot to amend these changes.
2021-01-29GPU: Remove unused GPU debugging command line optionsJulian Eisel
Removes two unused --debug-gpu command line flags (unused as in, does nothing): * `--debug-gpumem`: Unused since c08d84748804, the info is now available in the status-bar if enabled in the Preferences. Initially added in fec317de8d57. * `--debug-gpu-shaders`: Unused since 216d78687d2b, double checked with Clément, he says it's not that useful nowadays. Initially added in fec317de8d57. Addresses T83954 and T83953. Differential Revision: https://developer.blender.org/D10244 Reviewed by: Clément Foucault
2021-01-29Fix wrong command line argument description for --debug--gpu-force-workaroundsJulian Eisel
Was using the same description as `--debug-gpumem`. `--debug-gpu-shaders` actually has the same issue, but will be removed in the next commit.
2020-12-24UI: Cleanup spelling of compound wordsYevgeny Makarov
Approximately 138 changes in the spelling of compound words and proper names like "Light Probe", "Shrink/Fatten", "Face Map". In many cases, hyphens were used where they aren't correct, like "re-fit". Other common changes include: - "Datablock" -> "data-block" - "Floating point" -> "floating-point" - "Ngons" -> "n-gons" These changes help give the language used in the interface a consistent, more professional feel. Differential Revision: https://developer.blender.org/D9923
2020-12-11Cleanup: sort cmake file listsCampbell Barton
2020-12-09creator: remove reference to SDL_AUDIODRIVER from --help textCampbell Barton
This was added when Linux's audio support often needed to be manually configured. Further 3rd party libraries have their own environment variables & docs these need not be part of Blender's help message unless they're likely to be needed to properly run Blender.
2020-11-09Cleanup: more renaming in the render/ module for consistencyBrecht Van Lommel
2020-11-07Cleanup: Clang-tidy, readability-else-after-returnAnkit Meel
2020-11-07Cleanup: Clang-tidy else-after-returnAnkit Meel
2020-11-06Cleanup: Render Module: move header files to main directoryAaron Carlisle
Move headers files from `render/extern/` to `render/` Part of T73586
2020-11-06CMake: configue_file() to pass strings for build-infoCampbell Barton
Using configue_file(..) would have avoided the breakage from 1daa3c3f0a1cfd, caused by buildinfo not properly escaping quotes. Rely on CMake to escaping strings instead using configure_file().
2020-11-06Cleanup: use 'BKE_' prefix for initialization functionsCampbell Barton
2020-11-06Cleanup: replace STREQLEN with STRPREFIX for constant stringsCampbell Barton
2020-11-06Cleanup: use ELEM macroCampbell Barton
2020-11-06Cleanup: use snake case for BLI_args APICampbell Barton
2020-11-04CMake: remove -fmacro-prefix-map from build-infoCampbell Barton
Quotes caused build-info to fail, remove these flags since they're not necessary.
2020-10-30Cleanup: parse '--thread' as part of ARG_PASS_ENVIRONMENTCampbell Barton
While this isn't needed at the moment, it's possible the animation player uses the scheduler in the future.
2020-10-28Cleanup: update commentsCampbell Barton
Some references to argument levels were still in comments.
2020-10-28Cleanup: move WM_init & arg parsing out of if/else branchCampbell Barton
2020-10-28BLI_args: disallow zero to be used as a pass valueCampbell Barton
Introduced recently in 09139e41ed4ea. While this worked in the cases it was used, '--threads' for example was failing to parse the number when it's pass was set to 0. Increase the enum values to start at 1 & add asserts so this wont happen again.
2020-10-28Cleanup: use enum for command line argument passesCampbell Barton
2020-10-28BLI_args: refactor argument passesCampbell Barton
Avoid passing the pass argument to BLI_argsAdd, instead set this once for each group of passes. This means we can add new passes without having to bump the arguments to BLI_argsAdd.
2020-10-27Cleanup: simplify order of initialization with argument parsingCampbell Barton
Sub-systems that use directories from BKE_appdir needed to be initialized after parsing '--env-system-datafiles'. This meant the animation player needed to call IMB_init it's self. Avoid this complication by having a pass that can be used to setup the environment before Blender's resources are accessed. This reverts the workaround from 9ea345d1cf82f