This is an update of the french translation, patch from
authorTom Musgrove <LetterRip@gmail.com>
Sat, 23 Feb 2008 20:08:18 +0000 (20:08 +0000)
committerTom Musgrove <LetterRip@gmail.com>
Sat, 23 Feb 2008 20:08:18 +0000 (20:08 +0000)
Erwan Jacq (eon) - .mo to follow

This is also a partial fix of bug 8272 X3D export issues
the rest of the bug might be already fixed in CVS

release/scripts/x3d_export.py

index bf9610fee04d5b43f0fac9b89963484d9fb6e820..eb9d5d35d6c0b792d63b1a5b1616cfff4a1042bf 100644 (file)
@@ -165,7 +165,6 @@ class VRML2Export:
         #bfile = sys.expandpath( Blender.Get('filename') ).replace('<', '&lt').replace('>', '&gt')
         bfile = self.filename.replace('<', '&lt').replace('>', '&gt') # use outfile name
         self.file.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n")
-        print "fooe"
         self.file.write("<!DOCTYPE X3D PUBLIC \"ISO//Web3D//DTD X3D 3.0//EN\" \"http://www.web3d.org/specifications/x3d-3.0.dtd\">\n")
         self.file.write("<X3D version=\"3.0\" profile=\"Immersive\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema-instance\" xsd:noNamespaceSchemaLocation=\"http://www.web3d.org/specifications/x3d-3.0.xsd\">\n")
         self.file.write("<head>\n")
@@ -248,14 +247,14 @@ class VRML2Export:
     def writeNavigationInfo(self, scene):
         allObj = []
         allObj = list(scene.objects)
-        headlight = "TRUE"
+        headlight = "true"
         vislimit = 0.0
         for thisObj in allObj:
             objType=thisObj.type
             if objType == "Camera":
                 vislimit = thisObj.data.clipEnd
             elif objType == "Lamp":
-                headlight = "FALSE"
+                headlight = "false"
         self.file.write("<NavigationInfo headlight=\"%s\" " % headlight)
         self.file.write("visibilityLimit=\"%s\" " % (round(vislimit,self.cp)))
         self.file.write("type=\"EXAMINE\", \"ANY\" avatarSize=\"0.25, 1.75, 0.75\" />\n\n")