Matthew,

On 29. Jun 2010, at 17:48, matthew-11 [via Software] wrote:

> In SVN head, notifyNewHeadVersion is only called in one object when  
> the data is updated.  This code worked fine for both the 0.9 and  
> 0.9.1 releases.  The object in question is the root of our visual  
> tree.  It gets created between the server creating the configuration  
> (the server->chooseConfig call) and the configuration initialization  
> (the config->init call).  The object is created on all nodes and  
> each copy is created within a node, but only one object per node  
> receives any updates.

Are you sure? I just put notifyNewHeadVersion in eqPly::FrameData to  
print the current version, and I'm getting four prints with the  
default four-window config:

86415 2953981952 ./examples/eqPly/frameData.h:118 951 Got 6
86415 2953981952 ./examples/eqPly/frameData.h:118 951 Got 6
86415 2953981952 ./examples/eqPly/frameData.h:118 951 Got 6
86415 2953981952 ./examples/eqPly/frameData.h:118 951 Got 6
86415 2953981952 ./examples/eqPly/frameData.h:118 980 Got 7
86415 2953981952 ./examples/eqPly/frameData.h:118 980 Got 7
86415 2953981952 ./examples/eqPly/frameData.h:118 980 Got 7
86415 2953981952 ./examples/eqPly/frameData.h:118 980 Got 7

Can you send a patch reproducing the bug in eqPly (or eqHello)?


Cheers,

Stefan.

--- a/src/examples/eqPly/frameData.h
+++ b/src/examples/eqPly/frameData.h
@@ -114,6 +114,9 @@ namespace eqPly
          const std::string& getMessage() const { return _message; }
          //*}

+        virtual void notifyNewHeadVersion( const uint32_t version )
+            { EQINFO << "Got " << version << std::endl; }
+
      protected:
          /** @sa Object::serialize() */
          virtual void serialize( eq::net::DataOStream& os,


-- 
View this message in context: 
http://software.1713.n2.nabble.com/notifyNewHeadVersion-is-called-for-only-one-copy-of-a-mapped-in-Object-in-SVN-head-tp5235559p5240561.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to