Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeva Alekseyev <sevaa@nih.gov>2016-08-11 17:08:25 +0300
committerGhostkeeper <rubend@tutanota.com>2016-08-24 18:28:30 +0300
commit8190b9875e725ee516f95fabcab3474681e8e8bd (patch)
treebebbc9f3dd2b2ace080232a5b006f66f661ce41e /plugins/X3DReader
parentd9e07f66a6588d00f86de2c512c1e92310ed5309 (diff)
In X3D import, setSelectable(true) for the whole scene
Diffstat (limited to 'plugins/X3DReader')
-rw-r--r--plugins/X3DReader/X3DReader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/X3DReader/X3DReader.py b/plugins/X3DReader/X3DReader.py
index ba798e0e96..72fba5d1fe 100644
--- a/plugins/X3DReader/X3DReader.py
+++ b/plugins/X3DReader/X3DReader.py
@@ -66,6 +66,7 @@ class X3DReader(MeshReader):
theScene.addDecorator(group_decorator)
for node in self.sceneNodes:
theScene.addChild(node)
+ theScene.setSelectable(True)
elif len(self.sceneNodes) == 1:
theScene = self.sceneNodes[0]
else: # No shapes read :(
@@ -700,7 +701,6 @@ def addQuadFlip(bui, a, b, c, d, ccw):
# - Find an outer vertex with the smallest angle and no vertices inside its adjacent triangle
# - Remove the triangle at that vertex
# - Repeat until done
-# Note that n is the count of vertices in the face, but the `face` array is one element bigger, with nth element same as the 0th one
# Vertex coordinates are supposed to be already in the mesh builder object
def addFace(bui, indices, ccw):
# Resolve indices to coordinates for faster math