MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / PropagateToConnectedFaces

Function PropagateToConnectedFaces

editor/HRoom.cpp:3236–3251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3234}
3235
3236void PropagateToConnectedFaces(room *rp, int facenum) {
3237 bool face_checked[MAX_FACES_PER_ROOM];
3238 int f, n_changed;
3239
3240 for (f = 0; f < rp->num_faces; f++)
3241 face_checked[f] = 0;
3242
3243 face_checked[facenum] = 1;
3244
3245 n_changed = PropagateToConnectedFacesSub(rp, facenum, face_checked);
3246
3247 EditorStatus("%d faces were retextured.", n_changed);
3248
3249 if (n_changed)
3250 World_changed = 1;
3251}

Calls 2

EditorStatusFunction · 0.85

Tested by

no test coverage detected