[Source] NPE fix proposal

Alan Hudson alan at shapeways.com
Thu Jun 7 13:54:39 PDT 2012


On 6/7/2012 1:39 PM, Norbraten, Terry (CIV) wrote:
> Nope, not using apps/replica, though we should.
>
> He's using the browser app with the following switch: -captureViewpoints
>
> <java classname="xj3d.browser.Xj3DBrowser" fork="${fork}" dir=".">
>    <classpath>
>      <pathelement path="${classpath}"/>
>      <fileset refid="xj3d.jars.all"/>
>    </classpath>
>    <!-- -Djava.library.path needs to point to jogl.dll driver -->
>    <jvmarg
> value="-Djava.library.path=${xj3d.dir}/../${native.library.path}"/>
>    <arg value="-captureViewpoints"/>
>    <arg value="${relative.path1}/${relative.path2}/${name.short}.x3d"/>
>                          </java>
>
>

ah, ok.  replica actually attempts to wait for resources to load whereas 
the browser captureViewpoints doesn't.  So not too surprised it doesn't 
work.  I'm ok with the workaround you proposed for the Inline node.


-- 
Alan Hudson, Director 3D Tools
www.shapeways.com




More information about the Source mailing list