Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/sculpt.c
| Context not available. | |||||
| float true_location[3]; | float true_location[3]; | ||||
| float location[3]; | float location[3]; | ||||
| bool pen_flip; | float pen_flip; | ||||
| bool invert; | float invert; | ||||
| float pressure; | float pressure; | ||||
| float mouse[2]; | float mouse[2]; | ||||
| float bstrength; | float bstrength; | ||||
| Context not available. | |||||
| typedef struct { | typedef struct { | ||||
| SculptSession *ss; | SculptSession *ss; | ||||
| const float *ray_start, *ray_normal; | const float *ray_start, *ray_normal; | ||||
| bool hit; | int hit; | ||||
| float dist; | float dist; | ||||
| int original; | int original; | ||||
| } SculptRaycastData; | } SculptRaycastData; | ||||
| typedef struct { | typedef struct { | ||||
| const float *ray_start, *ray_normal; | const float *ray_start, *ray_normal; | ||||
| bool hit; | int hit; | ||||
| float dist; | float dist; | ||||
| float detail; | float detail; | ||||
| } SculptDetailRaycastData; | } SculptDetailRaycastData; | ||||
| Context not available. | |||||
| sculpt_update_tex(scene, sd, ss); | sculpt_update_tex(scene, sd, ss); | ||||
| } | } | ||||
| static bool sculpt_brush_stroke_init(bContext *C, wmOperator *op) | static int sculpt_brush_stroke_init(bContext *C, wmOperator *op) | ||||
| { | { | ||||
| Scene *scene = CTX_data_scene(C); | Scene *scene = CTX_data_scene(C); | ||||
| Object *ob = CTX_data_active_object(C); | Object *ob = CTX_data_active_object(C); | ||||
| Context not available. | |||||