05-03-2020, 11:12 AM
Hi everybody!
I have a strange problem...
I try to describe it.
I have two projects with the same code and same refereces. In the first project the code:
Dim readmodel3d As GeometryModel3D = AssimpWpfImporter.ReadModel3D(mfile)
returns a geometrymodel and works perfectly.
In the other project (same code) the code:
Dim readmodel3d As GeometryModel3D = AssimpWpfImporter.ReadModel3D(mfile)
returns the error: : 'Impossibile eseguire il cast di oggetti di tipo 'System.Windows.Media.Media3D.Model3DGroup' sul tipo 'System.Windows.Media.Media3D.GeometryModel3D'.'
why???
I have a strange problem...
I try to describe it.
I have two projects with the same code and same refereces. In the first project the code:
Dim readmodel3d As GeometryModel3D = AssimpWpfImporter.ReadModel3D(mfile)
returns a geometrymodel and works perfectly.
In the other project (same code) the code:
Dim readmodel3d As GeometryModel3D = AssimpWpfImporter.ReadModel3D(mfile)
returns the error: : 'Impossibile eseguire il cast di oggetti di tipo 'System.Windows.Media.Media3D.Model3DGroup' sul tipo 'System.Windows.Media.Media3D.GeometryModel3D'.'
why???