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
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-06remove narrow ui featureCampbell Barton
- re-arranged UI in a way that gave far too much vert scrolling. - was added all over for simple things like making text="", layout engine should handle this. - Ton and Brecht are ok with removing this now. Ton would like to work on the layout engine to make it better support these cases.
2010-08-05bugfix [#23182] Using self.report() inside poll() gives crashCampbell Barton
poll() function is now a static method in python, this is more correct, matching C where the operator is not created to run poll. def poll(self, context): ... is now... @staticmethod def poll(context): ... Pythons way of doing static methods is a bit odd but cant be helped :| This does make subclassing poll functions with COMPAT_ENGINES break, so had to modify quite a few scripts for this.
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-28nicer alignment for preset UICampbell Barton
2010-05-16Properties Window:Thomas Dinges
*The narrowui value was hard coded in all ui scripts, made an user preferences option. Basically this value determines on which area width, it should switch between dual/single column layout. ToDo: The Changes only take effect when reloading scripts/restarting Blender (after saving as default). Will maybe add the "Reload Scripts" operator next to the button in the future. * Small fix for Fluid Add Button, when in single column mode. Didn't expand like the other "Add" Buttons.
2010-05-12merge of last commit to trunkJoseph Eagar
2010-04-23Fix [#22120] Physics modifiers can't be removedMatt Ebb
2010-04-14* Interaction PresetsMatt Ebb
This adds a new presets menu in the splash screen and the Input section of User Preferences to choose a preset interaction style, consisting of key configurations and also other user preferences such as select mouse button, view rotation style, etc. Currently, just 'Blender' and 'Maya' presets are included, hopefully we can have more presets contributed (and maintained!) by the community. It's best to keep these presets minimal to avoid too many key conflicts. In the Maya one I changed the view manipulation key/mouse combos and also the transform manipulator keys, not much more than that. To save an interaction preset, open the user preferences Input section, and press the [ + ] button next to the presets menu. It will save out a .py file containing any edited key maps and navigation preferences to the presets/interaction folder in your scripts folder. --- Part of this commit changes the way that key maps are exported/displayed in preferences - now partial key configs are allowed. Previously it would export/import the entire key configuration, regardless of whether individual key maps were edited or not (which would make them more susceptible to conflicts in unexpected areas). (note, in blender terminology, a key map is a category of key items, such as 'Object Mode' or 'View 2d'.) Now, the export and the UI display work in a similar way to how key maps are processed internally - Locally edited key maps (after pressing the 'Edit' button) are processed first, falling back to other key maps in the current key config, and then falling back to the default key config. So it's possible for a key config to only include a few key maps, and the rest just gets pulled from the default key config. The preferences UI display works like this too behind the scenes in deciding what to show users, however using it is just like it was before, the complexity is hidden.
2010-04-04pep8 cleanupCampbell Barton
2010-03-30Rest shape key for cloth option, this makes it possibleBrecht Van Lommel
to specify different spring lengths. Implementation is quite ugly because the shape key has to be pulled through the modifier stack somehow, need a more flexible data mask system to solve this properly. (commits 27773,27775,27778 by Brecht from render25 branch)
2010-03-26Cloth simulation can now use a group to specify which objectsBrecht Van Lommel
to collide with, in addition to the effectors group. (commit 27746 by Brecht from render25 branch)
2010-02-23scene.render_data -> scene.renderCampbell Barton
bpy.types.SceneRenderData -> bpy.types.RenderSettings better do these changes before there are too many scripts out.
2010-02-23pep8 cleanup + correction for external player operator return value.Campbell Barton
2010-02-16[#21177] Text editorCampbell Barton
Running scripts directly didnt call the register function, even though this is not essential its good to be able to run a script directly and see changes in the UI.
2010-02-14change python scripts so modules which register with blender have a ↵Campbell Barton
register() function rather then making import automatically run the register functions (generally considered bad practice by python people)
2010-02-12correct fsf addressCampbell Barton
2009-12-04String fix and a bunch of PEP8 issues I had collected in the meanwhile.Guillermo S. Romero
2009-12-04* Fix for incorrect disabling after baking cloth simMatt Ebb
* Fix for time cursor getting 'stuck' after baking point caches
2009-11-29pep8 cleanup in ui and op dirs, added popup to select patternCampbell Barton
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-22use is rather then == when comparing with singletons (None/False/True), its ↵Campbell Barton
faster and suggested by pep8
2009-11-22- add cloth button wasnt working because it was set to execute the operator.Campbell Barton
- for adding an operator, start with a blank name and dont write the default one. (still writes each name you type in, will need to fix this properly) - move the AddPresetBase class into presets.py since all the presets are defined there.
2009-11-22- hide members of bpy from dir() and autocomp.Campbell Barton
- path functions bpy.utils.script_paths(), bpy.utils_preset_paths(subdir) - further simplified presets, use a generic draw function for preset menus and define the preset subdir and operator in the class
2009-11-22* Minor cleanups.Thomas Dinges
* Added Cloth Presets. Patch by nudelZ. Thanks!
2009-11-19Renamed "col2" to "wide_ui" which is more meaningful. Thomas Dinges
2009-11-19Single Column layout for Fields, Smoke, Cloth and Fluids.Thomas Dinges
Patch by nudelZ.
2009-11-192.5 Single Column Layout:Thomas Dinges
* Added code to enable single column layout for general physic panels. Note: Force Field Falloff panel has some issues with single layout.
2009-11-18Durian request: ClothDaniel Genrich
* structural can be set to 0 * pre-roll now available through GUI and works like following: a) Pre rolled frames are NOT cached b) reset cache + cloth on pre roll setting change
2009-11-03whitespace commit, (was some tabs mixed with spaces too)Campbell Barton
2009-11-01Correct GPL license header for all python scriptsMartin Poirier
2009-11-01made scripts pass the pep8 test (though not fully pep8 yet)Campbell Barton
added comment in header to know if a script has been converted or not.
2009-10-31GPL2 header from firebird (without disclaimer), notice theres no copyright ↵Campbell Barton
attributed and only the GPLv2 (without the v2 or later clause). Contributors list isnt used much in our C code so probably its easier if people just use svn blame for this. Can change if this isnt acceptable but I guessed people didnt care so much since most scripts had no header.
2009-10-31renamed buttons ui files to properties to match UI name change, needed to ↵Campbell Barton
update some imports too