svn merge ^/trunk/blender -r43294:43338
[blender.git] / source / blender / editors / curve / editcurve.c
index 22568cd676ebe8c27a777ac9c7c2d6f34b1f8980..2f5272e37b0eef96ec55ee8eed30b8065bdc576d 100644 (file)
@@ -4607,8 +4607,6 @@ static int addvert_Nurb(bContext *C, short mode, float location[3])
                }
        }
 
-       // XXX retopo_do_all();
-
        if(ok) {
                test2DNurb(nu);
 
@@ -4636,7 +4634,7 @@ static int add_vertex_invoke(bContext *C, wmOperator *op, wmEvent *event)
 {
        RegionView3D *rv3d= CTX_wm_region_view3d(C);
 
-       if(rv3d && !RNA_property_is_set(op->ptr, "location")) {
+       if(rv3d && !RNA_struct_property_is_set(op->ptr, "location")) {
                Curve *cu;
                ViewContext vc;
                float location[3];