Skip to content

Commit

Permalink
Avoid zero division
Browse files Browse the repository at this point in the history
  • Loading branch information
durswd committed Apr 6, 2022
1 parent e3a2ce6 commit f160dd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dev/Cpp/Effekseer/Effekseer/Effekseer.EffectNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,8 @@ EffectBasicRenderParameter EffectNodeImplemented::GetBasicRenderParameter()
{
param.FlipbookParams.Enable = false;
param.FlipbookParams.LoopType = 0;
param.FlipbookParams.DivideX = 0;
param.FlipbookParams.DivideY = 0;
param.FlipbookParams.DivideX = 1;
param.FlipbookParams.DivideY = 1;
}

param.MaterialType = RendererCommon.MaterialType;
Expand Down

0 comments on commit f160dd5

Please sign in to comment.