Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/editors/include/ED_mesh.h5
-rw-r--r--source/blender/editors/interface/interface_layout.c2
-rw-r--r--source/blender/makesrna/intern/rna_ui.c8
-rw-r--r--source/blender/python/intern/bpy_rna.c1
4 files changed, 6 insertions, 10 deletions
diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h
index e7c5c7aaf95..6dff4ee6ca4 100644
--- a/source/blender/editors/include/ED_mesh.h
+++ b/source/blender/editors/include/ED_mesh.h
@@ -84,11 +84,6 @@ void ED_keymap_mesh(struct wmWindowManager *wm);
/* editmesh.c */
-/*accessor functions for editmesh, all access to editmesh must
- go through them!*/
-struct EditMesh *BKE_mesh_get_editmesh(struct Mesh *me);
-void BKE_mesh_end_editmesh(struct Mesh *me, struct EditMesh *em);
-
void ED_spacetypes_init(void);
void ED_keymap_mesh(struct wmWindowManager *wm);
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index df17743d96a..e0059041774 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -1262,7 +1262,7 @@ void uiRegionHeaderLayout(const bContext *C, ARegion *ar)
uiBlock *block;
uiLayout *layout;
HeaderType *ht;
- Header header = {};
+ Header header = {0};
float col[3];
int xco, yco;
diff --git a/source/blender/makesrna/intern/rna_ui.c b/source/blender/makesrna/intern/rna_ui.c
index c0b4fd28892..4ad5273dd5d 100644
--- a/source/blender/makesrna/intern/rna_ui.c
+++ b/source/blender/makesrna/intern/rna_ui.c
@@ -132,8 +132,8 @@ static void rna_Panel_unregister(const bContext *C, StructRNA *type)
static StructRNA *rna_Panel_register(const bContext *C, ReportList *reports, void *data, StructValidateFunc validate, StructCallbackFunc call, StructFreeFunc free)
{
ARegionType *art;
- PanelType *pt, dummypt = {};
- Panel dummypanel= {};
+ PanelType *pt, dummypt = {0};
+ Panel dummypanel= {0};
PointerRNA dummyptr;
int have_function[2];
@@ -224,8 +224,8 @@ static void rna_Header_unregister(const bContext *C, StructRNA *type)
static StructRNA *rna_Header_register(const bContext *C, ReportList *reports, void *data, StructValidateFunc validate, StructCallbackFunc call, StructFreeFunc free)
{
ARegionType *art;
- HeaderType *ht, dummyht = {};
- Header dummyheader= {};
+ HeaderType *ht, dummyht = {0};
+ Header dummyheader= {0};
PointerRNA dummyhtr;
int have_function[1];
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 627b240c65d..0b05b11deff 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -1010,6 +1010,7 @@ PyObject *pyrna_param_to_py(PointerRNA *ptr, PropertyRNA *prop, void *data)
PyObject *ret;
int type = RNA_property_type(prop);
int len = RNA_property_array_length(prop);
+
int a;
if(len > 0) {