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
2015-11-30Fix T46891: Error removing PropertyGroupCampbell Barton
2015-09-10Fix T46048: Custom properties UI redraw issueCampbell Barton
Adding/removing custom properties didn't refresh elsewhere in the UI.
2015-03-25Fix T44026: ID prop delete leaves names in _RNA_UICampbell Barton
2015-01-29cleanup: pep8Campbell Barton
also remove empty class parenthesis
2014-07-22Cleanup: pep8 & redundant varsCampbell Barton
2014-06-06Fix T40520: Properties panel in properties region in 3D view does not go away.Bastien Montagne
Ignore '_RNA_UI' IDP...
2014-02-25Fix T38778: Properties from bpy.props could be edited as custom propsCampbell Barton
2014-02-25Fix for custom property editor when property id's contained quotesCampbell Barton
Adds bpy.utils.escape_identifier()
2013-02-15And more UI messages issues fixing... Thanks again to Gabriel Gazzán and ↵Bastien Montagne
Leon Cheung!
2013-02-08disable translations for some python buttons.Campbell Barton
2013-01-23fix [#29950] Linked proxy armature object properties can't be editedCampbell Barton
2012-01-01use `props` all over for operator properties varsCampbell Barton
2011-07-10cleanup for python scripts - unused vars and importsCampbell Barton
2011-06-17IDProperty python module updateCampbell Barton
- add support for IDProp array slicing, but not resizing. - rename array attribute type to typecode and use chars 'f', 'd', 'i' which match pythons array module. (was using int's which only have a meaning internally). - rename function 'convert_to_pyobject' to 'to_dict' and 'to_list' for IDProp group and array types respectively. - remove 'len' array attribute, calling len(array) is fine.
2011-01-01pep8 cleanupCampbell Barton
2010-12-19fix for own error [#25299] custom properties not showing in viedw3d panelCampbell Barton
error made when fixing id pinning, for non-properties space.
2010-12-17bugfix [#25240] Custom properties panel on pinned data fail.Campbell Barton
2010-09-18use is rather then == when comparing against None.Campbell Barton
2010-09-07ran through pep8 checkerCampbell Barton
2010-09-02bugfix [#23635] property limits don't work when added via scripting\Campbell Barton
also fix for bug where soft limits could be greater then hard limits with bpy.props.* functions.
2010-08-27bugfix [#23534] Custom Properties not showing in OBJECT panelCampbell Barton
2010-08-26rna api - replace panel properties bl_default_closed and bl_show_header with ↵Campbell Barton
bl_options which has 2 flags: 'DEFAULT_CLOSED' and 'HIDE_HEADER'. this matches operators which also uses bl_options like this
2010-08-09poll() as a python '@staticmethod' was too limiting and didnt allow useful ↵Campbell Barton
base class poll functions in many cases. now rna functions that dont have a 'self' are automatically assumed '@classmethods'. de-duplicated poll functions and made some minor tweaks too.
2010-08-02RNA Types metaclass registrationMartin Poirier
See mailing list posts for details [1][2][3] Addons still need to be fixed; Campbell said he'd do it today. See any of the py files (outside netrender) in this commit for how to do it (it's rather simple). [1] http://lists.blender.org/pipermail/bf-committers/2010-February/026328.html [2] http://lists.blender.org/pipermail/bf-committers/2010-August/028311.html [3] http://lists.blender.org/pipermail/bf-committers/2010-August/028321.html
2010-06-14naming changesCampbell Barton
path -> filepath (for rna and operators, as agreed on with elubie) path -> data_path (for windowmanager context functions, this was alredy used in many places)
2010-05-10Fix [#22296] Wrong Operator Names?Matt Ebb
2010-02-27store vars in py operators in the instance rather then the operator classes.Campbell Barton
2010-02-24allow cloth sim for linked duplicates, not many people use this but we need ↵Campbell Barton
for using hair on linked characters, if there are bugs with this we'll need to fix so enabling for now with comments that its experemental.
2010-02-12correct fsf addressCampbell Barton
2010-02-02subtype support for properties in bpy.props.Campbell Barton
2010-01-31pep8 changesCampbell Barton
2010-01-08custom properties panels for most ID types. use subclassing to keep panel UI ↵Campbell Barton
definitions minimal
2009-12-25fix for [#20244] importing .obj without "Object" option checked crashes blenderCampbell Barton
2009-12-25operator draw function working again. needed to add layout to the operator ↵Campbell Barton
to give access to "self.layout" - like panels, headers and manu's have
2009-12-24* register operators like other classesCampbell Barton
* operators now return sets (converted into flags) * can't remove bpy_operator_wrap.c since macro's still use the custom register funcs
2009-12-13script for automating pep8 checks.Campbell Barton
On ubuntu/debian install these tools... sudo apt-get install pylint pyflakes python-setuptools python-pip sudo pip install pep8 then run from blenders source dir... python release/test/pep8.py This searches for the comments "# <pep8 compliant>" and "# <pep8-80 compliant>", running the checking tools on these scripts only. * some minor pep8 corrections too.
2009-12-10- rigify context changes & example for deltaCampbell Barton
- sequencer transform had 0.0 for rotation minimum - missed icon rename in last commit
2009-12-08white space commit (spaces -> tabs and clearing whitespace)Campbell Barton
2009-12-07rna flag PROP_ENUM_FLAG which makes rna props a tuple of enums when ↵Campbell Barton
converted into a PyObject only used by wm.invoke_props_popup() currently
2009-12-06pep8 edits and fix some warningsCampbell Barton
2009-12-04String fix and a bunch of PEP8 issues I had collected in the meanwhile.Guillermo S. Romero
2009-11-24rig-generation from metadata, the idea is to input a simple rig with ↵Campbell Barton
metadata matching preset definitions these are applied by adding constraints, drivers, control bones etc. making it possible to re-apply changes & improvements to many rigs at once. testcase makes a finger rig (like in BBB) from 3 bones, the base tagged with an id property "type":"finger". still missing is a way to update the driver dep's also fixed an error in the property UI when the active bone is not on the active layer.
2009-11-24- new pyrna api functions srna & prop path_to_id(), useful when setting ↵Campbell Barton
driver target paths. This means you can have a pose bone for eg and get the path... pose.bones["Bone"] uses rna internal functions, so will work for sequence strips etc. - StructRNA.get(), used for getting ID props without exceptions... val = C.object["someKey"] or.. val = C.object.get("someKey", "defaultValue") # wont raise an error - change rna property for testing if rna props are editable, test the flag rather then calling the function since the function depends on blenders state. - fix a python exception with the ID-Property popup UI (when editing in more then 1 step)
2009-11-23more ui api changes.Campbell Barton
- remove functions such as operator_int(), operator_enum(), operator_string this mixed with keyword arguments in a way that made them hard to read. Instead, have operator() always return properties rather then needing an argument. - rename prop_pointer() --> prop_object(), pointer is more a C thing. - missed item_enumR(), rename to prop_enum()
2009-11-23rna UI api rename...Campbell Barton
note: this aims to follow pep8 however I chose to use 'prop/props' rather then 'property/properties' because it would make function names too long. itemR() --> prop() items_enumR() --> props_enum() item_menu_enumR() --> prop_menu_enum() item_pointerR() --> prop_pointer() itemO() --> operator() item_enumO() --> operator_enum() items_enumO() --> operator_enums() item_menu_enumO() --> operator_menu_enum() item_booleanO() --> operator_boolean() item_intO() --> operator_int() item_floatO() --> operator_float() item_stringO() --> operator_string() itemL() --> label() itemM() --> menu() itemS() --> separator() batch script used http://www.pasteall.org/9345
2009-11-22- aspectx wasnt saved in the render presetCampbell Barton
- define a preset base class - cleanup some comments and whitespace
2009-11-20use a metaclass to have operator attributes register and display in the ↵Campbell Barton
order defined.
2009-11-19- StructRNA's __dir__ was missing members from its classes __dict__Campbell Barton
- property editor can now set button min/max values and edit the tooltip - custom props tooltips were not displayed - cleanup the property UI - remove hacks that were used for editing (edit is now a popup operator) - object.children was broken
2009-11-19operators were copying the properties from the rna operator into the class ↵Campbell Barton
instance. however this meant the invoke function could not modify properties for exec to use (unless it called exec directly after) since the popup for eg would re-instance the python class each time. now use the operator properties directly through rna without an automatic copy. now an operator attribute is accessed like this... self.path --> self.properties.path
2009-11-18ID properties that are displayed via RNA can now define their own UI settings,Campbell Barton
only implimented min/max precision & step. at the moment there is no way to edit these other then via python example of setting UI limits... >>> C.object['foo'] = 0.5 >>> C.object['_RNA_UI'] = {'foo': {'step': 0.5, 'soft_max': 10.0, 'soft_min': 0.0, 'precision': 2, 'description': 'Some setting'}} Also fixed typo's: precission -> precision