INT/FLOAT/STRING Inputs Reserved Issue
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 153
Description
These nodes load into the system, show in the context menu, but do not appear when you select them from the context menu. This has happened a few times, and I have no idea what's going on. Nodes look fine. Just don't appear in the node tree when selected. No errors.
```python
# INT TO NUMBER
class WAS_Int_To_Number:
def __init__(self):
pass
@classmethod
def INPUT_TYPES(cls):
return {
"required": {
"int_input": ("INT",),
}
}
RETURN_TYPES = ("NUMBER",)
FUNCTION = "int_to_number"
CATEGORY = "WAS Suite/Constant"
def int_to_number(self, int_input):
return (int_input, )
# NUMBER TO FLOAT
class WAS_Float_To_Number:
def __init__(self):
pass
@classmethod
def INPUT_TYPES(cls):
return {
"required": {
"float_input": ("FLOAT",),
}
}
RETURN_TYPES = ("NUMBER",)
FUNCTION = "float_to_number"
CATEGORY = "WAS Suite/Constant"
def float_to_number(self, float_input):
return (float_input, )
```
I've tried taking my working nodes and renaming them to the following, and still, doesn't show. It's something with the node handling detecting something weird or something it seems.
The Number to Int, or Number to Float, etc nodes work just fine, and are essentially the same thing, just reverse input/output.
Contributor guide
Assessment
This issue has not been assessed yet.