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
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-09-05Fix T54152: --env-system-scripts fails on win32Ray Molenkamp
2018-06-17Cleanup: trailing space for blenkernelCampbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-04-25Remove developer exception hackCampbell Barton
This caused too much trouble, also it's possible users run with 'release' in their CWD causing issues. Developers can symlink "release/" to "bin/2.79".
2018-04-25Revert "Fix (unreported) broken 'get system path' in some cases."Campbell Barton
This reverts commit f1bc0aeddedacf68182164dde5d4674d11aba6c9.
2018-04-25Fix (unreported) broken 'get system path' in some cases.Bastien Montagne
There were two issues here actually: * The hack to allow running Blender directly from the source directory would just check for a 'release' directory, without actually ensuring it is release dir from blender source tree, and not some other random folder. * GHOST_getSystemDir returns nothing for portable installations, now we'll then check directly in the blender binary dir in that case. This fix is more critical in 2.8 branch, where that system path is used to retrieve new '3D' icons...
2017-11-19Swap priority of system path overrides for dev buildsJulian Eisel
Suggested by Campbell, thanks! Also moved the exception into own function and improved comments. Fixes T53008.
2017-09-14Fix T52442: bl_app_templates_system not workingCampbell Barton
Portable builds LOCAL files need to be treated as system instead of using as a fallback to USER templates.
2017-09-14Fix bpy.utils.resource_path('SYSTEM') outputCampbell Barton
Would return the test path for developer builds: {blender-dirname/release} Now return an empty string when no path is found.
2017-08-12Cleanup: whitespaceCampbell Barton
2017-08-11Fix crash checking for Blender version 10+Campbell Barton
PyAPI could trigger this, for now just truncate.
2017-08-11Cleanup: redundant 'static' variableCampbell Barton
Also use BLI_snprintf.
2017-08-11Fix OSX duplicate path in Python's sys.pathCampbell Barton
The '..' in the path caused simple comparisons to fail. D2780 by @akitula
2017-03-25WM: Application TemplatesCampbell Barton
This adds the ability to switch between different application-configurations without interfering with Blender's normal operation. This commit doesn't include any templates, so its mostly to allow collaboration for the Blender 101 project and other custom configurations. Application templates can be installed & selected from the file menu. Other details: - The `bl_app_template_utils` module handles template activation (similar to `addon_utils`). - The `bl_app_override` module is a general module to assist scripts overriding parts of Blender in reversible way. See docs: https://docs.blender.org/manual/en/dev/advanced/app_templates.html See patch: D2565
2017-03-24Add: BKE_appdir_folder_id_exCampbell Barton
Allows getting the path without using a static string.
2017-03-24Cleanup: line-lengthCampbell Barton
2017-03-01Cleanup: code-style, duplicate headerCampbell Barton
2017-02-15Comments: notes on polyfill2d, minor correctionsCampbell 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-02-15Fix for Python executable not being found on LinuxCampbell Barton
Python name could include ABI-flags after the version, since checking for all combinations of ABI flags can expand into many possibilities, take the executable name from the build system.
2015-10-30Python: check version binary name firstCampbell Barton
Check version name first since 'python' binary may be a different version.
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-06-28Cleanup: remove BLI prefix from BKE funcsCampbell Barton
2015-06-17Cleanup: duplicate includesCampbell Barton
2015-06-02Fix own mistake searching python binaryCampbell Barton
2015-05-19Python: search for 'python' and 'python#.#'Campbell Barton
2015-05-13Cleanup: reduce scope for win32, Linux varsCampbell Barton
2015-05-06Add bpy.app.binary_path_pythonCampbell Barton
Access to the python binary distributed with Blender, fallback to system python executable (matching Blender's version).
2015-05-05Prefer name 'program' over 'binary'Campbell Barton
binary-search is confusing!
2015-05-05BLI_path: add PATH search utility functionsCampbell Barton
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-21Cleanup: styleCampbell Barton
2015-01-06cleanup: warningsCampbell Barton
2014-11-30Cleanup: warnings & spaceCampbell Barton
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-23Refactor: BLI_path_util (split out app directory access)Campbell Barton
This module is intended for path manipulation functions but had utility functions added to access various directories.