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-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-16Preference: don't autosave preferences when running with --factory-startupBrecht Van Lommel
This case is likely intended to be temporary, for manual or automated tests.
2019-05-07Cleanup: More clear naming for rendering functionsSergey Sharybin
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-03-19Docs: group debug/disable args in --help outputCampbell Barton
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-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-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-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-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-26Cleanup: blank lines over doxy 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
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.
2018-11-10Merge branch 'master' into blender2.8Campbell Barton
2018-11-10PyAPI: add imports arg to BPY_execute_stringCampbell Barton
Allows for avoiding `__import__` in expressions, was already supported for BPY_execute_string_as_* API calls.
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-10-19Make Static Override optional/hidden by default.Bastien Montagne
That feature will not be ready (or at least, not tested enough) to be officially part of 2.80 beta. So we disable it by default, hidding it behind a startup option (`--enable-static-override`), and a python app var (`bpy.app.use_static_override`). That way, people who really want to play with it can do it easily, while not exposing/enabling non-production-ready feature by default. Note that underlying override code remains active, i.e. files we do have overridden data-blocks will be loaded correctly according to static override.
2018-10-16Fix T57247: Render animation does not respect render single view layerPhilipp Oeser
Reviewers: brecht Maniphest Tasks: T57247 Differential Revision: https://developer.blender.org/D3800
2018-09-27Merge branch 'master' into blender2.8Sergey Sharybin
2018-09-27Tests: add --no-window-focus to open window without focus.Brecht Van Lommel
This is useful to run OpenGL tests while continuing to do other tasks without windows constantly popping up in the foreground.
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-09-19Merge branch 'master' into blender2.8Campbell Barton
2018-09-04Cleanup: remove legacy layer and dupli code.Brecht Van Lommel
2018-08-18Merge branch 'master' into blender2.8Campbell Barton
2018-08-18WM: app-template command line overrideCampbell Barton
Without this, there was no simple way to have launchers for different app-templates. Also allows force-disabling the app-template stored in the preferences.
2018-07-27Merge branch 'master' into blender2.8Campbell Barton
2018-07-27Fix T55991: Python ignores scene switch argumentCampbell Barton
2018-06-25Cleanup: Nuke most of G.main from GPU code.Bastien Montagne
2018-06-15Merge branch 'master' into blender2.8Bastien Montagne
2018-06-15Cleanup: validate G.main's in creator code.Bastien Montagne
Using G_MAIN here is valid!
2018-06-02--debug-gpu-shader: Dump GLSL shaders to diskDalai Felinto
This is really convenient for development. Either for profiling the generated shaders or to check if the generated code is correct. It writes the shaders to the temporary blender session folder. (ported over from blender2.8)
2018-05-31Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/object/object_add.c source/blender/editors/object/object_select.c source/blender/editors/space_outliner/outliner_edit.c
2018-05-31Cleanup: get rid of last G.main usages in BKE library code.Bastien Montagne
2018-05-31Depsgraph: Remove the "disable-copy-on-write" option completelyJoshua Leung
After discussion with Sergey and Dalai, we have decided to remove this option completely. We're getting to the point where it is almost impossible to really use 2.8 without COW, and keeping the old option running ends up diverting dev resources away towards tracking down and fixing problems with a parallel system that will be going away.
2018-05-22Depsgraph: Enable copy on write by defaultJoshua Leung
As was decided at today's dev kickoff, we're now moving to having Copy-on-Write enabled by default, as 2.8 is barely functional with it off. To run Blender *without* COW (e.g. for testing), use: --disable-copy-on-write
2018-05-18Merge branch 'master' into blender2.8Campbell Barton