On 31/05/2016 at 10:57, xxxxxxxx wrote:
Hey all,
I have a litle problem with Video Posts, I feel kinda dumb about this topic, because it seems so simple and I still can't get it to work.
If have this code here:
doc = c4d.documents.GetActiveDocument()
rd = doc.GetActiveRenderData()
if rd.GetFirstVideoPost() != c4d.BaseList2D(1001008) : #This is the Color Correction VP
rd.InsertVideoPost(c4d.BaseList2D(1001008))
What I am trying to do, is when the user enters a special View in my plugin I want to load the CC VP into the render settings, but what I don't want is, that the VP gets imported more than once.
I don't really know why, but the VP gets imported every time.
I hope someone can help me with this :)
greetings,
neon