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
2017-07-25PyAPI: utility for creating register, unregisterCampbell Barton
This simplifies creation of register, unregister functions that simply forward calls submodules.
2017-03-29PyAPI: minor path init simplificationCampbell Barton
2017-03-26Cleanup: line length, assignmentCampbell Barton
2017-03-26Cleanup: simplify script path assignmentCampbell Barton
2017-03-26PyAPI: debug-python check for missing class registerCampbell Barton
Moving to manual class registration means its easier to accidentally miss registering classes. Now detect missing class registration and warn when running with `--debug-python`
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-23bpy.path.display_name: strip spacesCampbell Barton
Useful for Python module paths that can't start with numbers.
2016-11-18Fix T50052: bpy.utils.unregister_module doesn't unregister classes of ↵Bastien Montagne
submodules in reload scenario. reload case would clear TypeMap before unregistering addons, which made all calls to unregister_module() to do absolutely nothing.
2016-07-30Cleanup: pep8Campbell Barton
2016-06-28Cleanup: Python importsCampbell Barton
2016-06-12Docs: Support out-of-source reference-API buildsCampbell Barton
This was originally supported, however relative links to examples & templates made it fail. Now files in the source tree are copied to the build-dir, with ".." replaced with "__" to avoid having to mirror Blender's source-layout in the Sphinx build-dir. Also skip uploading the built docs when an SSH user-name isn't passed to sphinx_doc_gen.sh instead of aborting (so people w/o SSH access to our servers can use the shell-script).
2016-05-13Fix script_paths(check_all=True) missing script pathsCampbell Barton
BLENDER_SYSTEM_SCRIPTS wasn't included in bpy.utils.script_paths()
2016-03-29Fix T47986: OBJ Import fails w/ imagepath encodingCampbell Barton
2016-01-31Cleanup: pep8Campbell Barton
2016-01-12Fix os.path.is_subdir w/ trailing slashCampbell Barton
2015-11-16Python: use keyword only args for addon_utilsCampbell Barton
2015-11-16Cleanup: remove unused profiling from bpyCampbell Barton
2015-10-24Fix invalid exceptions w/ preview APICampbell Barton
D1575 by @januz
2015-09-03PyAPI: tweak to ensure_ext don't lower entire pathCampbell Barton
2015-09-03Fix: Made bpy.path.ensure_ext compatible with compound extensions.Sybren A. Stüvel
Extensions such as ".tar.gz" are now also supported. Before this patch, ensure_ext('demo.tar.gz', '.tar.gz') would return 'demo.tar.tar.gz'. This results in issues with the `ExportHelper` mix-in class; clicking an existing file in the file dialogue warns about overwriting it (highlighting the input box in red), but then saves to a different file. Also added a unit test for the new behaviour. Reviewers: mont29, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1498
2015-08-04Docs: comment functions in BLI & Py APICampbell Barton
2015-08-03Fix T45644: bpy.utils.smpte_from_frame drops frameCampbell Barton
D1444 by @lichtwerk, with minor fix & docstring updates
2015-06-13addon_utils default mismatch /w enable/disableCampbell Barton
default_set argument is now False for both.
2015-06-13Python API: use cached translation tablesCampbell Barton
bpy.path.clean_name() and AddPresetBase.as_filename() were doing inefficient search-replace of individual characters. Use cached replacement table instead.
2015-06-08rename wiki -> manualCampbell Barton
2015-05-17Fix own error deleting previewsCampbell Barton
2015-05-17Cleanup: pep8Campbell Barton
2015-05-12PyAPI: Remove release method, just use delitemCampbell Barton
2015-05-12Doc: add bpy.utils.previewsCampbell Barton
Updated sphinx_doc_gen.py to better handle pure py-classes.
2015-05-11Expose PreviewImage & custom icons to py API.Bastien Montagne
This commit mainly: * Exposes PreviewImage struct in RNA, including ways for user to set images data. * Adds a new kind of PreviewImage, using a file path and IMB_thumb to get image. * Adds a new kind of custom icon using PreviewImage, unrelated to ID previews system. * Adds a python API (utils.previews) to allow python scripts to access those custom previews/icons. Note that loading image from files' thumbnails is done when needed (deferred loading), not when defining the custom preview/icon. WARNING: for release addons who would want to use this, please keep it to a strict minimum, really needed level. We do not want our UI to explode under hundreds of different flashy icons! For more info, see also the release notes of Blender 2.75 (http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons) and the example/templates featured with Blender. Patch by Campbell (ideasman42), Inês (brita) and Bastien (mont29). Differential Revision: https://developer.blender.org/D1255
2015-05-02Turn bpy.utils into a package, so that we can easily add submodules to it.Bastien Montagne
2015-03-26Fix T44137: bpy.path.is_subdir failsCampbell Barton
`bpy.path.is_subdir("/abc/def/ghi","/abc/de")` incorrectly returned True
2015-01-28cleanup: py importsCampbell Barton
2015-01-23PyAPI: avoid scanning all addons on startupCampbell Barton
Gives small speedup
2015-01-23Cleanup: replace deprecated imp -> importlibCampbell Barton
2014-12-18PyAPI: disallow assigning members to 'bpy.ops'Campbell Barton
2014-10-28Cleanup: remove redundant 'object' parent classCampbell Barton
2014-08-26Correct docstringsCampbell Barton
2014-08-26Fix T41584: bpy.utils.time_from_frame out by a dayCampbell Barton
Fix from retroj
2014-07-30Fix addon crash when trying listdir a directory we have no permission to.Bastien Montagne
2014-06-17New python API for units handling.Bastien Montagne
Exposes all supported unit systems & types, and to_value()/to_string() functions. Reviewed and enhanced by CampbellBarton, many thanks! Differential Revision: https://developer.blender.org/D416
2014-04-27Code cleanup: style, unused importCampbell Barton
2014-04-15Style cleanup: C & pep8Campbell Barton
2014-03-13Fix T39158: Help > Operator Cheat Sheet causes a python recursive loop.Bastien Montagne
Core issue exists since ages - the thing you get from bpy.types.YOUR_OT_operator is fuzzy, and may change, due to the fact that both Operator and OperatorProperties share the same name... Would be cool to get rid of this issue one day, but for now it's safer to use rna acessor... This commit is to be backported to 2.70.
2014-02-25Fix for custom property editor when property id's contained quotesCampbell Barton
Adds bpy.utils.escape_identifier()
2014-02-19PyAPI: bpy.ops was showing 'module' in autocomplete outputCampbell Barton
2014-02-19Keymap: load/save improvementsCampbell Barton
- avoid passing redundant operator name to keymap property set function. - avoid double attr lookups when setting each property. - handle exceptions on value type mismatch. - avoid resource warning on failed load.
2013-11-19Code Cleanup: style, spelling and pep8 editsCampbell Barton
2013-10-16style cleanupCampbell Barton
2013-10-05rename presets not to use '+' character, also some typo fixes.Campbell Barton