Comments (1)
That's odd. I do have some font-loading on the SGVariables side to calculate the width for the Get/Register Variable
nodes, but that has nothing to do with the ExtraFeatures & shortcuts. And afaik it should only load once - I've seen no editor freezes on my end.
Anyway, I've tweaked the code a bit (moved the font loading into the ResizeNodeToFitText
function where it's needed) which might help, so try removing the package & re-add it.
Ideally I would make the shortcuts only work inside the ShaderGraph tab (via using typeof(MaterialGraphEditWindow)
in the ShortcutAttribute) which would avoid conflicts, however due to Unity's excessive use of internal
those classes are inaccessible so the shortcuts need to be "global". That said, there is still a graphView != null
check so these shortcuts won't do anything if a graph is not open.
If conflicts are common or the shortcuts aren't needed, they can be remapped/removed via Unity's Shortcuts window.
from shadergraphvariables.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadergraphvariables.