Hi...
I'm trying to show save option directly while closing the blender only if user have made any changes in Blender.
I'm trying to execute this line
ot->exec = wm_save_mainfile; // from window_operator.c file
in to this operator function
static int wm_exit_blender_op(bContext *C, wmOperator *op)
{
- - - - - ;
}
But I can't. How its possible? or Shall I create a NEW operator like WM_OT_quit_blender(wmOperatorType *ot) what are the steps I have to follow, Is there any link for this?
Blender save option and operator
Moderators: jesterKing, stiv
-
- Posts: 0
- Joined: Sat Oct 05, 2013 11:44 am
- Location: INDIA