Version number updated
This commit is contained in:
parent
2255903ab2
commit
eff4641547
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue