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-02-26Fix T54029: Wrong preset name display in win32Campbell Barton
2018-01-14Fix T53772: Presets don't support colonsCampbell Barton
2017-03-23bpy.path.display_name: strip spacesCampbell Barton
Useful for Python module paths that can't start with numbers.
2016-07-30Cleanup: pep8Campbell Barton
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-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-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-05-17Cleanup: pep8Campbell Barton
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
2014-07-30Fix addon crash when trying listdir a directory we have no permission to.Bastien Montagne
2013-11-19Code Cleanup: style, spelling and pep8 editsCampbell Barton
2013-10-05rename presets not to use '+' character, also some typo fixes.Campbell Barton
2013-09-18fixes for python api docs.Campbell Barton
also move foreach_get/set examples into their own py example files (prefer not to have example code built into blenders binary).
2013-08-12bpy.path.reduce_dirs() - new utility function to de-duplicate and remove ↵Campbell Barton
nested paths before doing a recursive search.
2013-04-05py api additions needed for fixing [#34864].Campbell Barton
- add rna property 'as_bytes' method so you can get a string property as python bytes (bypass encoding). - make bpy.path.abspath/relpath compatible with bytes. - add 'relpath' option to bpy_extras.image_utils.load_image(), so you can load an image relative to a path.
2013-01-16style cleanupCampbell Barton
2013-01-04expose common extensions for image/movie/audio types, since python scripts ↵Campbell Barton
had to do this internally. - bpy.path.extensions_image - bpy.path.extensions_movie - bpy.path.extensions_audio eg: if os.path.splitext(filename)[1].lower() in bpy.path.extensions_image: ... we have an image ...
2012-10-08style cleanup: pep8Campbell Barton
2012-08-17style cleanupCampbell Barton
2012-07-18Fix [#32135] FRAMERATE: Framerate display is truncated in selection box.Bastien Montagne
Filename extension was striped twice...
2012-03-22fix [#30623] user-defined render presets bugCampbell Barton
this report exposed multiple bugs in blender when using a non utf8 compatible home directory. - bpy.utils.script_paths() would crash when homedir wasn't utf8 (reported bug) - PyC_DefaultNameSpace() - would raise an error when running when __file__ was non utf8. - preset filepath property was not set to accept non utf8. - bpy.paths.display_name would raise an error on non utf8 paths, (used for preset draw)
2012-03-16py api:Campbell Barton
modify bpy.path.display_name_from_filepath() to accept bytes
2011-12-11fix for bpy.path.abspath() on windows when the library argument was set and ↵Campbell Barton
its self a relative path too.
2011-11-16minor cleanupCampbell Barton
- remove / comment unused python vars - replace mul_v3_fl(somevec, -1.0f); with negate_v3(somevec);
2011-10-11py api: bpy_extras.io_utils.path_reference() - added library argument so ↵Campbell Barton
exporters get the paths of linked images right.
2011-10-11- bpy.path.abspath(), added optional library argument since any paths from ↵Campbell Barton
linked datablocks are relative to this, not the blend files path, this saves kludgy path code wherever libraries may be used. - Image "Edit Externally" operator can now edit relative library images. also minor edits to navmesh.
2011-08-02Fixed a few small typos.Kent Mein
Kent
2011-07-31py api: sphinx doc corrections, pep8 cleanup and style edits, also added ↵Campbell Barton
__all__ to some modules which were missing it.
2011-07-25fix [#28075] After the correction of No.38528 is applied, the following ↵Campbell Barton
phenomenon has been generated. own fault in recent addition of bpy.path.basename() not supporting byte paths.
2011-07-20added bpy.path.basename because "//" prefix breaks os.path.basename.Campbell Barton
2011-07-19fix for bpy.path.abspath(), if a path was passed it would get the last ↵Campbell Barton
directory cut off, broke copying images on export.
2011-05-19fix [#27432] [2.57/scripts/modules/bpy/path.py:169] can't concat bytes to strCampbell Barton
2011-05-06patch [#27205] Infinite recursion inside resolve_ncase() when passed a ↵Campbell Barton
driver letter on Windows that does not exist by Brandon Ehle (azverkan)
2011-02-01Pythons path functions - os.walk(). os.path.exists(). etc support bytes for ↵Campbell Barton
paths as well as strings, support this with blender/rna too. - bpy.data.*.load() functions were only accepting UTF-8 paths. - rna functions/properties now accept byte values rather then strings for file paths. - bpy.path.resolve_ncase now supports byte objects.
2011-01-15py api: bpy.path.abspath(), option to return relative to a path other then ↵Campbell Barton
the current blend file.
2011-01-03recent change to keyframe menu broke BVH import, now don't use the operator ↵Campbell Barton
at all, instead assign the action manually. Also added bpy.path.display_name_from_filepath(), since filepaths are not ensured to be utf8. same as calling: os.path.splitext(os.path.basename(name))[0].encode("utf8", "replace").decode("utf8")
2011-01-01pep8 cleanupCampbell Barton
2010-12-11allow addons/modules path so extension authors can develop their own shared ↵Campbell Barton
modules.
2010-10-01bugfix [#24065] obj export (mtl image path)Campbell Barton
2010-09-14button to remove presets.Campbell Barton
note: this is an option to the add preset operator which is a bit odd but easiest since these classes have all the info needed for removal as well.
2010-09-08addon improvements/fixesCampbell Barton
- better error reporting when an addon fails to load - upload an addon which loads partly but then fails (eg, module loads but class register fails) - bugfix addon loading, failier to load would leave _bpy_types._register_immediate = False - added which change on disk are reloaded when enabling. - bpy.path.module_names() now returns (module_name, module_path) pairs.
2010-09-08new bpy function bpy.path.module_names(path, recursive=False)Campbell Barton
addon's and python initialization both had this inline.
2010-09-07ran through pep8 checkerCampbell Barton
2010-08-09[#23228] Play rendered animation is not workingCampbell Barton
own recent commit missed renaming expand -> abspath
2010-08-06fix for missing importCampbell Barton