Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/hair.c
| Show First 20 Lines • Show All 191 Lines • ▼ Show 20 Lines | IDTypeInfo IDType_ID_HA = { | ||||
| .foreach_cache = NULL, | .foreach_cache = NULL, | ||||
| .blend_write = hair_blend_write, | .blend_write = hair_blend_write, | ||||
| .blend_read_data = hair_blend_read_data, | .blend_read_data = hair_blend_read_data, | ||||
| .blend_read_lib = hair_blend_read_lib, | .blend_read_lib = hair_blend_read_lib, | ||||
| .blend_read_expand = hair_blend_read_expand, | .blend_read_expand = hair_blend_read_expand, | ||||
| .blend_read_undo_preserve = NULL, | .blend_read_undo_preserve = NULL, | ||||
| .lib_override_apply_post = NULL, | |||||
| }; | }; | ||||
| static void hair_random(Hair *hair) | static void hair_random(Hair *hair) | ||||
| { | { | ||||
| const int numpoints = 8; | const int numpoints = 8; | ||||
| hair->totcurve = 500; | hair->totcurve = 500; | ||||
| hair->totpoint = hair->totcurve * numpoints; | hair->totpoint = hair->totcurve * numpoints; | ||||
| ▲ Show 20 Lines • Show All 215 Lines • Show Last 20 Lines | |||||