Campbell Barton
b0b787ef38
bugfix [ #23534 ] Custom Properties not showing in OBJECT panel
2010-08-27 06:11:42 +00:00
Joshua Leung
3912f55408
Bugfix #23504 : Axis-Angle Rotation keyframes were not being inserted correctly when using the 'Rotation' Keying Set
2010-08-27 04:43:47 +00:00
Campbell Barton
fb66c93b90
OBJ export nurbs curves now export again.
2010-08-27 04:43:42 +00:00
Campbell Barton
3cdcff9859
OBJ Import support for nurbs curves back, remove some commented code.
2010-08-27 04:07:12 +00:00
Campbell Barton
b0aa8368fe
rna api
...
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-27 02:33:35 +00:00
Campbell Barton
6d195f6195
speedup for pyrna boolean checking.
...
if bpy.data.objects: ...
Would get loop over the entire collection, instead see if this collection has a single item.
2010-08-27 01:50:50 +00:00
Campbell Barton
9d2b1af0a1
move dopesheet UI template from C to python
2010-08-27 01:23:53 +00:00
Campbell Barton
240b164a87
fix some errors in rigify caused by recent api changes
2010-08-27 00:05:00 +00:00
Campbell Barton
50bce31dbb
rna api changes
...
- 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-26 22:44:05 +00:00
Mitchell Stokes
9089b68073
The Text TexFace option was listed twice, so i removed one.
2010-08-26 20:03:21 +00:00
Campbell Barton
df04f94b50
bugfix [ #23520 ] Smoke broken - UI doesn't allow particle system selection
2010-08-26 09:30:52 +00:00
Nathan Letwory
fb7221ce21
Patch [ #23390 ] Addition of Author field to user preferences
...
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-26 07:19:24 +00:00
Campbell Barton
e7c4a0d53b
rna api - replace panel properties bl_default_closed and bl_show_header with bl_options which has 2 flags: 'DEFAULT_CLOSED' and 'HIDE_HEADER'.
...
this matches operators which also uses bl_options like this
2010-08-26 01:05:37 +00:00
Campbell Barton
cb640d53d9
bugfix [ #23497 ] Keymap editor search box not working
2010-08-25 14:29:14 +00:00
Matt Ebb
5bd7f0112c
Fix/addition for recent RNA collections active index changes -
...
added scene render layers.active property and updated UI file
2010-08-25 07:03:35 +00:00
Campbell Barton
c6a3fb8545
bugfix [ #23469 ] Missing Parent Menu in Pose mode
2010-08-25 02:56:37 +00:00
Campbell Barton
c09ed77697
bugfix/aviodance for [ #23488 ] bpy.types.Texture.type don´t update the 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-25 01:20:50 +00:00
Campbell Barton
ad405f0cb7
remove rna function template_triColorSet(), was only used in one place and can be done just as well with 3 function calls.
2010-08-25 00:34:40 +00:00
Campbell Barton
e7a1acb1f6
patch [ #23471 ] x3d export broken: empty files
...
from Christopher Creutzig (ccreutzig)
2010-08-25 00:21:34 +00:00
Joshua Leung
22e1ca4134
Fixing KeyingSets breakage from recent RNA renaming madness.
...
* '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-24 06:52:16 +00:00
Campbell Barton
379fea2d0d
move more active variables to be nested in collections.
2010-08-24 04:02:50 +00:00
Campbell Barton
5c604e5524
remove recently added rna function uilayout.prop_search_self() and instead 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 03:02:27 +00:00
Campbell Barton
48e34b9956
- pythons 'del somevalue.attr' could crash when used with the rna api (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 02:12:09 +00:00
Campbell Barton
f6c323aa42
- move more active properties into their collections:
...
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-23 22:16:45 +00:00
Tamito Kajiyama
ec9b6354da
Fix for the RNA renaming in revision 31496. The problem was that
...
the Freestyle toggle button had disappeared from the Post Processing
tab in the Render buttons.
2010-08-23 13:50:09 +00:00
Campbell Barton
b844792bd5
rename UI function
...
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-23 05:47:45 +00:00
Campbell Barton
11228cb403
rna: move metaball.active_element to metaball.elements.active
...
added rna funcs...
elem = metaball.elements.new()
metaball.elements.remove(elem)
2010-08-23 00:57:19 +00:00
Campbell Barton
a60f79daf7
- rna py-api bug fix, a NULL item in a collection was raising an error
...
eg: mesh.materials[0]
... when this was an empty slot.
- game world mist panel wasnt updated for rna renaming.
2010-08-22 17:23:08 +00:00
Campbell Barton
0267f6a0a3
patch [ #23449 ] RNA renaming bugs
...
from Jacob F (raccoon)
2010-08-22 16:33:26 +00:00
Campbell Barton
96429a4792
fix for error rna naming
2010-08-22 12:59:13 +00:00
Brecht Van Lommel
de35361b11
Fix python errors in particles render panel and rigid body joint constraint.
2010-08-22 09:18:26 +00:00
Campbell Barton
4ca9a7e9c1
- bugfix [ #23407 ] vertex painting on a mesh with no face segfaults
...
- removed animsys update values that dont need animating.
2010-08-22 06:31:26 +00:00
Campbell Barton
c2036fda5d
fix for changes in recent renaming
2010-08-22 05:45:04 +00:00
Martin Poirier
7f1a08d432
netrender:
...
terminate can fail if process finished after the call to poll, just pass on error then.
2010-08-21 17:07:19 +00:00
Tamito Kajiyama
bdd23c1a58
Merged changes in the trunk up to revision 31499.
2010-08-21 17:05:07 +00:00
Tamito Kajiyama
32302db13c
More RNA renaming.
2010-08-21 16:26:28 +00:00
Campbell Barton
e242f66ae6
bugfix for recent renaming [ #23400 ] Unable to import *.3ds/*.obj files with textures
2010-08-21 08:38:29 +00:00
Campbell Barton
87eaf57593
fix for errors in constraints and modifiers made when rna renaming.
2010-08-21 07:15:11 +00:00
Campbell Barton
5c3d2b13b8
rna name which wasnt set to change but should have been: eff_group -> effector_group
2010-08-21 06:40:46 +00:00
Campbell Barton
93ffe7d7f1
rna renaming (manual edits)
2010-08-21 04:51:00 +00:00
Campbell Barton
c8c2393310
rna naming error in recent commits
2010-08-20 22:00:23 +00:00
Brecht Van Lommel
0db0b14a52
Fix #23384 : python errors in input tab in user preferences.
2010-08-20 10:02:21 +00:00
Campbell Barton
6da7684ca6
fixed [ #23400 ] Unable to import *.3ds/*.obj files with textures
...
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-20 08:11:26 +00:00
Campbell Barton
4f5f868a52
rna data path names which are more likely to break animations.
...
Added an operator "Update Animation Data",
access from the search menu to update drivers and fcurves.
2010-08-20 06:09:58 +00:00
Campbell Barton
097a6ca926
rna remaining that negates values
2010-08-20 02:08:43 +00:00
Campbell Barton
bea1c4fb13
misc rna renaming.
2010-08-19 17:46:00 +00:00
Campbell Barton
fedde2f8e3
rna rename Spline/Curve/Text3D
2010-08-19 17:31:10 +00:00
Campbell Barton
7c98860a0d
rna renaming FModifier & GameObjectSettings
2010-08-19 17:10:43 +00:00
Campbell Barton
eee445590a
rna naming mainly forBoids
2010-08-19 15:49:30 +00:00
Campbell Barton
8e388a8f49
fixes for recent renaming
2010-08-19 14:43:52 +00:00