Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-08-30 18:21:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-30 18:21:31 +0400
commit6cc0943c59112e4679dd2e01a8ee75669a05385e (patch)
tree830c9b25342265779ec0dfb6ebb6cc268c92f0b2 /io_export_unreal_psk_psa.py
parentcbb127b148c9eaa5fe18580338555c2987b00ecd (diff)
updates for rna changes
Diffstat (limited to 'io_export_unreal_psk_psa.py')
-rw-r--r--io_export_unreal_psk_psa.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py
index 91bf74a9..7be383f6 100644
--- a/io_export_unreal_psk_psa.py
+++ b/io_export_unreal_psk_psa.py
@@ -1140,10 +1140,10 @@ def parse_animation(blender_scene, blender_armatures, psa_file):
print("==== Action Set ====")
print("Action Name:",action_name)
#look for min and max frame that current set keys
- framemin, framemax = act.get_frame_range()
+ framemin, framemax = act.frame_range
#print("max frame:",framemax)
- start_frame = framemin
- end_frame = framemax
+ start_frame = int(framemin)
+ end_frame = int(framemax)
scene_frames = range(start_frame, end_frame+1)
frame_count = len(scene_frames)
#===================================================
@@ -1529,7 +1529,7 @@ class VIEW3D_PT_unrealtools_objectmode(bpy.types.Panel):
#row.label(text="Action Set(s)(not build)")
#for action in bpy.data.actions:
#print(dir( action))
- #print(action.get_frame_range())
+ #print(action.frame_range)
#row = layout.row()
#row.prop(action, "name")