mirror of
https://github.com/godotengine/godot
synced 2024-09-04 21:48:31 +00:00
Fix some unincialised variables
This commit is contained in:
parent
06633a8074
commit
66a36ba474
|
@ -297,6 +297,7 @@ public:
|
|||
target(GL_TEXTURE_2D),
|
||||
data_size(0),
|
||||
compressed(false),
|
||||
srgb(false),
|
||||
total_data_size(0),
|
||||
ignore_mipmaps(false),
|
||||
mipmaps(0),
|
||||
|
|
|
@ -273,6 +273,7 @@ void AudioStreamOGGVorbis::_bind_methods() {
|
|||
AudioStreamOGGVorbis::AudioStreamOGGVorbis() {
|
||||
|
||||
data = NULL;
|
||||
data_len = 0;
|
||||
length = 0;
|
||||
sample_rate = 1;
|
||||
channels = 1;
|
||||
|
|
|
@ -204,6 +204,7 @@ ProximityGroup::ProximityGroup() {
|
|||
group_version = 0;
|
||||
dispatch_mode = MODE_PROXY;
|
||||
|
||||
cell_size = 1.0;
|
||||
grid_radius = Vector3(1, 1, 1);
|
||||
set_notify_transform(true);
|
||||
};
|
||||
|
|
|
@ -1580,6 +1580,7 @@ AnimationTree::AnimationTree() {
|
|||
active = false;
|
||||
cache_valid = false;
|
||||
setup_pass = 1;
|
||||
process_pass = 1;
|
||||
started = true;
|
||||
properties_dirty = true;
|
||||
last_animation_player = 0;
|
||||
|
|
|
@ -295,6 +295,7 @@ Slider::Slider(Orientation p_orientation) {
|
|||
mouse_inside = false;
|
||||
grab.active = false;
|
||||
ticks = 0;
|
||||
ticks_on_borders = false;
|
||||
custom_step = -1;
|
||||
editable = true;
|
||||
scrollable = true;
|
||||
|
|
|
@ -201,8 +201,10 @@ VisualServerRaster::VisualServerRaster() {
|
|||
VSG::canvas_render = VSG::rasterizer->get_canvas();
|
||||
VSG::scene_render = VSG::rasterizer->get_scene();
|
||||
|
||||
for (int i = 0; i < 4; i++)
|
||||
for (int i = 0; i < 4; i++) {
|
||||
black_margin[i] = 0;
|
||||
black_image[i] = RID();
|
||||
}
|
||||
}
|
||||
|
||||
VisualServerRaster::~VisualServerRaster() {
|
||||
|
|
Loading…
Reference in a new issue