summaryrefslogtreecommitdiff
path: root/silx/gui/plot3d/scene/primitives.py
diff options
context:
space:
mode:
Diffstat (limited to 'silx/gui/plot3d/scene/primitives.py')
-rw-r--r--silx/gui/plot3d/scene/primitives.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/silx/gui/plot3d/scene/primitives.py b/silx/gui/plot3d/scene/primitives.py
index 474581a..ca06e30 100644
--- a/silx/gui/plot3d/scene/primitives.py
+++ b/silx/gui/plot3d/scene/primitives.py
@@ -1,7 +1,7 @@
# coding: utf-8
# /*##########################################################################
#
-# Copyright (c) 2015-2018 European Synchrotron Radiation Facility
+# Copyright (c) 2015-2019 European Synchrotron Radiation Facility
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -1878,11 +1878,13 @@ class ColormapMesh3D(Geometry):
colormap=None,
normal=None,
mode='triangles',
- indices=None):
+ indices=None,
+ copy=True):
super(ColormapMesh3D, self).__init__(mode, indices,
position=position,
normal=normal,
- value=value)
+ value=value,
+ copy=copy)
self._lineWidth = 1.0
self._lineSmooth = True