فهرست منبع

fix live adjusts of tube

David Rose 22 سال پیش
والد
کامیت
b82d279b91
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      panda/src/collide/collisionTube.cxx

+ 3 - 0
panda/src/collide/collisionTube.cxx

@@ -368,6 +368,9 @@ recalc_internals() {
   look_at(_mat, direction, LVector3f(0.0f, 0.0f, 1.0f), CS_zup_right);
   _mat.set_row(3, _a);
   _inv_mat.invert_from(_mat);
+
+  mark_viz_stale();
+  mark_bound_stale();
 }
 
 ////////////////////////////////////////////////////////////////////