Attribute holder dependency loop problem

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  04 April 2012
Attribute holder dependency loop problem

I have a problem with Attribute holder, I'm trying to store a parameter "node" the object that the modifier Attribute holder, but it gives me a dependency problem, why?
What is the right way?

ca = attributes MainTank
attribID:#(102999653, 254224688)

		parameters Main rollout:RolloutMainTank
			MyObj type:#node
		rollout RolloutMainTank "Tank Control Panel"  

custAttributes.add $.modifiers[1] ca

$.modifiers[1].MainTank.MyObj = $

-- Error occurred in anonymous codeblock; filename:; position: 278; line: 16
-- Runtime error: Assignment failed, possible dependency loop, $Editable_Mesh:Sphere001 @ [-2418.831543,271.231934,0.000000]

  04 April 2012
Yeah, it's the same thing with scripted extended modifiers.
I remember using something like this in one of my projects, try searching more informations about the nodeTransformMonitor, it might help.

Note that it was on a scripted modifier extending the PointCache one.
on attachedToNode obj do
         this._node = nodeTransformMonitor node:obj forwardTransformChangeMsgs:false
  04 April 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 11:25 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.