Version number updated

This commit is contained in:
nefrace 2022-06-06 13:05:22 +03:00
parent 2255903ab2
commit eff4641547
2 changed files with 7 additions and 1 deletions

View File

@ -3,5 +3,5 @@
name="CameraPreview"
description="Allows user to create a small window inside the main editor view to preview selected Camera in 3d scene"
author="Nefrace"
version="0.4"
version="0.5"
script="plugin.gd"

View File

@ -36,6 +36,12 @@ func _exit_tree():
if button_instance:
button_instance.queue_free()
func _process(_delta):
if cam_selected and pcam:
pcam.fov = cam_selected.fov
pcam.projection = cam_selected.projection
pcam.size = cam_selected.size
func find_a_camera(root) -> Camera:
if root is Camera:
return root