Using proper subtype in game object velocity clamping properties.
authorSybren A. Stüvel <sybren@stuvel.eu>
Tue, 7 Jul 2015 09:59:24 +0000 (11:59 +0200)
committerSybren A. Stüvel <sybren@stuvel.eu>
Tue, 7 Jul 2015 09:59:28 +0000 (11:59 +0200)
commit23aa425cd9097e0279035c47f1d9071e57a7bde0
tree38c0b54c8008e369a3734179e91b008b8908575a
parentafa25b11363d8f95bf110b9c7193cad9136aeaab
Using proper subtype in game object velocity clamping properties.

The game.velocity_{min,max} and game.angular_velocity_{min,max} object
RNA properties did not use a subtype, and thus velocity was always
displayed as radians or blender units instead of the configured units.

Reviewed by: campbellbarton
source/blender/makesrna/intern/rna_object.c