Commit Graph

61 Commits

Author SHA1 Message Date
0a5d44588c switch verious references from py3.2 -> 3.3 or just 3. 2012-11-26 13:58:06 +00:00
d599b643b7 style cleanup: bge, switch statements mostly.
also left bmesh decimator on in previous commit.
2012-10-21 07:58:38 +00:00
dba5ef3ba8 code cleanup: python - pass multiple args to string startswith() / endswith() functions rather than calling multiple times. 2012-09-04 20:26:42 +00:00
c6051ea87b replace python3 command with python3.2, python3 isnt available on ubuntu. 2012-05-01 20:45:16 +00:00
617d3cb852 pass -noaudio when running blender for various utilities - doc-gen and tests. 2011-10-19 21:55:27 +00:00
0c0259d931 fix [#28909] OpenCollada export / import sintel lite v2.1 crashes on import. 2011-10-14 02:31:04 +00:00
b8bde683fb remove contents from the svn cleanup file. not used now and could turn up results with source searches. 2010-12-08 11:44:38 +00:00
0b23f03503 Bugfix #24335
ZCombine node in compositor ignored alpha values. Enabling it
would break compatibility though, so it's a tickbox option now.

Patch provided by reporter, Martin Lubich. Thanks!
2010-11-12 14:59:01 +00:00
a8269c8946 SVN maintenance. 2010-09-03 03:30:20 +00:00
e056a03fe4 - rename mesh UV and VertexColor add functions
mesh.add_vertex_color() -> vcol = mesh.vertex_colors.new(name)
  mesh.add_uv_texture() -> uvtex = mesh.uv_textures.new(name)

- pose.active_bone_group -> pose.bone_groups.active, same for UV&vcol layers, keying sets, key configs
2010-08-23 11:04:43 +00:00
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
93ffe7d7f1 rna renaming (manual edits) 2010-08-21 04:51:00 +00:00
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
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
097a6ca926 rna remaining that negates values 2010-08-20 02:08:43 +00:00
fedde2f8e3 rna rename Spline/Curve/Text3D 2010-08-19 17:31:10 +00:00
7c98860a0d rna renaming FModifier & GameObjectSettings 2010-08-19 17:10:43 +00:00
eee445590a rna naming mainly forBoids 2010-08-19 15:49:30 +00:00
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
c04199b3a1 rna naming mainly for Scene/IK/KeyingSet's 2010-08-18 08:58:37 +00:00
55ed0f0507 more rna renaming. 2010-08-18 08:26:18 +00:00
513a907730 rna rename Bone and Text changes 2010-08-18 07:45:32 +00:00
7da5d9faec rna renaming, still only adjusting properties that wont be animated (at least its very unlikely). 2010-08-18 07:14:10 +00:00
9784a1169d rna naming: verts -> vertices 2010-08-18 03:42:26 +00:00
f32a35fd9d apply rna naming for ToolSettings 2010-08-18 03:24:52 +00:00
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
08d55cbe98 merged in applied edits from theme/space/prefs 2010-08-17 13:34:30 +00:00
8db2707fa2 rna naming changes based on suggestions by Brecht. 2010-08-17 13:11:25 +00:00
b9d99b9c5b apply all rna naming changes for rna_space.c 2010-08-17 07:49:53 +00:00
40bf37e3b6 use 'vertices' rather then 'verts'. 2010-08-17 03:17:51 +00:00
5f7045f7af - rna_info.py now outputs array length with types eg. float[16].
- corrected rna property name Controller.states -> state (pointed out by Dalai).
- rna_cleaner_merge script now only merges comment and new name.
2010-08-17 02:42:30 +00:00
5ab7047f65 merged rna names with newly created dump from rna_info.py 2010-08-16 17:57:39 +00:00
0861f59ecf - finished RNA renaming for review
- fix warning
2010-08-16 17:17:33 +00:00
e2a6a0b377 change for sorting rna cleaner (was broken), diff's on rna_properties.txt will stop being so big now. 2010-08-15 16:50:58 +00:00
310cc16fd6 more rna naming edits 2010-08-15 12:32:37 +00:00
41531e4fb6 include rna parent class names in renaming list 2010-08-10 06:27:29 +00:00
825f0593e0 SVN maintenance. 2010-08-09 20:14:33 +00:00
a8ce419257 rna refactoring update, order by class, attribute. 2010-08-09 10:22:09 +00:00
66cbb0d973 restrict prefix checking to booleans for now 2010-08-09 07:05:37 +00:00
8d517cff33 rna refactor...
- added a script to merge 2 lists of rna renaming from/to
- merged rna_booleans.txt into rna_properties.txt
- made rna_cleaner.py sort by class.from by default.
2010-08-09 06:55:20 +00:00
fd31436897 spelling correction: alredy --> already 2010-07-17 18:08:14 +00:00
7df9df1373 == rna cleanup ==
- after talking with brecht, changes keys prefixes with "is_pressed_alt" and so on if readonly and "pressed_alt" if not readonly
- updated the rna_cleaner.py with real prefixes and keywords so it's clear what it is being used

    kw_prefixes = [ 'active','apply','bl','exclude','has','invert','is','lock', \
                    'pressed','show','show_only','use','use_only','layers','states']
    kw = ['active','hide','invert','select','layers','mute','states','use','lock']
2010-07-15 18:34:25 +00:00
68c59beefd RNA cleanup: some more boolean changes based on discussion with Luca. 2010-07-15 17:54:53 +00:00
02da5ecfed Apply first pass of edits to rna values from rna_booleans.txt.
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
2010-07-15 16:56:04 +00:00
220fd2e80a rna name edits as discussed with brecht. restrict -> hide. 2010-07-15 15:37:57 +00:00
78487eb0a2 RNA cleanup: review of booleans done. 2010-07-13 17:11:50 +00:00
291c99c5d9 - saturation option for sequencer strips, runs before multiply and color balance.
- multiply of 0.0 wasnt being applied.
2010-07-13 09:28:01 +00:00
ded8ba1d90 - more misc rna rename updates
- edited the rna_cleaner.py script to use repr() on descriptions so quotes dont result in invalid generated python scripts.
2010-07-12 23:43:14 +00:00
395d964a70 - minimum -> min, maximum -> max
- have min/max as suffix
- replace unneeded use of common suffix 'ing' and 'ness' where possible
- replace term 'brightness' for 'intensity'
2010-07-12 22:49:42 +00:00
5436008e40 rna api cleanup...
- remove 'ing' suffix
- use 'blend_type' rather then 'blend_mode' or 'blending'
2010-07-12 22:24:53 +00:00