Fix style issues and signature mismatch
This commit is contained in:
parent
0307f2885c
commit
dd06f6ee70
|
@ -84,8 +84,6 @@ uniform highp mat4 world_transform;
|
|||
|
||||
uniform highp float time;
|
||||
|
||||
|
||||
|
||||
#ifdef RENDER_DEPTH
|
||||
uniform float light_bias;
|
||||
uniform float light_normal_bias;
|
||||
|
|
|
@ -1590,8 +1590,8 @@ void main() {
|
|||
#endif
|
||||
|
||||
#if defined(ENABLE_TANGENT_INTERP) || defined(ENABLE_NORMALMAP) || defined(LIGHT_USE_ANISOTROPY)
|
||||
vec3 binormal = normalize(binormal_interp);// * side;
|
||||
vec3 tangent = normalize(tangent_interp);// * side;
|
||||
vec3 binormal = normalize(binormal_interp);
|
||||
vec3 tangent = normalize(tangent_interp);
|
||||
#else
|
||||
vec3 binormal = vec3(0.0);
|
||||
vec3 tangent = vec3(0.0);
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "editor_folding.h"
|
||||
|
||||
#include "core/os/file_access.h"
|
||||
#include "editor_settings.h"
|
||||
#include "editor_inspector.h"
|
||||
#include "editor_settings.h"
|
||||
|
||||
PoolVector<String> EditorFolding::_get_unfolds(const Object *p_object) {
|
||||
|
||||
|
@ -172,7 +172,6 @@ bool EditorFolding::has_folding_data(const String &p_path) {
|
|||
return FileAccess::exists(file);
|
||||
}
|
||||
|
||||
|
||||
void EditorFolding::_do_object_unfolds(Object *p_object, Set<RES> &resources) {
|
||||
|
||||
List<PropertyInfo> plist;
|
||||
|
@ -199,7 +198,6 @@ void EditorFolding::_do_object_unfolds(Object *p_object, Set<RES> &resources) {
|
|||
//can unfold
|
||||
if (E->get().usage & PROPERTY_USAGE_EDITOR) {
|
||||
|
||||
|
||||
if (group != "") { //group
|
||||
if (group_base == String() || E->get().name.begins_with(group_base)) {
|
||||
bool can_revert = EditorPropertyRevert::can_property_revert(p_object, E->get().name);
|
||||
|
|
|
@ -585,9 +585,9 @@ float Environment::get_glow_hdr_bleed_threshold() const {
|
|||
return glow_hdr_bleed_threshold;
|
||||
}
|
||||
|
||||
void Environment::set_glow_hdr_luminance_cap(float p_threshold) {
|
||||
void Environment::set_glow_hdr_luminance_cap(float p_amount) {
|
||||
|
||||
glow_hdr_luminance_cap = p_threshold;
|
||||
glow_hdr_luminance_cap = p_amount;
|
||||
|
||||
VS::get_singleton()->environment_set_glow(environment, glow_enabled, glow_levels, glow_intensity, glow_strength, glow_bloom, VS::EnvironmentGlowBlendMode(glow_blend_mode), glow_hdr_bleed_threshold, glow_hdr_bleed_threshold, glow_hdr_luminance_cap, glow_bicubic_upscale);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue