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
2019-05-07Cleanup: More clear naming for rendering functionsSergey Sharybin
2019-04-24Cleanup: sort CMake include pathsCampbell Barton
2019-04-20Cleanup: comment line length (tests)Campbell Barton
2019-04-17ClangFormat: format '#if 0' codeCampbell Barton
Previous cleanups didn't account for space after '#'.
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16CMake: remove BLENDER_SORTED_LIBSCampbell Barton
Use CMake's target_link_libraries instead of manually maintaining library dependencies in a single list. In practice adding new libraries often ended up being guess-work, now each library lists the libraries it uses. This was used for the game player executable so libraries could optionally link to stubs. If we need this functionality it can be done using target-properties as described in T46725.
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-16CMake: cleanup, arg rename, add definitions lastCampbell Barton
2019-04-15CMake: resolve issue building without sorted libsCampbell Barton
Linking empty libs gave an error.
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-11Fix: Build issue with draco on mac.Ray Molenkamp
somehow missed mac in my last commit
2019-04-11Fix: Build issue with draco.Ray Molenkamp
DRACO_LIB_NAME was undefined, better use the proper cmake variable for it.
2019-04-11glTF: add Draco shared library for mesh compression.Benjamin Schmithüsen
Draco is added as a library under extern/ and builds a shared library that is installed into the Python site-packages. This is then loaded by the glTF add-on to do mesh compression. Differential Revision: https://developer.blender.org/D4501
2019-04-10Cleanup: use STR_ELEM macroCampbell Barton
2019-03-19Docs: group debug/disable args in --help outputCampbell Barton
2019-03-12Windows: Add convenience logging batch files.Ray Molenkamp
To make triaging a little easier these batchfiles generate the debug log and sysinfo files and instruct the user how to attach them to their bug report Differential Revision: https://developer.blender.org/D4505 Reviewers: brecht, zeddb
2019-03-12Use the same string for DNA enum and CLI argument for EXR image format settingSybren A. Stüvel
The `--render-format` CLI option takes `EXR` and `MULTILAYER`, whereas the DNA image format render setting uses `OPEN_EXR` and `OPEN_EXR_MULTILAYER`. This commit adds the DNA values to the CLI argument, so that it is possible to take the selected value from DNA and pass it as-is to the CLI. This is used in Flamenco, for example. The `OPEN_EXR` and `OPEN_EXR_MULTILAYER` are now aliases, so both the existing and the new options keep working. Reviewers: campbellbarton, brecht Reviewed By: brecht Subscribers: fsiddi Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D4502
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-06Fix build for Linux systemsDalai Felinto
Error introduced on rBff8a2df829fcce8780d26a18f3070ab8e850b2e6. The folders with binary icons were deleted.
2019-03-06Linux/freedesktop: update Blender app icon based on new guidelines.Jakub Steiner
* Use only scalable SVG icon. * Add symbolic variant for accessibility. * Remove shadow, this is added automatically. For more information see: https://gitlab.gnome.org/GNOME/Initiatives/issues/2 https://developer.gnome.org/hig/stable/icon-design.html.en
2019-02-23Cleanup: use function instead of extern variableCampbell Barton
Quiet undeclared variable warning.
2019-02-22Merge branch 'blender2.7'Sergey Sharybin
2019-02-22Fix previous commitSergey Sharybin
Somehow quote got missing the last moment.
2019-02-22Merge branch 'blender2.7'Sergey Sharybin
2019-02-22Always show version when running in background modeSergey Sharybin
The goal is to make it easy to know which exact blender version and built was used for a job on a farm. This includes but not exclusively render farms. But same is handy for simulation tasks as well.
2019-02-22Windows: Use static pthreads library.Ray Molenkamp
2019-02-22Windows: Use static pthreads library.Ray Molenkamp
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-11WM: command line args to start blender maximizedCampbell Barton
Part of D4323 by @DragMZ
2019-02-08Remove "Keep Session" preferenceCampbell Barton
As far as we know this wasn't widely used, and relied no storing data in the temp dir which may be cleared on reboot. More generally, alternative behavior for a core area like file IO is not something to keep if it has unresolved issues. See D4310 for details.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-02WM: Event simulation support for PythonCampbell Barton
This feature is intended only for testing, to automate simulating user input. - Enabled by '--enable-event-simulate'. - Disables handling all real input events. - Access by calling `Window.event_simulate(..)` - Disabling `bpy.app.use_event_simulate` to allow handling real events (can only disable). Currently only mouse & keyboard events work well, NDOF, IME... etc could be added as needed. See D4286 for example usage.
2019-02-02Cleanup: use G_FLAG_*/G_FILE_* for G.f/fileflagsCampbell Barton
Was confusing eg: G_AUTOPACK belonged to G.fileflags, G_PICKSEL to G.f.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-28Fix blenderplayer build after OpenMP changes.Brecht Van Lommel
2019-01-26Merge branch 'blender2.7'Brecht Van Lommel
2019-01-26macOS: add support for OpenMP, making smoke/fluid/cloth simulations faster.Arto Kitula
This bring macOS on par with Windows and Linux. It uses the OpenMP library added to our precompiled libraries. Custom flags are set because FindOpenMP from CMake below 3.12 does not support AppleClang, and more recent versions do not work with our custom directory location either. Differential Revision: https://developer.blender.org/D4257
2019-01-26Cleanup: blank lines over doxy headersCampbell Barton
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-16Logging: add '--log-show-timestamp' option.Campbell Barton
Part of D4214 by @sobakasu w/ edits.
2019-01-15Cleanup: comment line length (creator)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-15Cleanup: comment line length (creator)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-08Properly clean up Python when exiting due to --python-exit-codeSybren A. Stüvel
When BPY_python_end() is not called, there can be buffered data still in `sys.stdout` or `sys.stderr`. This generally isn't an issue when those are connected to a terminal, but when they are read by another process (in the case of rendering with Flamenco, for example) we could miss the actual error message that's causing the exit in the first place. The following script demonstrates the issue; before this commit neither the writes to STDERR and STDOUT nor the traceback of the NameError were shown. #!/bin/bash cat > file-with-errors.py <<EOT import sys print('THIS IS STDERR', file=sys.stderr) print('THIS IS STDOUT', file=sys.stdout) nonexisting.monkey = 3 EOT blender --enable-autoexec -noaudio --background \ any-existing-blendfile.blend \ --python-exit-code 42 \ --python file-with-errors.py 2>&1 | cat Reviewers: campbellbarton, mont29 Reviewed By: campbellbarton, mont29 Subscribers: fsiddi Differential Revision: https://developer.blender.org/D4168
2019-01-06Cleanup: add trailing commas to structsCampbell Barton
Needed for clang formatting to workaround bug/limit, see: T53211
2018-12-12Merge remote-tracking branch 'origin/master' into blender2.8Ray Molenkamp
2018-12-12dependencies windows: Replace pthreads-win32 2.9.1 with pthreads4w 3.0.0Ray Molenkamp
maintenance seems to have stopped for pthreads-win32
2018-12-05BKE: Add "--debug-gpu-force-workarounds" to force gpu workaroundsClément Foucault
This is nice to test workarounds on other configs that may benefits from the existing workarounds.