Browse Source

CPUParticles2D - non-interpolated global mode use global space

Changes the implementation of non-interpolated global mode particles so that the vertices are specified in proper global space instead of local space (vertices were previously back transformed by the inverse of the parent transform).
lawnjelly 2 years ago
parent
commit
bc1426dd70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/2d/cpu_particles_2d.h

+ 1 - 1
scene/2d/cpu_particles_2d.h

@@ -35,7 +35,7 @@
 #include "scene/2d/node_2d.h"
 #include "scene/2d/node_2d.h"
 #include "scene/resources/texture.h"
 #include "scene/resources/texture.h"
 
 
-#define GODOT_CPU_PARTICLES_2D_LEGACY_COMPATIBILITY
+// #define GODOT_CPU_PARTICLES_2D_LEGACY_COMPATIBILITY
 
 
 class CPUParticles2D : public Node2D {
 class CPUParticles2D : public Node2D {
 private:
 private: