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
2016-08-26Fix over creation of cache files handles (leading to memory leaks).Kévin Dietrich
Multiple threads could create multiple handles for the same cache file, so protect handle creation with a mutex, to make sure only one is created.
2016-07-21Cleanup: warningsCampbell Barton
2016-07-12writefile: reuse SDNA between writesCampbell Barton
Avoids decoding the SDNA string every undo step.
2016-06-24Avoid memory leaks on exit during argument parsingCampbell Barton
Exiting Blender during argument parsing would leak memory (tests, documentation generation, utilities). While harmless, it hides real leaks which should be resolved.
2016-05-11Cleanup: unused win32 headersCampbell Barton
2016-04-25Refactor BKE_blender into separate headersCampbell Barton
- BKE_blender_version.h (only version defines & versionstr). - BKE_blender_copybuffer.h (currently only used for view3d copy/paste). - BKE_blender_undo.h (global undo functions). - BKE_blendfile.h (high level blend file read/write API).
2016-03-31CMAKE / msvc openmp, delay loading of openmp dll so we can set environmentMartijn Berger
variable before it is loaded
2016-02-27Cleanup split creator.cCampbell Barton
creator.c was getting hard to follow. - Split off argument and signal handling into own files. - Move docstrings next to functions (to keep docs grouped with code).
2016-01-26Cleanup: minmac -> minmax & RE_render_ext namingCampbell Barton
Use more conventional API word-ordering for RE_render_ext
2016-01-24Docs: minor edits to code commentsCampbell Barton
2016-01-15Fix crash w/ scripts run from the command line that load filesCampbell Barton
Also refactor context backup/restore into functions.
2015-12-31Fix wrong format used in the recent python exit code commitSergey Sharybin
2015-12-31Command line argument to exit on Python errorsCampbell Barton
eg: blender -b --python-exit-code 1 --python script.py --render-anim This causes blender not to continue parsing command line arguments and exit if the script raises an exception.
2015-12-31Add parse_int_strict_range utility for command line inputCampbell Barton
2015-12-31Cleanup: Py API namingCampbell Barton
Use BPY_execute_* prefix for all Python execution commands
2015-11-25Accept non-existing files from the CLISybren A. Stüvel
When a user tries to load a non-existing blend file from the CLI, the path is set and Blender acts as if it is loaded. This allows the user to create a new file by typing 'blender filename.blend' and then saving. This behaviour is common in other tooling, such as vim and Mypaint. Blender's current behaviour (print an error message and open the default scene) doesn't make much sense. It ignores the filename passed on the CLI, whereas with this patch that filename is actually remembered, and used when saving. Reviewers: campbellbarton, sergey, mont29
2015-11-20Fix switching scenes w/ background renderCampbell Barton
Caused by own de-duplication, b3492978 Scene switching relies on the window context being cleared.
2015-11-06Fix typo in new error reporting during arg parsing.Bastien Montagne
2015-11-06Command line args: print error w/ invalid numbersCampbell Barton
2015-10-08File Read: de-duplicate command line file-loadCampbell Barton
WM_file_read must support background mode already since it can be called by Python scripts in background mode.
2015-10-08BLI_path api, minor changes to CWD handlingCampbell Barton
- BLI_current_working_dir's return value must be checked, since it may fail. - BLI_current_working_dir now behaves like getcwd, where a too-small target will return failure. - avoid buffer overrun with BLI_path_cwd, by taking a maxlen arg.
2015-09-18Support relative frames w/ start/end argsCampbell Barton
2015-09-13Cleanup: spellingCampbell Barton
2015-09-02Enable guarded-alloc when --debug-all is passedCampbell Barton
2015-09-02Correct help message for debug optionsCampbell Barton
2015-08-27Missed version update loading in background modeCampbell Barton
2015-08-27Fix T45926: Drivers fail in background modeCampbell Barton
Scene evaluation was done before text blocks were registered.
2015-07-28Audaspace: support the device list returned by the new audaspace library.Jörg Müller
- use the device names returned from the library. - system settings UI changed as new audaspace might contain longer and more device names.
2015-07-09Cleanup: quiet warningCampbell Barton
2015-07-02Make OpenGL debug contexts a flag --debug-gpu instead of a compile timeAntony Riakiotakis
option. This makes sense, since contexts get created at runtime, there is little reason to require recompilation for this. Only works on linux currently, will be doing more OSs later
2015-07-02Minor edits to --helpCampbell Barton
2015-07-01Correct --help messageCampbell Barton
2015-06-20Cleanup: checks for unsupported MSVC versionsCampbell Barton
2015-06-18Return non-zero exit code when running blender from the command line and ↵Sergey Sharybin
reading file has failed This way automated scripts can actually see if some issue happened.
2015-06-14Fix '--addons' argumentCampbell Barton
- only enable addons which aren't already enabled - use 'persistent' load option (new file wont reset)
2015-06-11Add argument --python-expr to pass Python directlyCampbell Barton
This works like Python's -c argument, handy to be able to avoid writing small scripts to disk.
2015-06-05Depsgraph: Report to the console when the new depsgraph is usedSergey Sharybin
2015-06-01Disable writing a crash file completely on Windows.Antony Riakiotakis
We had some reports where users did not even read the "Not supported on release builds" message, and arguably writing a file sort of indicates that the file may include something useful.
2015-05-20Add dedicated command argument to switch depsgraph to a single-threaded ↵Sergey Sharybin
evaluation This way it is possible to have single threaded depsgraph but threaded other areas which is handy for torubleshooting. he argument is: --debug-depsgraph-no-threads
2015-05-12Depsgraph: New dependency graph integration commitSergey Sharybin
This commit integrates the work done so far on the new dependency graph system, where goal was to replace legacy depsgraph with the new one, supporting loads of neat features like: - More granular dependency relation nature, which solves issues with fake cycles in the dependencies. - Move towards all-animatable, by better integration of drivers into the system. - Lay down some basis for upcoming copy-on-write, overrides and so on. The new system is living side-by-side with the previous one and disabled by default, so nothing will become suddenly broken. The way to enable new depsgraph is to pass `--new-depsgraph` command line argument. It's a bit early to consider the system production-ready, there are some TODOs and issues were discovered during the merge period, they'll be addressed ASAP. But it's important to merge, because it's the only way to attract artists to really start testing this system. There are number of assorted documents related on the design of the new system: * http://wiki.blender.org/index.php/User:Aligorith/GSoC2013_Depsgraph#Design_Documents * http://wiki.blender.org/index.php/User:Nazg-gul/DependencyGraph There are also some user-related information online: * http://code.blender.org/2015/02/blender-dependency-graph-branch-for-users/ * http://code.blender.org/2015/03/more-dependency-graph-tricks/ Kudos to everyone who was involved into the project: - Joshua "Aligorith" Leung -- design specification, initial code - Lukas "lukas_t" Toenne -- integrating code into blender, with further fixes - Sergey "Sergey" "Sharybin" -- some mocking around, trying to wrap up the project and so - Bassam "slikdigit" Kurdali -- stressing the new system, reporting all the issues and recording/writing documentation. - Everyone else who i forgot to mention here :)
2015-04-27Fix T44464: Viewport mipmaps no longer toggle offCampbell Barton
2015-04-24Add debug option --debug-gpumem to show GPU memory used in status bar.Antony Riakiotakis
Only used in ATIs and NVIDIAs. Used extensions are: https://www.opengl.org/registry/specs/ATI/meminfo.txt http://developer.download.nvidia.com/opengl/specs/ If you read the documentation, the numbers are not supposed to be exact and also depend on the time when the call is made. The numbers can also change quite quickly. It's only meant to give a rough measure of what is going on.
2015-04-18Cleanup: API naming use BKE_undo_ prefixCampbell Barton
2015-03-27Cleanup: win32 mixed declare/statements in main()Campbell Barton
Make it a more clear where declarations end (ifdef's all over made it a bit confusing).
2015-03-26sound module: Append functions with BKE (makes it easier to make themAntony Riakiotakis
out from local functions)
2015-03-21Cleanup: instantiate arg once in context macroCampbell Barton
2015-03-11Cleanup: styleCampbell Barton
2015-03-03Style cleanupAntony Riakiotakis
2015-03-03Windows: Add stacktrace support when unhandled exception occurs.Antony Riakiotakis
We need to register the exception handler slightly differently here, as well as adding DbgHelp as a library, but according to docs it should be supported in recent Windows editions (Win XP included even). We can try it first and revert if there are issues.
2015-02-13Purge temporary files on abortSergey Sharybin
This way both BLI_assert() and abort() called directly shouldn't leave any files in the temp folder. Previously it was really possible to have gadzillions of files left over because of assert failures and debug aborts during the development process.