- use Py_CLEAR for python internally referencing other PyObjects (supposed to be safer).

- detect includes for qtcreator projects as well as the ones from cmake (it didnt return all of the right paths).
This commit is contained in:
2011-02-27 04:01:58 +00:00
parent a11c80d3bb
commit f73c993b16
4 changed files with 13 additions and 5 deletions

View File

@@ -167,7 +167,7 @@ static int act_markers_make_local_poll(bContext *C)
return ED_markers_get_first_selected(ED_context_get_markers(C)) != NULL;
}
static int act_markers_make_local_exec (bContext *C, wmOperator *op)
static int act_markers_make_local_exec (bContext *C, wmOperator *UNUSED(op))
{
ListBase *markers = ED_context_get_markers(C);