At 10:50 AM -0700 4/8/06, Lo Saeteurn wrote:

When I use the MultiplyAllBy method of the VertexList, it still seems like it does nothing. The released notes say it was fixed in beta 5, but I'm using the latest build. Can someone confirm?

Confirmed, it's still broken in the official 2006R2 release (so I've moved this thread over to the NUG). This is a bummer, but such things sometimes happen -- it was fixed during the release reported, but apparently they didn't feel that the fix could be rolled into the official build safely.

Hopefully it'll make it into R3 though. If anyone else cares about it, you should add yourself to the watch list:

<http://www.realsoftware.com/feedback/viewreport.php?reportid=orrrkfww>

Meanwhile, I'd suggest making a function something like this:

Sub WorkaroundMultiplyAllBy(extends vl As VectorList, factor As Double, count As Integer)
  #pragma BackgroundTasks False
  for i As Integer = 0 to count-1
    vl.SetXYZ i, vl.X(i)*factor, vl.Y(i)*factor, vl.Z(i)*factor
  next
End Sub

That way, when the fix finally makes it in, you can just take the "Workaround" and the count off these calls, and be using the faster built-in method.

HTH,
- Joe

--

Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to