forked from bartvdbraak/blender
Fix: Remove line from common invoke
The line that sets the factor_prop in graph_slider_ops.c has been left in the common invoke function by accident. Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D13477 Ref: D13477
This commit is contained in:
parent
ae6f3056fc
commit
b1696702cd
@ -1 +1 @@
|
||||
Subproject commit 8ee2942570f08d10484bb2328d0d1b0aaaa0367c
|
||||
Subproject commit 9d270fd007f628b23ccbcbd87caa2dc35286b26a
|
@ -1 +1 @@
|
||||
Subproject commit f2a08d80ccd3c13af304525778df3905f95bd44d
|
||||
Subproject commit b3c179b2869d86c44a4b29e2c638ce2a596a820d
|
@ -303,8 +303,6 @@ static int graph_slider_invoke(bContext *C, wmOperator *op, const wmEvent *event
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
gso->factor_prop = RNA_struct_find_property(op->ptr, "factor");
|
||||
|
||||
gso->scene = CTX_data_scene(C);
|
||||
gso->area = CTX_wm_area(C);
|
||||
gso->region = CTX_wm_region(C);
|
||||
@ -412,6 +410,7 @@ static int decimate_invoke(bContext *C, wmOperator *op, const wmEvent *event)
|
||||
}
|
||||
|
||||
tGraphSliderOp *gso = op->customdata;
|
||||
gso->factor_prop = RNA_struct_find_property(op->ptr, "factor");
|
||||
gso->modal_update = decimate_modal_update;
|
||||
ED_slider_allow_overshoot_set(gso->slider, false);
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 2e8c879248822c8e500ed49d79acc605e5aa75b9
|
||||
Subproject commit b22d19e47f4d0353082f3d9f30ee8d244c5266d5
|
Loading…
Reference in New Issue
Block a user