Skip to content

Commit

Permalink
fixed struct test
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto De Ioris committed Feb 26, 2018
1 parent ded42b2 commit 8f87794
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_structs.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ def test_cmp(self):

def test_ptr(self):
source_model = StaticMeshSourceModel()
source_model().BuildSettings().bRecomputeNormals=False
source_model().BuildSettings().bRecomputeTangents=True
source_model().BuildSettings().bUseMikkTSpace=True
source_model().BuildSettings().bBuildAdjacencyBuffer=True
source_model().BuildSettings().bRemoveDegenerates=True
source_model.ref().BuildSettings.ref().bRecomputeNormals=False
source_model.ref().BuildSettings.ref().bRecomputeTangents=True
source_model.ref().BuildSettings.ref().bUseMikkTSpace=True
source_model.ref().BuildSettings.ref().bBuildAdjacencyBuffer=True
source_model.ref().BuildSettings.ref().bRemoveDegenerates=True

source_model2 = source_model.clone()
self.assertEqual(source_model2.BuildSettings.bRecomputeNormals, False)
Expand Down

0 comments on commit 8f87794

Please sign in to comment.