forked from bartvdbraak/blender
armature ghost stepsize was not initialized, Aligorith: can you check this is correct?
remove other small warnings
This commit is contained in:
parent
637873deb0
commit
a2fe0cf5d7
@ -302,6 +302,8 @@ static BVHNode *bvh_medianof3(BVHNode **a, int lo, int mid, int hi, int axis) //
|
||||
return a[mid];
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
/*
|
||||
* Quicksort algorithm modified for Introsort
|
||||
*/
|
||||
@ -332,7 +334,7 @@ static void sort(BVHNode **a0, int begin, int end, int axis)
|
||||
bvh_insertionsort(a, begin, end, axis);
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
|
||||
static void sort_along_axis(BVHTree *tree, int start, int end, int axis)
|
||||
{
|
||||
sort(tree->nodes, start, end, axis);
|
||||
|
@ -106,6 +106,7 @@
|
||||
#include "BLI_storage_types.h" // for relname flags
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
#include "BKE_anim.h"
|
||||
#include "BKE_action.h"
|
||||
#include "BKE_armature.h"
|
||||
#include "BKE_brush.h"
|
||||
|
@ -824,7 +824,7 @@ static void console_modal_select_apply(bContext *C, wmOperator *op, wmEvent *eve
|
||||
|
||||
static void set_cursor_exit(bContext *C, wmOperator *op)
|
||||
{
|
||||
SpaceConsole *sc= CTX_wm_space_console(C);
|
||||
// SpaceConsole *sc= CTX_wm_space_console(C);
|
||||
SetConsoleCursor *scu= op->customdata;
|
||||
|
||||
/*
|
||||
@ -840,7 +840,7 @@ static void set_cursor_exit(bContext *C, wmOperator *op)
|
||||
static int console_modal_select_invoke(bContext *C, wmOperator *op, wmEvent *event)
|
||||
{
|
||||
SpaceConsole *sc= CTX_wm_space_console(C);
|
||||
ARegion *ar= CTX_wm_region(C);
|
||||
// ARegion *ar= CTX_wm_region(C);
|
||||
SetConsoleCursor *scu;
|
||||
|
||||
op->customdata= MEM_callocN(sizeof(SetConsoleCursor), "SetConsoleCursor");
|
||||
|
@ -2331,11 +2331,13 @@ void SEQUENCER_OT_view_all_preview(wmOperatorType *ot)
|
||||
ot->flag= OPTYPE_REGISTER;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static EnumPropertyItem view_type_items[] = {
|
||||
{SEQ_VIEW_SEQUENCE, "SEQUENCER", ICON_SEQ_SEQUENCER, "Sequencer", ""},
|
||||
{SEQ_VIEW_PREVIEW, "PREVIEW", ICON_SEQ_PREVIEW, "Image Preview", ""},
|
||||
{SEQ_VIEW_SEQUENCE_PREVIEW, "SEQUENCER_PREVIEW", ICON_SEQ_SEQUENCER, "Sequencer and Image Preview", ""},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
#endif
|
||||
|
||||
/* view_all operator */
|
||||
static int sequencer_view_toggle_exec(bContext *C, wmOperator *op)
|
||||
|
@ -110,7 +110,7 @@ void draw_motion_path_instance(Scene *scene, View3D *v3d, ARegion *ar,
|
||||
//RegionView3D *rv3d= ar->regiondata;
|
||||
bMotionPathVert *mpv, *mpv_start;
|
||||
int sfra, efra, len;
|
||||
int i, stepsize;
|
||||
int i, stepsize= avs->ghost_step;
|
||||
|
||||
/* get frame ranges */
|
||||
if (avs->path_type == MOTIONPATH_TYPE_ACFRA) {
|
||||
|
@ -1646,7 +1646,6 @@ void view3d_update_depths(ARegion *ar, View3D *v3d)
|
||||
void draw_depth_gpencil(Scene *scene, ARegion *ar, View3D *v3d)
|
||||
{
|
||||
RegionView3D *rv3d= ar->regiondata;
|
||||
Scene *sce;
|
||||
|
||||
setwinmatrixview3d(ar, v3d, NULL); /* 0= no pick rect */
|
||||
setviewmatrixview3d(scene, v3d, rv3d); /* note: calls where_is_object for camera... */
|
||||
|
Loading…
Reference in New Issue
Block a user