Blender Git Loki
Git Commits -> Revision a725cac
Revision a725cac by Diego Borghetti (master) July 20, 2010, 16:54 (GMT) |
Fix #22905 [#22905] Adding objects with a grid size of <1m results in a 0 size object The problem here is that the return value of the function ED_object_new_primitive_matrix is a float, not an int. This come from an old revision, before the two dia and depth multiplication was using the function (two call to the same function). This was change to only call the functio one time and store the value in the "scale" variable, but the scale was declare as int, not float. |
Commit Details:
Full Hash: a725cac5206a29b8a54763e4daf97e9cc35f2220
SVN Revision: 30546
Parent Commit: 75913ce
Lines Changed: +1, -1
1 Modified Path:
/source/blender/editors/mesh/editmesh_add.c (+1, -1) (Diff)