diff --git a/__init__.py b/__init__.py index 3dee648..8a6f874 100644 --- a/__init__.py +++ b/__init__.py @@ -25,7 +25,7 @@ "name": "Import LDraw", "description": "Import LDraw models in .mpd .ldr .l3b and .dat formats", "author": "Toby Nelson ", - "version": (1, 1, 1), + "version": (1, 1, 2), "blender": (2, 76, 0), "location": "File > Import", "warning": "", diff --git a/__version__.py b/__version__.py index 5d655b7..fd72e07 100644 --- a/__version__.py +++ b/__version__.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -version = (1, 1, 1) +version = (1, 1, 2) diff --git a/loadldraw/loadldraw.py b/loadldraw/loadldraw.py index e27262d..3a2bb8b 100644 --- a/loadldraw/loadldraw.py +++ b/loadldraw/loadldraw.py @@ -1076,15 +1076,15 @@ class LDrawCamera: """Data about a camera""" def __init__(self): - self.vert_fov_degrees = 0.0 - self.near = 1.0 - self.far = 2.0 - self.position = mathutils.Vector((0.0, 0.0, 0.0)) - self.target_position = mathutils.Vector((1.0, 1.0, 1.0)) - self.up_vector = mathutils.Vector((0.0, 1.0, 0.0)) - self.name = "Camera" - self.orthographic = False - self.hidden = False + self.vert_fov_degrees = 30.0 + self.near = 25.0 + self.far = 50000.0 + self.position = mathutils.Vector((0.0, 0.0, 0.0)) + self.target_position = mathutils.Vector((1.0, 0.0, 0.0)) + self.up_vector = mathutils.Vector((0.0, 1.0, 0.0)) + self.name = "Camera" + self.orthographic = False + self.hidden = False def createCameraNode(self): camData = bpy.data.cameras.new(self.name) @@ -2300,7 +2300,7 @@ def __createBlenderLegoRubberTranslucentNodeGroup(): # ************************************************************************************** def __createBlenderLegoEmissionNodeGroup(): - groupName = BlenderMaterials.__getGroupName('Lego Rubber Translucent') + groupName = BlenderMaterials.__getGroupName('Lego Emission') if bpy.data.node_groups.get(groupName) is None: debugPrint("createBlenderLegoEmissionNodeGroup #create")