From 26462bf51e27005932fb2e420bf5339da99243cd Mon Sep 17 00:00:00 2001 From: jonlm <19480642+jonlm@users.noreply.github.com> Date: Tue, 30 Apr 2019 17:44:39 -0700 Subject: [PATCH] Fix the blueprint variable unit test. --- tests/test_blueprint.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_blueprint.py b/tests/test_blueprint.py index 5f755848f..5a8e8f020 100644 --- a/tests/test_blueprint.py +++ b/tests/test_blueprint.py @@ -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