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
2011-09-19/release/scripts: Removed final points in UI strings and messages.Bastien Montagne
2011-08-22pep8 edits and change '!= None' to 'is not None'Campbell Barton
2011-08-19py style change only - make property definitions consistentCampbell Barton
2011-08-10Fix for incorrect parameter amount.Nathan Letwory
2011-08-10fix for error in templateCampbell Barton
2011-08-08use static sets rather then tuples, python optimizes this case.Campbell Barton
minor change to lightmap unpack collecting unique meshes.
2011-08-01fix for templateCampbell Barton
2011-07-29pep8 cleanup, also print message when attempting to run in animation player ↵Campbell Barton
mode.
2011-07-26set the development cycle to 'beta'.Campbell Barton
2011-07-26py api:Campbell Barton
- added menu templates - move template menu into the header of the text editor (so users will find more easily) - updated mathutils examples, switching the order of multiplication.
2011-07-17template for patch exporting objects in a scene.Campbell Barton
2011-05-16move generic bpy helper modules into bpy_extras.Campbell Barton
2011-04-29spelling corrections.Campbell Barton
2011-04-10- background job style cleanup.Campbell Barton
- assert if material assignment is called with lib. (so the callers can be corrected). - correct example docs
2011-04-01pep8 checker, mostly pedantic style changes but also found an error in ↵Campbell Barton
mesh_utils.mesh_linked_faces()
2011-03-28example operator that uses a timer.Campbell Barton
2011-03-26print guarded-alloc memory leaks on blenderplayer exit.Campbell Barton
2011-03-26optparse module is deprecated, use new argparse module in background job ↵Campbell Barton
template. correction to example in doc too.
2011-03-22py/api registration:Campbell Barton
move calls to the classes register/unregister function into register_class() / unregister_class() and add docs. also other minor changes: - remove face sorting keybinding, was Ctrl+Alt+F, this is quite and obscure feature and face order normally doesn't matter, so access from Face menu is enough. - add commented out call to mesh.validate() in addon template since its useful to correct incomplete meshes during development.
2011-02-27replace import *'s with named imports (using * is convenient for some ↵Campbell Barton
scripts but considered bad practice by python devs)
2011-02-16bugfix [#26094] Going to Bone Roll menu brings up python errorCampbell Barton
also correct for pep8 warnings.
2011-02-12update templates for registration changesCampbell Barton
2011-02-11minor python register changes.Campbell Barton
- KeyingSetInfo classes are now collected like Panels, Operators etc so bpy.utils.register_module() can be used. - move bpy.types.register() to bpy.utils.register_class
2011-02-09use update() rather then update_tag(), needed for making edge data.Campbell Barton
2011-02-07rename ID.update() --> update_tag() since this function only tags for ↵Campbell Barton
updating and scene.update() executes the update.
2011-02-01Script to test import operators, so a single command can execute an operator ↵Campbell Barton
on all files in a directory and optionally save out blend files for inspection. This comes in handy for testing importers against 100's of files, quickly showing breakages and easier to setup then unit tests. Example usage: blender.bin --background --python source/tests/batch_import.py -- \ --operator="bpy.ops.import_scene.obj" \ --path="/data/testfiles/obj" \ --match="*.obj" \ --start=0 --end=50 \ --save_path="/tmp/test" Also found my name was spelt wrong in some places :)
2011-01-26update to background_job template to use --factory-startup option.Campbell Barton
make all templates pep8 compliant.
2011-01-24fix [#25757] Torus script uses radians for rotation in panelCampbell Barton
2011-01-14add icons to show community vs official scripts as well as buttons to filter ↵Campbell Barton
by support level (currently all scripts default to community) note: we need better icons for this. also formatting edit for ply import.
2011-01-12simple add mesh operator template.Campbell Barton
2011-01-11Adding script template for adding Builtin Keying SetsJoshua Leung
2011-01-11- bpy.data.lamps.new() now takes a type argument since lamp type also sets ↵Campbell Barton
class type this avoids needing to use ugly lamp.type_recast() after changing type. - default vertex color layer name was UTTex when added from python.
2010-12-22== text editor templates ==Luca Bonavita
- adding template of a add_object addon from Florian Meyer (testscreenings) - this template is using the new add_utils module in bf-extensions (also from Florian)
2010-12-16- fix [#25246] export default scene to X3D crashes exporter, own fault but ↵Campbell Barton
also made sure all colors are now clamped and noticed 3D text was not being exported. - de-duplicated 'object_type_items' enum, text was known as TEXT in one, FONT in another.
2010-12-11ported back background_job template from 2.4x, useful for automating blender ↵Campbell Barton
to generate scenes in background mode.
2010-12-08pedantic word ordering change.Campbell Barton
- wm.add_modal_handler -> modal_handler_add - wm.add_fileselect -> fileselect_add - ob.add_shape_key -> shape_key_add - VIEW3D_OT_add_background_image -> VIEW3D_OT_background_image_add (same for remove) Also made 2 internal cmake vars hidden.
2010-11-24bugfix [#24884] Loading any preset leads to crashCampbell Barton
caused by own recent commit. update uv operator template too.
2010-11-17cleanup the operator template and rename to operator_exportCampbell Barton
2010-10-12update for gamelogic templatesCampbell Barton
2010-10-03py/rna access to setting the header text - can be used in modal operators.Campbell Barton
eg: context.area.header_text_set("Some Text") included example in the view3d modal operator template.
2010-09-09replace self.properties.foo --> self.fooCampbell Barton
2010-09-02rna context renameCampbell Barton
* context.main & bpy.types.Main --> context.blend_data & bpy.types.BlendData * context.manager --> context.window_manager
2010-08-24- move more active properties into their collections:Campbell Barton
scene.active_keying_set --> scene.keying_sets.active ...same for active_uv_texture. active_vertex_color, active_keyconfig, - move mesh.add_uv_layer() and mesh.add_vertex_color() into their collections also have them return the newly created layer and dont set the layer active. uvtex = mesh.uv_layers.new(name) vcol = mesh.vertex_colors.new(name)
2010-08-18rna naming: verts -> verticesCampbell Barton
2010-08-11mathutils module methods only contained matrix constructors, move these to ↵Campbell Barton
matrix class methods since this is acceptable in python. eg: dict.fromkeys() and groups them more logically. mathutils.RotationMatrix -> mathutils.Matrix.Rotation mathutils.ScaleMatrix -> mathutils.Matrix.Scale mathutils.ShearMatrix -> mathutils.Matrix.Shear mathutils.TranslationMatrix -> mathutils.Matrix.Translation mathutils.OrthoProjectionMatrix -> mathutils.Matrix.OrthoProjection
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-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-02remove register/unregister from templatesCampbell Barton
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-07-15Apply first pass of edits to rna values from rna_booleans.txt.Campbell Barton
These are not animated and are best not change names like this too late in the release. ActionGroup.selected -> select: boolean Action Group is selected BezierSplinePoint.hidden -> hide: boolean Visibility status BezierSplinePoint.selected_control_point -> select_control_point: boolean Control point selection status BezierSplinePoint.selected_handle1 -> select_left_handle: boolean Handle 1 selection status BezierSplinePoint.selected_handle2 -> select_right_handle: boolean Handle 2 selection status Bone.restrict_select -> hide_select: boolean Bone is able to be selected Bone.selected -> select: boolean CurveMapPoint.selected -> select: boolean Selection state of the curve point EditBone.restrict_select -> hide_select: boolean Bone is able to be selected EditBone.selected -> select: boolean EditBone.selected_head -> select_head: boolean EditBone.selected_tail -> select_tail: boolean EditBone.locked -> lock: boolean Bone is not able to be transformed when in Edit Mode EditBone.hidden -> hide: boolean Bone is not visible when in Edit Mode NEGATE * FCurve.disabled -> enabled: boolean F-Curve could not be evaluated in past, so should be skipped when evaluating FCurve.locked -> lock: boolean F-Curve's settings cannot be edited FCurve.muted -> mute: boolean F-Curve is not evaluated FCurve.selected -> select: boolean F-Curve is selected for editing NEGATE * FCurve.visible -> hide: boolean F-Curve and its keyframes are shown in the Graph Editor graphs FCurveSample.selected -> select: boolean Selection status GPencilFrame.selected -> select: boolean Frame is selected for editing in the DopeSheet GPencilLayer.locked -> lock: boolean Protect layer from further editing and/or frame changes GPencilLayer.selected -> select: boolean Layer is selected for editing in the DopeSheet Keyframe.selected -> select: boolean Control point selection status Keyframe.selected_handle1 -> select_left_handle: boolean Handle 1 selection status Keyframe.selected_handle2 -> select_right_handle: boolean Handle 2 selection status MeshEdge.selected -> select: boolean MeshEdge.hidden -> hide: boolean MeshFace.hidden -> hide: boolean MeshFace.selected -> select: boolean MeshVertex.hidden -> hide: boolean MeshVertex.selected -> select: boolean MotionPathVert.selected -> select: boolean Path point is selected for editing NlaStrip.selected -> select: boolean NLA Strip is selected NlaTrack.locked -> lock: boolean NLA Track is locked NlaTrack.muted -> mute: boolean NLA Track is not evaluated NlaTrack.selected -> select: boolean NLA Track is selected Object.restrict_render -> hide_render: boolean Restrict renderability Object.restrict_select -> hide_select: boolean Restrict selection in the viewport Object.restrict_view -> hide: boolean Restrict visibility in the viewport Object.selected -> select: boolean Object selection state ObjectBase.selected -> select: boolean Object base selection state PoseBone.selected -> select: boolean Sequence.right_handle_selected -> select_right_handle: boolean Sequence.selected -> select: boolean SplinePoint.selected -> select_control_point: boolean Selection status TimelineMarker.selected -> select: boolean Marker selection state Sequence.left_handle_selected -> select_left_handle: boolean ActionGroup.locked -> lock: boolean Action Group is locked Bone.hidden -> hide: boolean Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes) SplinePoint.hidden -> hide: boolean Visibility status FModifier.muted -> mute: boolean F-Curve Modifier will not be evaluated note: rebaned uv_select to select_uv