Skip to content

Commit

Permalink
Fix the blueprint variable unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonlm committed Dec 15, 2019
1 parent 76ae4b1 commit 26462bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def test_spawn(self):
def test_variable(self):
new_blueprint = ue.create_blueprint(Character, '/Game/Tests/Blueprints/Test2_' + self.random_string)
ue.blueprint_add_member_variable(new_blueprint, 'TestValue', 'int')
ue.blueprint_set_variable_visibility(new_blueprint, 'TestValue', 1)
ue.compile_blueprint(new_blueprint)
new_actor = self.world.actor_spawn(new_blueprint.GeneratedClass)
new_actor.TestValue = 17
Expand Down

0 comments on commit 26462bf

Please sign in to comment.