Cleanup: compiler warning, typo in comment
This commit is contained in:
parent
bdde8c7207
commit
8c8d84fbc5
|
@ -50,7 +50,7 @@ class CurvesGeometryRuntime {
|
|||
|
||||
/**
|
||||
* A C++ class that wraps the DNA struct for better encapsulation and ease of use. It inherits
|
||||
* directly from the struct rather than storing a pointer to avoid more complcated ownership
|
||||
* directly from the struct rather than storing a pointer to avoid more complicated ownership
|
||||
* handling.
|
||||
*/
|
||||
class CurvesGeometry : public ::CurvesGeometry {
|
||||
|
|
|
@ -163,9 +163,11 @@ static void reset_bezts(tGraphSliderOp *gso)
|
|||
ANIM_animdata_freelist(&anim_data);
|
||||
}
|
||||
|
||||
/* Get factor value and store it in RNA property. Custom data of wmOperator needs to contain
|
||||
* tGraphSliderOp. */
|
||||
const float slider_factor_get_and_remember(wmOperator *op)
|
||||
/**
|
||||
* Get factor value and store it in RNA property.
|
||||
* Custom data of #wmOperator needs to contain #tGraphSliderOp.
|
||||
*/
|
||||
static float slider_factor_get_and_remember(wmOperator *op)
|
||||
{
|
||||
tGraphSliderOp *gso = op->customdata;
|
||||
const float factor = ED_slider_factor_get(gso->slider);
|
||||
|
|
Loading…
Reference in New Issue