Peter Bay Bastian
fc03abf6
Fixed a bug causing frequent, unneeded serialization of the entire graph in the graph inspector
8 年前
Peter Bay Bastian
adc4b060
Added graph inspectors for sub and remap graphs
8 年前
Peter Bay Bastian
2eace1c5
Extracted abstract base class from MaterialGraphInspector
8 年前
Peter Bay Bastian
663e90f3
If no node is pinned in graph inspector, display message rather than hiding the preview completely
8 年前
Peter Bay Bastian
e73c926b
Disable ReSharper warning about delegate subtraction as it is not valid for our use case
8 年前
joce
0e9bf43e
Add .editorconfig: spaces everywhere but NewUI
Signed-off-by: joce <joce@unity3d.com>
8 年前
GitHub
0ef45c8c
Merge pull request #5 from stramit/issues-fix
Issues fix
8 年前
joce
e895baa6
Make added nodes appear under mouse cursor
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
184e9204
Fix weird bar under title bar
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
72ac3b4c
Fix RectangleSelect + node selection highlight
Both issues were caused by the nodes positioning incorrectly being flagged as
Relative. Putting it to Absolute fixed all of this. It also messed with the
nodes positioning, which is why the ShaderGraphs had to be changed as well.
Signed-off-by: joce <joce@unity3d.com>
8 年前
joce
4aa813fd
Update to new GraphView
Update includes fix for MiddleMouse / Alt+LeftMouse pan
Signed-off-by: joce <joce@unity3d.com>
8 年前
Tim Cooper
e6b70122
[Material Graph]Show slot default inputs in the inspector.
8 年前
Peter Bay Bastian
46e1234d
Styling for connectors
8 年前
Peter Bay Bastian
cb87ed84
Minor improvements to graph inspector
8 年前
Peter Bay Bastian
7343f497
Added IDisposable functionality to ObjectPool (and ListPool)
8 年前
Peter Bay Bastian
ddc991d7
Removed un-pin functionality, such that a node is always pinned (defaults to active master node). Also improved interface for AbstractGraphInspector.
8 年前
Peter Bay Bastian
e5c4ffb6
Inspector now listens for changes to node relevant to the previewed node. It is now possible to pin the selected node, while another node is pinned (to avoid having to click 2 times). Constant re-paint is now only turned on if any relevant nodes require time.
8 年前
Peter Bay Bastian
a2959466
Implemented node pinning
8 年前
Peter Bay Bastian
2483a684
Added preview of first selected node in inspector
8 年前
Peter Bay Bastian
0d1c4d7e
Extracted common parts of MaterialGraphAsset, MaterialRemapAsset and MaterialSubGraphAsset into abstract class
8 年前
Tim Cooper
56dd09da
[mat graph]Allow connection, it should replace existing.
8 年前
Peter Bay Bastian
af604cb5
Set background to constant color
Might make more sense to not use GridBackground (though it’s a great
example of custom style properties!)
8 年前
Peter Bay Bastian
e69e0431
Foundation has been laid for node inspectors (partially implemented for surface master)
8 年前
Tim Cooper
e1f379f3
Recreate latest changes from RMGUI from joce
8 年前
Peter Bay Bastian
8dd129c5
Extracted type mapping functionality into own class such that it can be re-used for node inspector
8 年前
Peter Bay Bastian
14bd9deb
Minor codestyle clean-up
8 年前
Peter Bay Bastian
5b3b60c7
Fix for serialized selection
8 年前
Peter Bay Bastian
508a8634
Minor drawer clean-up and replaced NodeExpander with Clickable
8 年前
Peter Bay Bastian
5960f11a
Added basic inspector for graph editor and added the selected nodes to the graph asset
It currently just shows the names of the currently selected nodes
8 年前
Peter Bay Bastian
22ea3bd8
It is now possible to mark a master node as active in a shader graph (but not in others like sub graphs or remap graphs)
8 年前
Peter Bay Bastian
31965b77
Slots can now be changed while a graph is loaded
Rather than storing all sub draw data instances mixed together in a
shared list, they are now stored per type such that e.g. anchors/slots
can easily be updated.
8 年前
Peter Bay Bastian
70e53ed7
Refined `ModificationScope` with `.Topological`
`Topological` represents something that changes the topology of the
graph, i.e. something that causes e.g. edge removal.
8 年前
Peter Bay Bastian
d8ebbf95
Re-added highlight-border for selected nodes
8 年前
Peter Bay Bastian
640ab79a
Fixed hiding of right pane when there are no outputs
Also removed some unnecessary classList checks
8 年前
Tim Cooper
e6cc7289
Merge branch 'RemapAndSubshader'
8 年前
Tim Cooper
c11fe3b4
[Material graph]Tidy up node remapper. It now does not emit nodes but passes through.
8 年前
Tim Cooper
112ae744
[mat graph]Really rough, but working! remap nodes.
8 年前
Tim Cooper
57c58904
[mat graph]More remapping
8 年前
Tim Cooper
7ee96660
[mat graph]Start work on remapper
8 年前
Peter Bay Bastian
a8450aba
Hide right pane in node if there are no output slots
8 年前
Peter Bay Bastian
6b8dd307
Minor style tweak
8 年前
Peter Bay Bastian
780c7cc1
Updated styling to look like Hugo's mockup + fixes
- HeaderDrawer now extends from DataWatchContainer rather than
GraphElement (don’t do the latter for things that are inside nodes)
8 年前
Peter Bay Bastian
c90ddfc2
USS clean-up for nodes
8 年前
Peter Bay Bastian
6a436d82
Changed TitleBar.uss to use class names rather than naming
I think we need some proper guidelines on USS usage. I think a sensible
rule would be that names are reserved for the owning view, such that it
can be used for layouting etc.
8 年前
Peter Bay Bastian
682248e0
Created GraphEditorDrawer by extracting view stuff from AbstractGraphEditWindow
The latter was getting very crowded and more views that are not inside
the GraphView are on the way.
8 年前
Peter Bay Bastian
fa8baa2c
Created IEnumerable extension for zipping together enumerables
(so that we can easily iterate over 2 collections using their
IEnumerable interface, rather than having to index into one of them)
8 年前
Paul Demeulenaere
8592d7d0
Add an index to RequiresMeshUV, allows require UV1 to UV3
8 年前
Paul Demeulenaere
2c0192a0
Add VertexColorNode & Fix missing bitangent in AbstractSurfaceMasterNode.cs
8 年前
Paul Demeulenaere
c1f9ae7d
Add WorldBitangentNode (with IMayRequireBitangent behavior)
8 年前
Tim Cooper
9f1103ac
[mat graph] Nested shader now lives inside graph asset. This is used by the material inspector :)
8 年前