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-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
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-14Cleanup: Comment formatting, grammarHans Goudey
2020-10-09CMake/macOS: Remove _LIBPATH, avoid link_directories.Ankit Meel
After tests were bundled in a single executable and cycles and libmv created their own tests, the warnings on macOS have gone over 800. The reason is setting `*_LIBRARIES` to names of the libraries and later using `link_directories` to link them properly. https://cmake.org/cmake/help/latest/command/link_directories.html > Note This command is rarely necessary and should be avoided where > there are other choices. Prefer to pass full absolute paths to > libraries where possible, since this ensures the correct library > will always be linked. The find_library() command provides the > full path, which can generally be used directly in calls to > target_link_libraries(). Warnings like the following popup for every target/executable, for every library it links to. ``` ld: warning: directory not found for option '-L/Users/me/blender-build/blender/../lib/darwin/jpeg/lib/Debug' ``` The patch completes a step towards removing `link_directories` as mentioned in TODO at several places. The patch uses absolute paths to link libraries and removes all `*_LIBPATH`s except `PYTHON_LIBPATH` from `platform_apple.cmake` file. (The corner case where it's used seems like dead code. Python is no longer shipped with that file structure.) Also, unused code for LLVM-3.4 has been removed. Also, guards to avoid searching libraries in system directories have been added. `APPLE` platform now no longer needs `setup_libdirs`, `cycles_link_directories`, and `link_directories`. The number of warnings now is less than 100, most of them being deprecation ones in dependencies. This patch depended on {rBb746179d0add}, {rB2fdbe4d05011}, {rB402a4cadba49} and {rBd7f482f88ecb}. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8855
2020-10-04Cleanup: remove outdated commentCampbell Barton
Should have been removed in b36a05bb7e794335e3415594c41d3986cdc815e8, when Python was started after reading the preferences.
2020-10-04Preferences: use the users temp directory in background modeCampbell Barton
This choice was made when preferences were not read in background mode, so the temp dir needed to be initialized with something. See bc9848f7e67c3e695403179f8bcdb78b0e5764a3. Now preferences are always read there is no reason to ignore this particular preference in background mode. Anyone wanting to do background renders that ignore their preferences can run with factory startup.
2020-10-04Fix color-management ignoring the data-path command line valueCampbell Barton
Initialize ImBuf (and color-management) after passing arguments that set environment variables such as `--env-system-datapath` This also fixes a bug where BKE_appdir logging failed since it was called before the `--log` argument was passed. Add asserts so this doesn't happen again.
2020-09-24Move license files to license subfolderDalai Felinto
For the final builds instead of leaving all the license files in the main folder, we move them to a "license" folder. Also, adding more licenses here (MIT, Apache, ...). Differential Revision: https://developer.blender.org/D8999
2020-09-17CMake: clean up setting of platform specific linker flagsBrecht Van Lommel
Set flags directly on the target, and use common function for all cases. This refactoring helps with the next commit for test executables. Ref D8714
2020-09-15Cleanup: add missing headers to CMake, formattingCampbell Barton
2020-09-15Cleanup: make it clear WM_main isn't called in background-modeCampbell Barton
2020-09-15Fix T80774: (correction) keep MEM_init_memleak_detection call earlyCampbell Barton
2020-09-15Fix T80774: Leaks reported using '--version' command line argumentCampbell Barton
Caused by 236ca8fbe8457550.
2020-09-12Cleanup: Remove GLEW dependencies outside of GL moduleClément Foucault
2020-09-04Docs: Fix typo in creator args formattingAaron Carlisle
This was pointed out in D8799