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
f956e94d13
collection attributes can now be resolved with by rna
...
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-23 05:36:21 +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
Thomas Dinges
8a320974f1
Fix for [ #22741 ] Material preview doesn't update when "undo" is used to revert a setting.
...
* Buttons window listens to NC_WINDOW now.
2010-08-22 17:51:58 +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
Thomas Dinges
e4700ba58b
* Fixing some UI Increment/Decrement issues, where click on left/right 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-22 16:44:48 +00:00
Campbell Barton
cb678f1020
fix for msvc
2010-08-22 15:50:40 +00:00
Campbell Barton
0bab23633a
remove inline loops in a few places
...
replace with defgroup_find_name() and BLI_findstring()
2010-08-22 14:15:28 +00:00
Campbell Barton
2462d4976b
possible fix [ #23331 ] Hidden Bones Contribute to Axis Normal
...
cant redo this bug but noticed a number of places where bone selection/hidden state isn't being set properly.
2010-08-22 10:52:30 +00:00
Brecht Van Lommel
4e4b797165
Fix #23431 : crash in brush icon preview when there is no active object.
2010-08-22 10:17:31 +00:00
Campbell Barton
6e141b7331
own commit to fix a naming bug caused a new bug.
2010-08-22 07:11:40 +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
Campbell Barton
76eeba3608
bugfix [ #23419 ] FILE OPEN: OpenEXR default extension .EXR / .exr is filtered out
2010-08-21 08:22:47 +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
Brecht Van Lommel
dfb8455381
Fix #23332 : crash with screw + bevel modifiers. Since bevel doesn't support
...
mapping yet there's still some weirdness with display of hiding/selection,
but there's another bug report open about that.
2010-08-20 16:02:20 +00:00
Brecht Van Lommel
5b499cca76
Fix #23323 : rigid body constraint drawing in 3d view was showing wrong
...
rotation, not updated for radians/degree changes yet.
2010-08-20 11:12:13 +00:00
Brecht Van Lommel
77fb06f630
Fix #23350 : flip "both" texture preview order from material-texture to
...
texture-material so it corresponds better to the text below.
2010-08-20 10:17:39 +00:00
Brecht Van Lommel
4c094d700e
Fix #23336 : radial control crashing or not showing correct colors in modes
...
other than sculpt. The sculpt changes made the radial control code sculpt
mode specific, it should be usable for various purposes, so made it generic
again now.
2010-08-20 09:41:16 +00:00
Brecht Van Lommel
07cfb4f4f5
Fix #23399 : change Median Crease to Mean Crease, because it's not really
...
a median.
2010-08-20 09:00: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
4afe81c726
bugfix [ #23396 ] proportinal editing hotkey ("o") does not work
...
error in recent commit
2010-08-20 05:23:12 +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
Campbell Barton
486b3cd2f5
more rna renaming for non-animated properties: mainly Texface, Particle & 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-19 12:51:31 +00:00
Campbell Barton
736edd547b
fix for error in recent renaming
2010-08-19 11:04:46 +00:00
Campbell Barton
4e3390437e
- Properties from base classes are now registered too, this allows class 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-19 10:16:30 +00:00
Campbell Barton
98140e234e
- pyrna fix for reference counting when unable to register a property
...
- added modified 'Warp' enum to reserve this ID for durian files until the modifier is merged.
2010-08-19 05:58:22 +00:00
Campbell Barton
5e53012558
utility function for updating animation system values when RNA changes.
...
- any numnber of attributes are supported for renaming, eg: modifiers["Foo.Bar"].prop.bar
- the path is resolved in blender so each attribute is type checked against the naming list.
- inherited properties are supported by recursively checking parent classes names aganst the name list.
- fcurves and drivers are currently supported.
2010-08-18 18:00:52 +00:00
Campbell Barton
399dda68d8
fix errors with recent commits.
2010-08-18 10:42:00 +00:00
Campbell Barton
c04199b3a1
rna naming mainly for Scene/IK/KeyingSet's
2010-08-18 08:58:37 +00:00
Campbell Barton
55ed0f0507
more rna renaming.
2010-08-18 08:26:18 +00:00
Campbell Barton
513a907730
rna rename Bone and Text changes
2010-08-18 07:45:32 +00:00
Campbell Barton
7da5d9faec
rna renaming, still only adjusting properties that wont be animated (at least its very unlikely).
2010-08-18 07:14:10 +00:00
Campbell Barton
54e6ea70c0
rna renaming for Render* structs
2010-08-18 04:10:23 +00:00
Campbell Barton
64347d81c4
rna renaming for 'Brush' struct
2010-08-18 03:56:14 +00:00
Campbell Barton
9784a1169d
rna naming: verts -> vertices
2010-08-18 03:42:26 +00:00
Campbell Barton
f32a35fd9d
apply rna naming for ToolSettings
2010-08-18 03:24:52 +00:00
Campbell Barton
a34721d24b
minor update rna namer and script to automatically apply updates from blender to rna_properties.txt
2010-08-18 03:05:14 +00:00
Dalai Felinto
f80f412701
Fix for [ #23352 ] Update Problem in Texture tab
...
I added a notifier to update the texture panel whenever you change the active texture. This part of the code seems wip, but the notifier should be there if I'm not mistaken.
The other way around has still bugs (e.g. when you add a new texture Outliner doesn't update automatically). To be tackled later
2010-08-17 21:35:18 +00:00
Campbell Barton
3bd039eff9
apply rna rename most of the show_*, names.
2010-08-17 17:03:52 +00:00
Campbell Barton
c61127d502
apply logic brick rna renaming
2010-08-17 16:27:10 +00:00
Campbell Barton
fab0f053e7
syntax highlighting for decorators, correct doc example
2010-08-17 14:56:10 +00:00