소스 검색

fix trees were not generated

Kolja Strohm 2 달 전
부모
커밋
9d9649e100
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      FactoryCraft/TreeTemplate.cpp

+ 1 - 0
FactoryCraft/TreeTemplate.cpp

@@ -98,6 +98,7 @@ void TreeTemplate::setMinHeight(int height)
 void TreeTemplate::setMaxHeight(int height)
 {
     maxHeight = height;
+    setMaxSize(Framework::Vec3<int>(5, 5, maxHeight));
 }
 
 int TreeTemplate::getMinHeight() const