This commit brings back forward declaration of an enum. It's not allowed by standard and gives compilation error when using clang, i.e.
Is this change intentional (if so, prefer to have description in commit logs even if it's just compile error fix for someone), or it's just some kind of patch merging error? On Tue, Jun 25, 2013 at 4:41 AM, Brecht Van Lommel < [email protected]> wrote: > Revision: 57713 > > http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57713 > Author: blendix > Date: 2013-06-24 22:41:27 +0000 (Mon, 24 Jun 2013) > Log Message: > ----------- > Fix unnecessary redraw of 3D views when making changes in compositing > nodes. > > Modified Paths: > -------------- > trunk/blender/source/blender/editors/include/ED_object.h > trunk/blender/source/blender/editors/space_node/node_edit.c > > Modified: trunk/blender/source/blender/editors/include/ED_object.h > =================================================================== > --- trunk/blender/source/blender/editors/include/ED_object.h 2013-06-24 > 22:41:24 UTC (rev 57712) > +++ trunk/blender/source/blender/editors/include/ED_object.h 2013-06-24 > 22:41:27 UTC (rev 57713) > @@ -69,6 +69,8 @@ > struct PropertyRNA; > struct EnumPropertyItem; > > +enum eVGroupSelect; > + > /* object_edit.c */ > struct Object *ED_object_context(struct bContext *C); /* > context.object */ > struct Object *ED_object_active_context(struct bContext *C); /* > context.object or context.active_object */ > > Modified: trunk/blender/source/blender/editors/space_node/node_edit.c > =================================================================== > --- trunk/blender/source/blender/editors/space_node/node_edit.c 2013-06-24 > 22:41:24 UTC (rev 57712) > +++ trunk/blender/source/blender/editors/space_node/node_edit.c 2013-06-24 > 22:41:27 UTC (rev 57713) > @@ -222,7 +222,7 @@ > cj->need_sync = FALSE; > } > > - WM_main_add_notifier(NC_WINDOW | ND_DRAW, NULL); > + WM_main_add_notifier(NC_SCENE | ND_COMPO_RESULT, NULL); > } > > static void compo_progressjob(void *cjv, float progress) > @@ -299,7 +299,7 @@ > > /* setup job */ > WM_jobs_customdata_set(wm_job, cj, compo_freejob); > - WM_jobs_timer(wm_job, 0.1, NC_SCENE, NC_SCENE | ND_COMPO_RESULT); > + WM_jobs_timer(wm_job, 0.1, NC_SCENE | ND_COMPO_RESULT, NC_SCENE | > ND_COMPO_RESULT); > WM_jobs_callbacks(wm_job, compo_startjob, compo_initjob, > compo_updatejob, NULL); > > WM_jobs_start(CTX_wm_manager(C), wm_job); > > _______________________________________________ > Bf-blender-cvs mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-blender-cvs > -- With best regards, Sergey Sharybin _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
