Prevent PCam2D Limit from resetting if an invalid path is applied #303
Labels
2D
Issues concerning 2D scenes
enhancement
New feature or request
phantom camera
Related to PhantomCamera nodes
Milestone
Project Type
2D
Feature Description
Based on #299
If one attempts to set a
limit_target
through code with an invalidNodePath
, then thelimit_target
will reset even if it has an existing validlimit target
.Ideally, it should print an error to inform the user that an invalid path was set and consequently not reset the limit size. Resetting the
limit
should only occur if the appliedlimit_target
value is explicitly set tonull
.Use Cases
When applying a limit target but accidentally applies an invalid
NodePath
reference.(Optional) Proposed Solution
No response
The text was updated successfully, but these errors were encountered: