Fix "Replace Meshes" in radiosity to actually only replace Meshes, and not
also delete lamps, cameras and anything else that was selected in the "Collect Meshes" phase.
This commit is contained in:
@@ -1046,7 +1046,11 @@ void rad_replacemesh(void)
|
||||
|
||||
rp= RG.patchbase.first;
|
||||
while(rp) {
|
||||
if( exist_object(rp->from)) rp->from->flag |= SELECT;
|
||||
if( exist_object(rp->from)) {
|
||||
if (rp->from->type == OB_MESH) {
|
||||
rp->from->flag |= SELECT;
|
||||
}
|
||||
}
|
||||
rp= rp->next;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user