Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derived of ViewportTexture class becomes ViewportTexture in Sprite2D after NodePath selected #103680

Closed
ndbn opened this issue Mar 6, 2025 · 0 comments · Fixed by #103692
Closed

Comments

@ndbn
Copy link

ndbn commented Mar 6, 2025

Tested versions

4.4

System information

Linux, x86_64

Issue description

If you create class like:

extends ViewportTexture
class_name ViewportTexture2

Then try to select ViewportTexture2 in Sprite2D texture, after selecting NodePath in opened window, texture class in Sprite2D becomes ViewportTexture

Only way is to click Cancel in window with selecting NodePath and then click on Assign:

Image

Steps to reproduce

Create class derived from ViewportTexture
Try to select it for Sprite2D texture

Minimal reproduction project (MRP)

mrp_viewporttexture.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants