Fix T65301: Convert to mesh with Keep Original loses adjust operator panel.
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 9 Jun 2019 21:43:33 +0000 (23:43 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Sun, 9 Jun 2019 21:43:33 +0000 (23:43 +0200)
That was a dummy typo in `duplibase_for_convert()` in fact...

source/blender/editors/object/object_add.c

index 77964e2e100b6d762cb89c3777995afb1d3629d9..2881163574b7901c2e295869884209121a7c00cb 100644 (file)
@@ -2024,7 +2024,7 @@ static Base *duplibase_for_convert(
 
   basen = BKE_view_layer_base_find(view_layer, obn);
   ED_object_base_select(basen, BA_SELECT);
-  ED_object_base_select(basen, BA_DESELECT);
+  ED_object_base_select(base, BA_DESELECT);
   return basen;
 }