mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
fix so the error macro uses the incomming parameter p_subdivision instead of the class member
This commit is contained in:
parent
6f1d2133bb
commit
3905b4e67a
@ -163,8 +163,8 @@ void GPUParticles2D::set_trail_sections(int p_sections) {
|
||||
}
|
||||
|
||||
void GPUParticles2D::set_trail_section_subdivisions(int p_subdivisions) {
|
||||
ERR_FAIL_COND(trail_section_subdivisions < 1);
|
||||
ERR_FAIL_COND(trail_section_subdivisions > 1024);
|
||||
ERR_FAIL_COND(p_subdivisions < 1);
|
||||
ERR_FAIL_COND(p_subdivisions > 1024);
|
||||
|
||||
trail_section_subdivisions = p_subdivisions;
|
||||
update();
|
||||
|
Loading…
Reference in New Issue
Block a user