Merge branch 'master' into blender2.8

This commit is contained in:
Sybren A. Stüvel
2017-04-25 17:04:17 +02:00
63 changed files with 3337 additions and 1570 deletions

View File

@@ -122,6 +122,15 @@ class SimpleImportTest(unittest.TestCase):
self.assertAlmostEqual(y, 0)
self.assertAlmostEqual(z, 0)
def test_import_long_names(self):
# This file contains very long names. The longest name is 4047 chars.
bpy.ops.wm.alembic_import(
filepath=str(self.testdir / "long-names.abc"),
as_background_job=False)
self.assertIn('Cube', bpy.data.objects)
self.assertEqual('CubeShape', bpy.data.objects['Cube'].data.name)
def main():
global args