Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 152999

PF_ADD_POINT with PF_ParamFlag_SUPERVISE flag set doesn't get PF_Cmd_USER_CHANGED_PARAM events in Premiere when dragged

$
0
0

Has anyone else run into this?

 

Problem Description:  An AE plugin with a point parameter defined by PF_ADD_POINT with PF_ParamFlag_SUPERVISE flag set doesn't get PF_Cmd_USER_CHANGED_PARAM events when the point is dragged in the Program window. But it does get PF_Cmd_USER_CHANGED_PARAM events when the point coordinates are changed in the Effect UI.

 

Steps to Reproduce: Make a small change to the CCU example in the After Effects SDK.

1) Modify the CENTER_DISK_ID def.flags in the Params_Setup function by setting

       def.flags = PF_ParamFlag_SUPERVISE;

just before the call to PF_ADD_POINT

2) Insert a code fragment to handle the PF_Cmd_USER_CHANGED_PARAM event in EntryPointFunc

  case PF_Cmd_USER_CHANGED_PARAM:

  err = PF_Err_NONE;

  break;

3) Set a breakpoint at the line err = PF_Err_NONE;

4) Apply the effect to a layer in Premiere Pro (CS6, CC, or CC2014)

5) Select the effect in the effects window so that the point appears in the Program monitor window

6) Drag the point

 

Actual Result:  The break point is not hit because the PF_Cmd_USER_CHANGED_PARAM  event never occurs.

 

Expected Result: The break point should be hit. The PF_Cmd_USER_CHANGED_PARAM event should occur as it does when the point coordinates are changed in the effect UI

 

Any Workarounds: There is no workaround. My effect must be notified that the point has been changed.


Viewing all articles
Browse latest Browse all 152999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>