Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / idprop.c
index e51c47d7b197690276fec4f48b2ace0271a39858..7c79e13cb01c7f4b88f02e4fd1881eebf6471d63 100644 (file)
@@ -891,7 +891,7 @@ IDProperty *IDP_New(const char type, const IDPropertyTemplate *val, const char *
                        *(float *)&prop->data.val = val->f;
                        break;
                case IDP_DOUBLE:
-                       prop = MEM_callocN(sizeof(IDProperty), "IDProperty float");
+                       prop = MEM_callocN(sizeof(IDProperty), "IDProperty double");
                        *(double *)&prop->data.val = val->d;
                        break;
                case IDP_ARRAY: