style cleanup: screen

This commit is contained in:
Campbell Barton 2012-05-08 15:43:59 +00:00
parent f9d07ff3ee
commit facc976371
6 changed files with 1248 additions and 1251 deletions

@ -599,15 +599,19 @@ void select_connected_scredge(bScreen *sc, ScrEdge *edge)
oneselected = 0; oneselected = 0;
while (se) { while (se) {
if (se->v1->flag + se->v2->flag == 1) { if (se->v1->flag + se->v2->flag == 1) {
if (dir=='h') if (se->v1->vec.y==se->v2->vec.y) { if (dir == 'h') {
if (se->v1->vec.y == se->v2->vec.y) {
se->v1->flag = se->v2->flag = 1; se->v1->flag = se->v2->flag = 1;
oneselected = 1; oneselected = 1;
} }
if (dir=='v') if (se->v1->vec.x==se->v2->vec.x) { }
if (dir == 'v') {
if (se->v1->vec.x == se->v2->vec.x) {
se->v1->flag = se->v2->flag = 1; se->v1->flag = se->v2->flag = 1;
oneselected = 1; oneselected = 1;
} }
} }
}
se = se->next; se = se->next;
} }
} }

@ -66,7 +66,3 @@ void SCREEN_OT_screenshot(struct wmOperatorType *ot);
void SCREEN_OT_screencast(struct wmOperatorType *ot); void SCREEN_OT_screencast(struct wmOperatorType *ot);
#endif /* __SCREEN_INTERN_H__ */ #endif /* __SCREEN_INTERN_H__ */

@ -445,6 +445,3 @@ void SCREEN_OT_screencast(wmOperatorType *ot)
RNA_def_property(ot->srna, "filepath", PROP_STRING, PROP_FILEPATH); RNA_def_property(ot->srna, "filepath", PROP_STRING, PROP_FILEPATH);
RNA_def_boolean(ot->srna, "full", 1, "Full Screen", "Screencast the whole Blender window"); RNA_def_boolean(ot->srna, "full", 1, "Full Screen", "Screencast the whole Blender window");
} }