2
0
Эх сурвалжийг харах

Merge pull request #17319 from eska014/polyclipper-toolsonly

Build polygon clipper only in tools builds
Rémi Verschelde 7 жил өмнө
parent
commit
08415d0f53
2 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 0 1
      core/SCsub
  2. 1 0
      editor/SCsub

+ 0 - 1
core/SCsub

@@ -68,7 +68,6 @@ thirdparty_sources = [
 	"md5.cpp",
 	"pcg.cpp",
 	"triangulator.cpp",
-	"clipper.cpp",
 ]
 thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
 env.add_source_files(env.core_sources, thirdparty_sources)

+ 1 - 0
editor/SCsub

@@ -466,6 +466,7 @@ if env['tools']:
 
 
     env.add_source_files(env.editor_sources, "*.cpp")
+    env.add_source_files(env.editor_sources, ["#thirdparty/misc/clipper.cpp"])
 
     SConscript('collada/SCsub')
     SConscript('doc/SCsub')