message: fix wind effect
diff: @@ -428,7 +428,9 @@ void ObjectsBucket::fillTlas(std::vector<RtInstance>& inst, std::vector<uint32_t
  }
  void ObjectsBucket::preFrameUpdate(uint8_t fId) {
  - if(windAnim && scene.zWindEnabled) {
  + if(!windAnim || !scene.zWindEnabled)
  + return;
  +
  bool upd[CAPACITY] = {};
  for(uint8_t ic=0; ic<SceneGlobals::V_Count; ++ic) {
  const auto c = SceneGlobals::VisCamera(ic);
  @@ -452,18 +454,16 @@ void ObjectsBucket::preFrameUpdate(uint8_t fId) {
  switch(v.wind) {
  case phoenix::animation_mode::wind:
  // tree
  - // a *= v.windIntensity;
  - a *= 0.03f;
  + a *= v.windIntensity;
  break;
  case phoenix::animation_mode::wind2:
  // grass
  - // a *= v.windIntensity;
  - a *= 0.0005f;
  + a *= v.windIntensity * 0.1;
  break;
  case phoenix::animation_mode::none:
  default:
  // error
  - a *= 0.f;
  + a = 0.f;
  break;
  }
  pos[1][0] += scene.windDir.x*a;
  @@ -472,7 +472,6 @@ void ObjectsBucket::preFrameUpdate(uint8_t fId) {
  }
  }
  }
  - }
  size_t ObjectsBucket::alloc(const StaticMesh& mesh, size_t iboOffset, size_t iboLen,
  const Bounds& bounds, const Material& mat) {
  @@ -730,6 +729,10 @@ void ObjectsBucket::setFatness(size_t i, float f) {
  }
  void ObjectsBucket::setWind(size_t i, phoenix::animation_mode m, float intensity) {
  + if(intensity!=0 && m==phoenix::animation_mode::none) {
  + m = phoenix::animation_mode::wind2;
  + }
  +
  auto& v = val[i];
  v.wind = m;
  v.windIntensity = intensity;
  