Imma bust
This commit is contained in:
parent
0614e27cd5
commit
dfd4c498e1
@ -147,13 +147,12 @@ namespace ImageProcessingGraph.Editor.Unity_Image_Processing.Scripts.Editor.Wind
|
|||||||
// Exposes a variable on the port for editing when it's not connected
|
// Exposes a variable on the port for editing when it's not connected
|
||||||
public void ExposeVariableToPort(Port port, FieldInfo field)
|
public void ExposeVariableToPort(Port port, FieldInfo field)
|
||||||
{
|
{
|
||||||
VisualElement NewElement;
|
VisualElement NewElement = new VisualElement();
|
||||||
var ExposedPropertyContainer = ((IPTPort)port).ExposedPropertyContainer;
|
var ExposedPropertyContainer = ((IPTPort)port).ExposedPropertyContainer;
|
||||||
Type containerType = null;
|
Type containerType = null;
|
||||||
|
|
||||||
if (ExposedPropertyContainer == null)
|
if (ExposedPropertyContainer == null)
|
||||||
{
|
{
|
||||||
NewElement = new VisualElement();
|
|
||||||
NewElement.name = "property-field-container";
|
NewElement.name = "property-field-container";
|
||||||
VisualElement the = CreatePropertyFieldForType(field.FieldType, field.GetValue(graphNode));
|
VisualElement the = CreatePropertyFieldForType(field.FieldType, field.GetValue(graphNode));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user