Skip to main content
iliyachi
Known Participant
June 21, 2019
Answered

PF_ADD_POINT_3D and Z-coordinate

  • June 21, 2019
  • 1 reply
  • 468 views

Hi all,

I've just found the followint code into the PF_ADD_POINT_3D function (file Param_Utils.h from the latest SDK):

def.u.point3d_d.x_value = def.u.point3d_d.x_dephault = X_DFLT; \

def.u.point3d_d.y_value = def.u.point3d_d.y_dephault = Y_DFLT; \

def.u.point3d_d.z_value = def.u.point3d_d.z_dephault = Y_DFLT; \

Is this bug or feature? Are we really not able to set up Z-coordinate for the POINT_3D parameter?

Thanks!

This topic has been closed for replies.
Correct answer

This is a bug that has been in the SDK headers for ages. I think I first reported it 10 years ago or something, but Adobe never cared to fix it. If I remember correctly, there are some mistakes in the other functions too.

But these are just convenience macros - just define them yourself in your code in a fixed version, and you are good to go.

1 reply

Correct answer
June 21, 2019

This is a bug that has been in the SDK headers for ages. I think I first reported it 10 years ago or something, but Adobe never cared to fix it. If I remember correctly, there are some mistakes in the other functions too.

But these are just convenience macros - just define them yourself in your code in a fixed version, and you are good to go.

iliyachi
iliyachiAuthor
Known Participant
June 21, 2019

Thanks, Toby, for the clarification!