[Bf-blender-cvs] [dc91d4261ff] usd-importer-T81257-merge: USD Import: removed unneeded includes.
makowalski
noreply at git.blender.org
Fri Mar 12 07:25:52 CET 2021
Commit: dc91d4261ff76ce4f97cda114a6ec447b3a3f6af
Author: makowalski
Date: Fri Mar 12 00:45:31 2021 -0500
Branches: usd-importer-T81257-merge
https://developer.blender.org/rBdc91d4261ff76ce4f97cda114a6ec447b3a3f6af
USD Import: removed unneeded includes.
===================================================================
M source/blender/io/usd/intern/usd_reader_light.cc
M source/blender/io/usd/intern/usd_reader_stage.cc
===================================================================
diff --git a/source/blender/io/usd/intern/usd_reader_light.cc b/source/blender/io/usd/intern/usd_reader_light.cc
index 65a7d33b2e9..72ca116386a 100644
--- a/source/blender/io/usd/intern/usd_reader_light.cc
+++ b/source/blender/io/usd/intern/usd_reader_light.cc
@@ -15,27 +15,14 @@
*/
#include "usd_reader_light.h"
-#include "usd_reader_prim.h"
extern "C" {
-#include "DNA_cachefile_types.h"
-#include "DNA_constraint_types.h"
#include "DNA_light_types.h"
-#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
-#include "DNA_space_types.h" /* for FILE_MAX */
-#include "BKE_constraint.h"
#include "BKE_light.h"
-#include "BKE_modifier.h"
#include "BKE_object.h"
-#include "BLI_listbase.h"
-#include "BLI_math.h"
-#include "BLI_math_geom.h"
-#include "BLI_string.h"
-#include "BLI_utildefines.h"
-
#include "WM_api.h"
#include "WM_types.h"
}
diff --git a/source/blender/io/usd/intern/usd_reader_stage.cc b/source/blender/io/usd/intern/usd_reader_stage.cc
index b8e802f0f1c..efd9a6809f2 100644
--- a/source/blender/io/usd/intern/usd_reader_stage.cc
+++ b/source/blender/io/usd/intern/usd_reader_stage.cc
@@ -36,30 +36,6 @@
#include <pxr/usd/usdGeom/scope.h>
#include <pxr/usd/usdLux/light.h>
-extern "C" {
-#include "DEG_depsgraph.h"
-#include "DEG_depsgraph_build.h"
-#include "DEG_depsgraph_query.h"
-
-#include "DNA_node_types.h"
-#include "DNA_scene_types.h"
-#include "DNA_world_types.h"
-
-#include "BKE_blender_version.h"
-#include "BKE_context.h"
-#include "BKE_global.h"
-#include "BKE_main.h"
-#include "BKE_node.h"
-#include "BKE_scene.h"
-#include "BKE_world.h"
-
-#include "BLI_fileops.h"
-#include "BLI_path_util.h"
-#include "BLI_string.h"
-
-#include "WM_api.h"
-#include "WM_types.h"
-}
#include <iostream>
namespace blender::io::usd {
More information about the Bf-blender-cvs
mailing list