Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/intern/COM_Debug.cc
| Show First 20 Lines • Show All 445 Lines • ▼ Show 20 Lines | void DebugInfo::graphviz(const ExecutionSystem *system) | ||||
| if (graphviz_system(system, str, sizeof(str) - 1)) { | if (graphviz_system(system, str, sizeof(str) - 1)) { | ||||
| char basename[FILE_MAX]; | char basename[FILE_MAX]; | ||||
| char filename[FILE_MAX]; | char filename[FILE_MAX]; | ||||
| BLI_snprintf(basename, sizeof(basename), "compositor_%d.dot", m_file_index); | BLI_snprintf(basename, sizeof(basename), "compositor_%d.dot", m_file_index); | ||||
| BLI_join_dirfile(filename, sizeof(filename), BKE_tempdir_session(), basename); | BLI_join_dirfile(filename, sizeof(filename), BKE_tempdir_session(), basename); | ||||
| m_file_index++; | m_file_index++; | ||||
| std::cout << "Writing compositor debug to: " << filename << "\n"; | |||||
| FILE *fp = BLI_fopen(filename, "wb"); | FILE *fp = BLI_fopen(filename, "wb"); | ||||
| fputs(str, fp); | fputs(str, fp); | ||||
| fclose(fp); | fclose(fp); | ||||
| } | } | ||||
| } | } | ||||
| #else | #else | ||||
| Show All 39 Lines | |||||