[x3d-public] CommandLine properties
John Carlson
yottzumm at gmail.com
Tue Jan 2 12:44:33 PST 2018
Updated patch for \”, setting stylesheet engine for JSON, and more Nashorn patches.
Sent from Mail for Windows 10
From: John Carlson
Sent: Tuesday, January 2, 2018 12:31 PM
To: Don Brutzman
Cc: x3d-public at web3d.org
Subject: RE: CommandLine properties
Don wrote:
You should not have to worry about containerField. If you are, you probably are using the wrong method. If you find a case that still needs it, then I need to worry about making that case go away.
I think the examples and outputs are OK... please vector me in further as needed (there are a lot of materials and multiple prototype examples for testing).
Bzzt!
Some already sent. Here’s a patch for Appearance.setMaterial. You may wish to modify this. I found it brought the two XML files
previously mentioned closer together. More progress.
Patch and attached:
Index: CreateX3dSceneAccessInterfaceJava.xslt
===================================================================
--- CreateX3dSceneAccessInterfaceJava.xslt (revision 26217)
+++ CreateX3dSceneAccessInterfaceJava.xslt (working copy)
@@ -8597,9 +8597,10 @@
<xsl:text> newProtoInstanceNode.setContainerFieldOverride("proxy");</xsl:text>
<xsl:text>
</xsl:text>
</xsl:when>
- <xsl:when test="($name = 'ComposedCubeMapTexture') and
+ <xsl:when test="(($name = 'ComposedCubeMapTexture') and
((@name = 'back') or (@name = 'bottom') or (@name = 'front') or
- (@name = 'left') or (@name = 'right') or (@name = 'top'))">
+ (@name = 'left') or (@name = 'right') or (@name = 'top'))) or (($name = 'Appearance') and (@name = 'material'))">
+
<!-- ImageTexture check -->
<xsl:text> newProtoInstanceNode.setContainerFieldOverride("</xsl:text><xsl:value-of select="@name"/><xsl:text>");</xsl:text>
<xsl:text>
</xsl:text>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180102/bd269d68/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CreateX3dSceneAccessInterfaceJava.patch
Type: application/octet-stream
Size: 6363 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180102/bd269d68/attachment-0001.obj>
More information about the x3d-public
mailing list