Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMa0012 committed Sep 7, 2022
1 parent 8770711 commit 1cffc97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Editor/ShaderDrawer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public override void DrawProp(Rect position, MaterialProperty prop, GUIContent l
public override void Apply(MaterialProperty prop)
{
base.Apply(prop);
if (!prop.hasMixedValue && IsMatchPropType(prop)){}
if (!prop.hasMixedValue && IsMatchPropType(prop))
Helper.SetShaderKeyWord(prop.targets, GetKeywords(prop), (int)prop.floatValue);
Debug.Log(prop.floatValue);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.jasonma.lwgui",
"version": "1.1.1",
"version": "1.1.2",
"displayName": "LWGUI",
"description": "A Lightweight, Flexible, Powerful Shader GUI System for Unity.",
"keywords": [
Expand Down

0 comments on commit 1cffc97

Please sign in to comment.