Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
8ffa35e4
Unverified
Commit
8ffa35e4
authored
Feb 29, 2020
by
Yuri Roubinsky
Committed by
GitHub
Feb 29, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #36668 from Chaosus/shader_fix_range
Fix shader's step hint range for integers
parents
5bbb057c
924a9bfd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
shader_language.cpp
servers/visual/shader_language.cpp
+1
-1
No files found.
servers/visual/shader_language.cpp
View file @
8ffa35e4
...
...
@@ -2646,7 +2646,7 @@ PropertyInfo ShaderLanguage::uniform_to_property_info(const ShaderNode::Uniform
pi
.
type
=
Variant
::
INT
;
if
(
p_uniform
.
hint
==
ShaderLanguage
::
ShaderNode
::
Uniform
::
HINT_RANGE
)
{
pi
.
hint
=
PROPERTY_HINT_RANGE
;
pi
.
hint_string
=
rtos
(
p_uniform
.
hint_range
[
0
])
+
","
+
rtos
(
p_uniform
.
hint_range
[
1
]);
pi
.
hint_string
=
rtos
(
p_uniform
.
hint_range
[
0
])
+
","
+
rtos
(
p_uniform
.
hint_range
[
1
])
+
","
+
rtos
(
p_uniform
.
hint_range
[
2
])
;
}
}
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment