File tree Expand file tree Collapse file tree 5 files changed +9
-3
lines changed
com.unity.visualeffectgraph Expand file tree Collapse file tree 5 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ The version number for this package has increased due to a version update of a r
58
58
- Fixed Set Strip Progress Attribute utility block in Additional Samples
59
59
- Fix [ Case 1255182] ( https://fogbugz.unity3d.com/f/cases/1255182/ )
60
60
- Remove temporarily "Exact Fixed Time Step" option on VisualEffectAsset to avoid unexpected behavior
61
+ - Disable implicit space transformations in sublock graphs as they led to unexpected behaviors
61
62
62
63
## [ 10.1.0] - 2020-10-12
63
64
### Added
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public override void CheckGraphBeforeImport()
46
46
ResyncSlots ( true ) ;
47
47
}
48
48
49
- public sealed override string name { get { return m_Subgraph != null ? m_Subgraph . name : "Empty Subgraph Block" ; } }
49
+ public sealed override string name { get { return m_Subgraph != null ? ObjectNames . NicifyVariableName ( m_Subgraph . name ) : "Empty Subgraph Block" ; } }
50
50
51
51
protected override IEnumerable < VFXPropertyWithValue > inputProperties
52
52
{
Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ public override void OnEnable()
49
49
shader = ( ( VFXDataMesh ) GetData ( ) ) . shader ;
50
50
}
51
51
52
+ public override VFXCoordinateSpace GetOutputSpaceFromSlot ( VFXSlot slot )
53
+ {
54
+ return VFXCoordinateSpace . Local ;
55
+ }
56
+
52
57
public override bool SetupCompilation ( )
53
58
{
54
59
shader = ( ( VFXDataMesh ) GetData ( ) ) . shader ;
Original file line number Diff line number Diff line change @@ -561,7 +561,7 @@ public VFXCoordinateSpace space
561
561
{
562
562
return ( m_Data as ISpaceable ) . space ;
563
563
}
564
- return VFXCoordinateSpace . Local ;
564
+ return ( VFXCoordinateSpace ) int . MaxValue ;
565
565
}
566
566
567
567
set
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ private void ClearCopy()
132
132
}
133
133
}
134
134
135
- public sealed override string name { get { return m_Subgraph != null ? m_Subgraph . name : "Empty Subgraph Operator" ; } }
135
+ public sealed override string name { get { return m_Subgraph != null ? ObjectNames . NicifyVariableName ( m_Subgraph . name ) : "Empty Subgraph Operator" ; } }
136
136
137
137
protected override IEnumerable < VFXPropertyWithValue > inputProperties
138
138
{
You can’t perform that action at this time.
0 commit comments