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-27rna apiCampbell Barton
obj.add_vertex_group() --> obj.vertex_groups.new() obj.add_vertex_to_group() --> obj.vertex_groups.assign() note: obj.vertex_groups.assign() will be very slow, need to have this take a list rather then 1 vertex at a time.
2010-08-27move dopesheet UI template from C to pythonCampbell Barton
2010-08-27Fix for Mesh.uv_textures.new(name="my_uv") returning the wrong uvmap - ↵Dalai Felinto
reported by Vitor Balbio - not in tracker. The code was taking the last layer, but that is only valid if the mesh has only one kind of CustomData types (e.g. only UVMaps or only VertexColors). The solution I found is to call CustomData_get_named_layer_index instead. To avoid some situations where an uv with this name may already exist and the number of UVs is already the limit we are returning a CDL only when the texture is properly created. As a bonus that also fixes the same problem with VertexColor.
2010-08-27rna api changesCampbell Barton
- mesh.add_geometry(v, e, f) --> mesh.vertices.add(tot), mesh.edges.add(tot), mesh.faces.add(tot) - mesh.add_material(mat) --> mesh.materials.link(mat) changed material.link so it always adds a material even if it exists in the list, this behavior is good for users but not scripts since it can mess up indicies (some formats may have the same material set twice).
2010-08-26bugfix [#23523] OBJ Import still failsCampbell Barton
mistake in own recent commit, texture type wasn't being set
2010-08-26Patch [#23390] Addition of Author field to user preferencesNathan Letwory
Contributed by Imran Syed (freakabcd) Adds a field where the user can put in name/nickname that exporters then can use to write authoring information, where possible.
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-26patch [#23316] Fix bug that doesn't show "X:" "Y:" "Z:" for vectors with lengthCampbell Barton
patch [#23317] Changed some operators' RNA to accept lengths by Lorenzo Tozzi (oni_niubbo) with the minor change to use XYZ subtype rather then LENGTH.
2010-08-25Fix #23470: scene.objects.link() did not update viewport,Brecht Van Lommel
patch by Dan Eicher, thanks!
2010-08-25Fix/addition for recent RNA collections active index changes -Matt Ebb
added scene render layers.active property and updated UI file
2010-08-25rename most scons build targets to match cmakeCampbell Barton
2010-08-25bpy.context.manager.clipboard get/set function (to get/set the Clipboard ↵Dalai Felinto
from a script) Thanks Campbell - one day I get used to C pointer management hell :) * when using it to get, the whole string comes in one single line with Linux EOL (\n) * works only for text
2010-08-25Applied patch #23379. Does not change existing .blend files and looksRobert Holcomb
good.
2010-08-25fix for image sequence ranges Campbell Barton
2010-08-25bugfix/aviodance for [#23488] bpy.types.Texture.type don´t update the ↵Campbell Barton
parameters of texture bpy.data.textures.new() now has a type argument since changing the type after forces the hacky use of recast_type().
2010-08-25remove rna function template_triColorSet(), was only used in one place and ↵Campbell Barton
can be done just as well with 3 function calls.
2010-08-25Bugfix: [#23472] mesh.uv_textures.new() creates a MeshColorLayerDalai Felinto
2010-08-24Fixing KeyingSets breakage from recent RNA renaming madness.Joshua Leung
* 'Active' on TimeLine header needs to show choices ALL KeyingSets available (Builtins + Scene-Absolutes), not just the ones in Scene ("Absolute Paths") * The active KeyingSet setting is needed/used-by for both of these.
2010-08-24py/rna remove functions now all work in a similar way.Campbell Barton
- some remove() functions took an int argument rather then the item to remove. - disallow None argument. - raise an error if the item isnt in the collection.
2010-08-24move more active variables to be nested in collections.Campbell Barton
2010-08-24remove recently added rna function uilayout.prop_search_self() and instead ↵Campbell Barton
allow collections to be coerced into rna structs when they define a type. eg: row.prop_search_self(scene, "active", "keying_sets", text="") ...becomes row.prop_search(scene.keying_sets, "active", scene, "keying_sets", text="") This is more flexible since it works for other UI functions too.
2010-08-24- pythons 'del somevalue.attr' could crash when used with the rna api ↵Campbell Barton
(reported by Luca) eg: bpy.context.StringProperty(attr='myprop'); del bpy.context.myprop - made rna StringProperty/PointerProperty & similar into class methods. - file selector hide option was inverted
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-23new UI rna functionCampbell Barton
layout.prop_search_self(), the same as layout.prop_search() except it uses an attribute of the collection. A number of collections have an 'active' member which couldnt be used with prop_search() and meant we had a mix of active properties being in collections and directly added as properties.
2010-08-23rename UI functionCampbell Barton
layout.prop_object() --> prop_search(). The internal name is uiItemPointerR, in python this can translate into into an Object, however this is misleading. It can be confused with a blender Object and uiItemPointerR can also be used for strings.
2010-08-23collection attributes can now be resolved with by rnaCampbell Barton
this now works... bpy.context.scene.path_resolve("objects.active.location") Also added an option to coerce the property into a native pytype.
2010-08-23rna: move metaball.active_element to metaball.elements.activeCampbell Barton
added rna funcs... elem = metaball.elements.new() metaball.elements.remove(elem)
2010-08-22* Fixing some UI Increment/Decrement issues, where click on left/right ↵Thomas Dinges
triangle in the button would change a decimal which was not seen in the UI. * Made Decimate slider a percentage slider (as the dna name says percent as well).
2010-08-22remove inline loops in a few placesCampbell Barton
replace with defgroup_find_name() and BLI_findstring()
2010-08-21fix for errors in constraints and modifiers made when rna renaming.Campbell Barton
2010-08-21rna name which wasnt set to change but should have been: eff_group -> ↵Campbell Barton
effector_group
2010-08-21rna renaming (manual edits)Campbell Barton
2010-08-20fixed [#23400] Unable to import *.3ds/*.obj files with texturesCampbell Barton
changed some rna names to be more consistant - use_texture -> use_image, since it sets if 'image' is used. - use_map_color_diff -> use_map_color_diffuse since diffuse is used elsewhere in the same type.
2010-08-20rna data path names which are more likely to break animations.Campbell Barton
Added an operator "Update Animation Data", access from the search menu to update drivers and fcurves.
2010-08-20rna remaining that negates valuesCampbell Barton
2010-08-19misc rna renaming.Campbell Barton
2010-08-19rna rename Spline/Curve/Text3DCampbell Barton
2010-08-19rna renaming FModifier & GameObjectSettingsCampbell Barton
2010-08-19rna naming mainly forBoidsCampbell Barton
2010-08-19more rna renaming for non-animated properties: mainly Texface, Particle & ↵Campbell Barton
Pointcache changes. Changed some names when applying. - render was use_render, changed to show_viewport so call it show_render - texface shadow was use_shadow_face, changed to use_shadow_cast since this only affects casting. - transp was alpha_mode, changed to blend_type since its similar to other overlay blending where this property name is used.
2010-08-19fix for error in recent renamingCampbell Barton
2010-08-19- Properties from base classes are now registered too, this allows class ↵Campbell Barton
mix-in's to define properties. An example of how this is useful - an importer mixin could define the filepath properties and a generic invoke function which can run the subclasses exec for each selected file. - Panels and Menus now skip the property check when registering. - renamed _idproperties_ to _idprops_ in function names, function names were getting very long.
2010-08-18rna naming mainly for Scene/IK/KeyingSet'sCampbell Barton
2010-08-18more rna renaming.Campbell Barton
2010-08-18rna rename Bone and Text changesCampbell Barton
2010-08-18rna renaming, still only adjusting properties that wont be animated (at ↵Campbell Barton
least its very unlikely).
2010-08-18rna renaming for Render* structsCampbell Barton
2010-08-18rna renaming for 'Brush' structCampbell Barton
2010-08-18rna naming: verts -> verticesCampbell Barton
2010-08-18apply rna naming for ToolSettingsCampbell Barton