Skip to content

Commit

Permalink
Proof of concept for asset-mask tool issue #189.
Browse files Browse the repository at this point in the history
  • Loading branch information
retour committed Feb 20, 2020
1 parent d8aa333 commit b1fb03b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Perspectives/PC/PlayerController.gd
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ func _handle_viewport_input(event):

get_tree().set_input_as_handled()
return true
elif event.is_action_pressed("toggle_asset_only_view"):
if camera.cull_mask == 16:
camera.cull_mask = 23+32+64
else:
camera.cull_mask = 16


func fly(delta):
Expand Down

0 comments on commit b1fb03b

Please sign in to comment.