Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.4x Bug Tracker: Browse

[#1115] existing IpoCurve point can not be changed

Date:
2004-04-04 04:39
Priority:
3
State:
Closed
Submitted by:
Cam (ideasman42)
Assigned to:
Stephen Swaney (stiv)
Group:
V 2.32 release
Resolution:
Fixed
Category:
Python
 
Summary:
existing IpoCurve point can not be changed
Detailed description
There is a serious bug in the IPO/python interface that
makes it impossible to change existing points in an IPO
curve.

Here is the example code- to test it just select an
object with some IPO's
Notice that even though the point is changed it still
returns its old value- whatever that is.
I have tried updating/redrawing/recalcing the IPO
inbetween setting the new value and nothing changes.


import Blender
from Blender import Object, Ipo
sel=Object.GetSelected()
sel[0].getIpo().getCurves()[0].bezierPoints[0].pt[1] = 0
print sel[0].getIpo().getCurves()[0].bezierPoints[0].pt[1]

Ipo.Recalc(sel[0].getIpo())
Blender.Scene.getCurrent().update()
Blender.Window.RedrawAll()

- Cam

Followup

No Followups Have Been Posted

 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
ResolutionInvestigate2004-04-08 00:34stiv
close_dateNone2004-04-08 00:34stiv
status_idOpen2004-04-08 00:34stiv
summarySerious but in python/IPO2004-04-05 03:06stiv
ResolutionNew2004-04-04 06:46stiv
assigned_tonone2004-04-04 06:46stiv