[x3d-public] CommandLine properties
John Carlson
yottzumm at gmail.com
Tue Jan 2 09:31:23 PST 2018
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/395a46d0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CreateX3dSceneAccessInterfaceJava.patch
Type: application/octet-stream
Size: 1113 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180102/395a46d0/attachment-0001.obj>
More information about the x3d-public
mailing list