Re: [Opensg-users] Method deepClone possibly not correct

2021-03-10 Thread Carsten Neumann
Hello Johannes, On Wed, Mar 10, 2021 at 2:43 PM Johannes Brunen wrote: > IMHO we are in the realm of modulo bug :-) > Below, I have copied the two relevant functions with their comments. > > My scenario: > > MaterialGroup* mgrp = ...; > vector shareTypes; >

Re: [Opensg-users] Method deepClone possibly not correct

2021-03-10 Thread Johannes Brunen
} From: Carsten Neumann Sent: Wednesday, March 10, 2021 7:52 PM To: OpenSG (opensg-users@lists.sourceforge.net) Subject: Re: [Opensg-users] Method deepClone possibly not correct Hello Johannes, On Wed, Mar 10, 2021 at 1:08 PM Johannes Brunen mailto

Re: [Opensg-users] Method deepClone possibly not correct

2021-03-10 Thread Carsten Neumann
Hello Johannes, On Wed, Mar 10, 2021 at 1:08 PM Johannes Brunen wrote: > Say I have a container with a material field (MaterialGroup) in it and I want that my special material (MyMaterial) must not to be deep cloned but shared. So I provide myMaterial to the shareTypes parameter of the

[Opensg-users] Method deepClone possibly not correct

2021-03-10 Thread Johannes Brunen
Hello again, I think that the method deepClone implemented in OSGFieldContainer.cpp does not what I'm expecting it to do. Say I have a container with a material field (MaterialGroup) in it and I want that my special material (MyMaterial) must not to be deep cloned but shared. So I provide