<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Maarten,<div><br></div><div>Thank you very much for your reply!</div><div><br></div><div>By mistake, I have connected the Modified event to a Render() call. Although the submitted patch solved the issue, the real problem was in my code…</div><div><br></div><div>Thanks,</div><div>Arnaud</div><div><br></div><div><div><div>On Apr 28, 2014, at 5:31 PM, Maarten Beek <<a href="mailto:beekmaarten@yahoo.com">beekmaarten@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; "><div><span>I didn't think a call to Modified() would cause a call to Update(). I thought updates only happen when the pipeline executes (e.g. after Render() call). So unless you somehow connected a Modified() call to a Render() call, you have no reason to worry.</span></div><div style="font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal; "><span>Or are you multi-threading...?<br></span></div><div style="font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal; "><br><span></span></div><div style="font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal; "><span>Maarten<br></span></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Monday, April 28, 2014 11:08:09 AM, Arnaud Gelas <<a href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>> wrote:<br> </font> </div> <div class="y_msg_container">How about that?<br clear="none"><br clear="none"> <a shape="rect" href="http://review.source.kitware.com/15294" target="_blank">http://review.source.kitware.com/15294</a><br clear="none"><div class="yqt5799107429" id="yqtfd13459"><br clear="none">On Apr 28, 2014, at 4:34 PM, Arnaud Gelas <<a shape="rect" ymailto="mailto:arnaudgelas@gmail.com" href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>> wrote:<br clear="none"><br clear="none">> Hi all,<br clear="none">> <br clear="none">> I have a large scene, and it happens that if I set the matrix directory to one vtkTransform, I can see 2 updates of the rendered scene…<br clear="none">> <br clear="none">> It happens cause in vtkTransform::SetMatrix(), the matrix is first set to the identity with one call to Modified, then it sets the matrix and there is another call to Modified.<br clear="none">> <br clear="none">> What would be the preferred way to proceed to make it with a single call to Modified?<br clear="none">> <br clear="none">> Thanks,<br clear="none">> Arnaud<br clear="none"><br clear="none">_______________________________________________<br clear="none">Powered by <a href="http://www.kitware.com">www.kitware.com</a><br clear="none"><br clear="none">Visit other Kitware open-source projects at
<a shape="rect" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br clear="none"><br clear="none">Please keep messages on-topic and check the VTK FAQ at: <a shape="rect" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none"><br clear="none">Follow this link to subscribe/unsubscribe:<br clear="none"><a shape="rect" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a></div><br><br></div> </div> </div> </div> </div></blockquote></div><br></div></body></html>