Skip to content

Commit

Permalink
0.7.0.2 (#266)
Browse files Browse the repository at this point in the history
* Updated plugin.cfg to version 0.7.0.2

* Minor Limit tweak
- [Fixed] An issue with limit draw not working when opening a scene
- [Removed] Unneeded error log when unsetting a Limit Node

* Enabled Draw Limits by default in 2d_limit_example_scene.tscn
  • Loading branch information
ramokz committed Apr 28, 2024
1 parent 414e433 commit bc8db28
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@ limit_top = -528
limit_right = 433
limit_bottom = 288
position_smoothing_speed = 10.0
editor_draw_limits = true

[node name="PhantomCameraHost" type="Node" parent="Camera2D"]
script = ExtResource("9_w5e16")
Expand Down
2 changes: 1 addition & 1 deletion addons/phantom_camera/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="Phantom Camera"
description="Control the movement and dynamically tween 2D & 3D cameras positions. Built for Godot 4. Inspired by Cinemachine."
author="Marcus Skov"
version="0.7.0.1"
version="0.7.0.2"
script="plugin.gd"
Original file line number Diff line number Diff line change
Expand Up @@ -1105,10 +1105,8 @@ func set_limit_target(value: NodePath) -> void:
limit_target = null
return
else:
printerr("Not a valid instance of TileMap or CollisionShape2D")
reset_limit()
limit_target = null
return

_limit_node = get_node_or_null(value)

Expand Down

0 comments on commit bc8db28

Please sign in to comment.