Merge pull request #51730 from Chaosus/vs_fix_particle_accel

Fix incorrect inheritance of `VisualShaderNodeParticleAccelerator`
This commit is contained in:
Yuri Roubinsky 2021-08-16 15:12:40 +03:00 committed by GitHub
commit 7f96b2d9a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualShaderNodeParticleAccelerator" inherits="VisualShaderNodeOutput" version="4.0">
<class name="VisualShaderNodeParticleAccelerator" inherits="VisualShaderNode" version="4.0">
<brief_description>
</brief_description>
<description>

View file

@ -181,8 +181,8 @@ VARIANT_ENUM_CAST(VisualShaderNodeParticleRandomness::OpType)
// Process nodes
class VisualShaderNodeParticleAccelerator : public VisualShaderNodeOutput {
GDCLASS(VisualShaderNodeParticleAccelerator, VisualShaderNodeOutput);
class VisualShaderNodeParticleAccelerator : public VisualShaderNode {
GDCLASS(VisualShaderNodeParticleAccelerator, VisualShaderNode);
public:
enum Mode {