Revision: 41408
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41408
Author:   campbellbarton
Date:     2011-10-31 06:18:12 +0000 (Mon, 31 Oct 2011)
Log Message:
-----------
remove accidental change from last commit, cleanup BPY_extern.h and remove 
misleading comment.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/editface.c
    trunk/blender/source/blender/editors/sculpt_paint/paint_utils.c
    trunk/blender/source/blender/python/BPY_extern.h

Modified: trunk/blender/source/blender/editors/mesh/editface.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editface.c        2011-10-31 
06:13:20 UTC (rev 41407)
+++ trunk/blender/source/blender/editors/mesh/editface.c        2011-10-31 
06:18:12 UTC (rev 41408)
@@ -346,7 +346,6 @@
        paintface_flush_flags(ob);
 }
 
-/* note: caller needs to run paintface_flush_flags(ob) after this */
 void paintface_deselect_all_visible(Object *ob, int action, short flush_flags)
 {
        Mesh *me;

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_utils.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_utils.c     
2011-10-31 06:13:20 UTC (rev 41407)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_utils.c     
2011-10-31 06:18:12 UTC (rev 41408)
@@ -366,7 +366,6 @@
 {
        Object *ob= CTX_data_active_object(C);
        paintface_deselect_all_visible(ob, RNA_enum_get(op->ptr, "action"), 
TRUE);
-       paintface_flush_flags(ob);
        ED_region_tag_redraw(CTX_wm_region(C));
        return OPERATOR_FINISHED;
 }

Modified: trunk/blender/source/blender/python/BPY_extern.h
===================================================================
--- trunk/blender/source/blender/python/BPY_extern.h    2011-10-31 06:13:20 UTC 
(rev 41407)
+++ trunk/blender/source/blender/python/BPY_extern.h    2011-10-31 06:18:12 UTC 
(rev 41408)
@@ -20,7 +20,10 @@
  *
  * The Original Code was in: source/blender/bpython/include/BPY_extern.h
  *
- * Contributor(s): Michel Selten, Willian P. Germano, Chris Keith
+ * Contributor(s): Michel Selten,
+ *                 Willian P. Germano,
+ *                 Chris Keith,
+ *                 Campbell Barton
  *
  * ***** END GPL LICENSE BLOCK *****
  */
@@ -39,14 +42,10 @@
 struct Object; /* DNA_object_types.h */
 struct ChannelDriver; /* DNA_anim_types.h */
 struct ListBase; /* DNA_listBase.h */
-struct SpaceText; /* DNA_space_types.h */
-struct ScrArea; /* DNA_screen_types.h */
-struct bScreen; /* DNA_screen_types.h */
 struct bConstraint; /* DNA_constraint_types.h */
 struct bPythonConstraint; /* DNA_constraint_types.h */
 struct bConstraintOb; /* DNA_constraint_types.h */
 struct bConstraintTarget; /* DNA_constraint_types.h*/
-struct BPyMenu;
 struct bContext;
 struct bContextDataResult;
 struct ReportList;
@@ -61,16 +60,9 @@
 void BPY_pyconstraint_update(struct Object *owner, struct bConstraint *con);
 int BPY_is_pyconstraint(struct Text *text);
 //     void BPY_free_pyconstraint_links(struct Text *text);
-//
+
 void BPY_python_start(int argc, const char **argv);
 void BPY_python_end(void);
-//     void init_syspath(int first_time);
-//     void syspath_append(char *dir);
-//     void BPY_rebuild_syspath(void);
-//     int BPY_path_update(void);
-//
-//     int BPY_Err_getLinenumber(void);
-//     const char *BPY_Err_getFilename(void);
 
 /* 2.5 UI Scripts */
 int            BPY_filepath_exec(struct bContext *C, const char *filepath, 
struct ReportList *reports);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to