Add warnings about non-compliant imports

This makes code harder to maintain & should be resolved
since this add-on is now on by default.
This commit is contained in:
Campbell Barton 2019-10-15 19:42:17 +11:00
parent 06766ff5d5
commit 0c21df4e49
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# FIXME, this goes against Blender's best practice.
from io_scene_gltf2.io.com.gltf2_io import *
@ -73,4 +74,3 @@ class Light:
self.extensions)
result["extras"] = self.extras
return result

View File

@ -14,7 +14,10 @@
import bpy
import sys
# FIXME, this goes against Blender's best practice.
from ctypes import *
from pathlib import Path
from io_scene_gltf2.io.exp.gltf2_io_binary_data import BinaryData
@ -240,4 +243,3 @@ def __compress_primitive(primitive, dll, export_settings):
dll.disposeCompressor(compressor)
pass