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-09Cleanup: unused args/vars/imports in modulesCampbell Barton
2018-12-05Fix own mistake in recent rB74361eebe68c.Bastien Montagne
One cannot assign to Class.__dict__, that is not a 'real' dictionnary... Thanks to @JacquesLucke for noting the issue.
2018-12-05Fix T58772: Stray "forward" and "up" options in 2.8 import addons?Bastien Montagne
Nice side-effect of using new __annotations__ thingy to store dynamically-generated fields in a class: __annotations__ dict is not ensured to exist for a given class, so we may end up modifying on of the parents' one!
2018-11-28Use collection and instance terminology in Python APISergey Sharybin
This follows naming convention agreed on in T56648.
2018-09-30io_utils: remove `orientation_helper_factory`.Bastien Montagne
Now we only use orientation_helper decorator.
2018-09-21Py io_utils: deprecate `orientation_helper_factory` and add new ↵Bastien Montagne
`orientation_helper` decorator. This fixes warning about not using annotations, and a decorator here is a much cleaner solution anyway.
2018-07-11PyAPI: Use annotations for RNA definitionsCampbell Barton
- Logical use of fields since they define type information. - Avoids using ordered-dict metaclass. Properties using regular assignments will print a warning and load, however the order is undefined.
2018-07-03Cleanup: pep8Campbell Barton
2017-11-29Cleanup: Python importsCampbell Barton
Split over lines to diff more easily.
2016-01-31Cleanup: pep8Campbell Barton
2015-05-17Cleanup: pep8Campbell Barton
2015-05-12Doc: minor fixesCampbell Barton
- check for class/static methods assumed nonzero args. - subclass references and set-flag items are now sorted. - use 'order' for Py operator mix-ins, so operator settings don't show in random order.
2015-03-24Fix T44089: All addons do not use same default for orientations.Bastien Montagne
Transformed 'OrientationHelper' class into 'orientation_helper_factory' function, which returns an OrientationHelper customized class with specified default axes.
2015-01-14PyAPI: name OrientationHelper (io prefix in module name already)Campbell Barton
2015-01-14Py IO utils: Add helper class to handle orientation (axes).Bastien Montagne
Also 'fix' T43243, since we can easily add a common better behavior now when both axis settings are incompatible, by systematically changing the other axis. Will update 'main' addons in next commit, contrib ones I'll let to the authors (old behavior is still possible anyway).
2014-02-13Code cleanup: styleCampbell Barton
2013-08-18More "relpath" try/except protection...Bastien Montagne
2013-04-10py api: path_reference_copy() use try/except when copying images, can fail ↵Campbell Barton
for odd reasons (currently fails if the dest dir is a symlink and not using expected permissions).
2013-02-07code cleanup: use exist_ok keyword arg to os.makedirs() rather then checking ↵Campbell Barton
if the dir exists first.
2013-01-16style cleanupCampbell Barton
2013-01-15fix issue reported in '[#33876] bpy.path.ensure_ext adds extension twice / ↵Campbell Barton
extra period if filename empty, just a period or equal to extension' For python operators that used the ExportHelper mix-in class, an empty file field would become '.ext', entering and existing the text field would become '.ext.ext', Now only add an extension if the filename part of the path is set, so '.ext' will still become '.ext.ext' but having only the extension isn't so likely to happen in the first place now. This is a different fix then the changes suggested in the report but I'd prefer to keep path functions stupid+predictable.
2012-07-03First load of spell and typo fixes (mostly UI messages, but also one or two ↵Bastien Montagne
pieces of code using mis-spelled names).
2012-02-27Various fixes to UI messages (among other things, all messages needed it ↵Bastien Montagne
should now be capitalized).
2011-12-22update axis conversion for recent matrix changesCampbell Barton
2011-12-06attempt to fix defione for qtcreator project file and cycles define.Campbell Barton
2011-10-17correct spelling errors in commentsCampbell Barton
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-09-19/release/scripts: Removed final points in UI strings and messages.Bastien Montagne
2011-08-26correct missing bpy doc references.Campbell Barton
2011-08-15py api - optional sep argument for bpy_extra.io_utils.unique_name() since ↵Campbell Barton
for some formats '.' is an invalid char.
2011-08-08use static sets rather then tuples, python optimizes this case.Campbell Barton
minor change to lightmap unpack collecting unique meshes.
2011-08-03fix [#28151] export OBJ don't save the extensionCampbell Barton
also correct some typos
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-29pep8 cleanup, also print message when attempting to run in animation player ↵Campbell Barton
mode.
2011-07-28fix error in writing dupligroups for X3D export, may have effected other ↵Campbell Barton
exporters too.
2011-07-18fix [#27971] Blender OBJ export with Z-Up setting produces an error and failsCampbell Barton
changes to extensions coming up...
2011-07-10fix for various python bugs and remove unused var.Campbell Barton
2011-06-02addons now show expanded list again (since Brecht's commit now makes it fast)Campbell Barton
also add utility function for getting cleaned, unique names from python: bpy_extras.io_utils.unique_name(...)
2011-05-28move load_image into image_utils and add some docstrings to bpy_extras module.Campbell Barton
2011-05-28- generate sphinx docs for bpy_extras moduleCampbell Barton
- add in support to doc generator for automatically generating docs for submodules.
2011-05-24lookup table for axis conversion was wrong in some places.Campbell Barton
2011-05-24bpy_extras.io_utils.axis_conversion() was returning wrong matrix.Campbell Barton
2011-05-16move generic bpy helper modules into bpy_extras.Campbell Barton