Skip to content

Commit 857154c

Browse files
author
Jonathan Litt
committed
Fix the blueprint variable unit test.
1 parent 76ae4b1 commit 857154c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_blueprint.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def test_spawn(self):
2929
def test_variable(self):
3030
new_blueprint = ue.create_blueprint(Character, '/Game/Tests/Blueprints/Test2_' + self.random_string)
3131
ue.blueprint_add_member_variable(new_blueprint, 'TestValue', 'int')
32+
ue.blueprint_set_variable_visibility(new_blueprint, 'TestValue', 1)
3233
ue.compile_blueprint(new_blueprint)
3334
new_actor = self.world.actor_spawn(new_blueprint.GeneratedClass)
3435
new_actor.TestValue = 17

0 commit comments

Comments
 (0)