[Bf-blender-cvs] [9363c4de063] master: Simulation: Rename `physics` directory to `simulation`

Jacques Lucke noreply at git.blender.org
Thu Jul 16 14:28:52 CEST 2020


Commit: 9363c4de0635394548fa2eb8d205581313029775
Author: Jacques Lucke
Date:   Thu Jul 16 14:27:47 2020 +0200
Branches: master
https://developer.blender.org/rB9363c4de0635394548fa2eb8d205581313029775

Simulation: Rename `physics` directory to `simulation`

Function names will be updated in a separate commit.

This will be the place for the new particle system and other
code related to the Simulation data block. We don't want
to have all that code in blenkernel.

Approved by brecht.

===================================================================

M	source/blender/CMakeLists.txt
M	source/blender/blenkernel/CMakeLists.txt
M	source/blender/makesrna/intern/CMakeLists.txt
M	source/blender/render/CMakeLists.txt
R100	source/blender/physics/BPH_mass_spring.h	source/blender/simulation/BPH_mass_spring.h
R100	source/blender/physics/CMakeLists.txt	source/blender/simulation/CMakeLists.txt
R100	source/blender/physics/intern/BPH_mass_spring.cpp	source/blender/simulation/intern/BPH_mass_spring.cpp
R100	source/blender/physics/intern/ConstrainedConjugateGradient.h	source/blender/simulation/intern/ConstrainedConjugateGradient.h
R100	source/blender/physics/intern/eigen_utils.h	source/blender/simulation/intern/eigen_utils.h
R100	source/blender/physics/intern/hair_volume.cpp	source/blender/simulation/intern/hair_volume.cpp
R100	source/blender/physics/intern/implicit.h	source/blender/simulation/intern/implicit.h
R100	source/blender/physics/intern/implicit_blender.c	source/blender/simulation/intern/implicit_blender.c
R100	source/blender/physics/intern/implicit_eigen.cpp	source/blender/simulation/intern/implicit_eigen.cpp

===================================================================

diff --git a/source/blender/CMakeLists.txt b/source/blender/CMakeLists.txt
index 50edb0b55ee..e178b0f7935 100644
--- a/source/blender/CMakeLists.txt
+++ b/source/blender/CMakeLists.txt
@@ -112,7 +112,7 @@ add_subdirectory(blentranslation)
 add_subdirectory(blenloader)
 add_subdirectory(depsgraph)
 add_subdirectory(ikplugin)
-add_subdirectory(physics)
+add_subdirectory(simulation)
 add_subdirectory(gpu)
 add_subdirectory(imbuf)
 add_subdirectory(nodes)
diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt
index 97a283abbfb..30e6baf1a9d 100644
--- a/source/blender/blenkernel/CMakeLists.txt
+++ b/source/blender/blenkernel/CMakeLists.txt
@@ -36,7 +36,7 @@ set(INC
   ../makesrna
   ../modifiers
   ../nodes
-  ../physics
+  ../simulation
   ../shader_fx
   ../render/extern/include
   ../../../intern/ghost
diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt
index c2f1e204073..a6ed705ec67 100644
--- a/source/blender/makesrna/intern/CMakeLists.txt
+++ b/source/blender/makesrna/intern/CMakeLists.txt
@@ -360,7 +360,7 @@ blender_include_dirs(
   ../../imbuf
   ../../makesdna
   ../../nodes/
-  ../../physics
+  ../../simulation
   ../../windowmanager
   ../../editors/include
   ../../render/extern/include
diff --git a/source/blender/render/CMakeLists.txt b/source/blender/render/CMakeLists.txt
index f49c68a258d..e3c3cf712f9 100644
--- a/source/blender/render/CMakeLists.txt
+++ b/source/blender/render/CMakeLists.txt
@@ -32,7 +32,7 @@ set(INC
   ../makesdna
   ../makesrna
   ../nodes
-  ../physics
+  ../simulation
   ../../../intern/atomic
   ../../../intern/guardedalloc
   ../../../intern/mikktspace
diff --git a/source/blender/physics/BPH_mass_spring.h b/source/blender/simulation/BPH_mass_spring.h
similarity index 100%
rename from source/blender/physics/BPH_mass_spring.h
rename to source/blender/simulation/BPH_mass_spring.h
diff --git a/source/blender/physics/CMakeLists.txt b/source/blender/simulation/CMakeLists.txt
similarity index 100%
rename from source/blender/physics/CMakeLists.txt
rename to source/blender/simulation/CMakeLists.txt
diff --git a/source/blender/physics/intern/BPH_mass_spring.cpp b/source/blender/simulation/intern/BPH_mass_spring.cpp
similarity index 100%
rename from source/blender/physics/intern/BPH_mass_spring.cpp
rename to source/blender/simulation/intern/BPH_mass_spring.cpp
diff --git a/source/blender/physics/intern/ConstrainedConjugateGradient.h b/source/blender/simulation/intern/ConstrainedConjugateGradient.h
similarity index 100%
rename from source/blender/physics/intern/ConstrainedConjugateGradient.h
rename to source/blender/simulation/intern/ConstrainedConjugateGradient.h
diff --git a/source/blender/physics/intern/eigen_utils.h b/source/blender/simulation/intern/eigen_utils.h
similarity index 100%
rename from source/blender/physics/intern/eigen_utils.h
rename to source/blender/simulation/intern/eigen_utils.h
diff --git a/source/blender/physics/intern/hair_volume.cpp b/source/blender/simulation/intern/hair_volume.cpp
similarity index 100%
rename from source/blender/physics/intern/hair_volume.cpp
rename to source/blender/simulation/intern/hair_volume.cpp
diff --git a/source/blender/physics/intern/implicit.h b/source/blender/simulation/intern/implicit.h
similarity index 100%
rename from source/blender/physics/intern/implicit.h
rename to source/blender/simulation/intern/implicit.h
diff --git a/source/blender/physics/intern/implicit_blender.c b/source/blender/simulation/intern/implicit_blender.c
similarity index 100%
rename from source/blender/physics/intern/implicit_blender.c
rename to source/blender/simulation/intern/implicit_blender.c
diff --git a/source/blender/physics/intern/implicit_eigen.cpp b/source/blender/simulation/intern/implicit_eigen.cpp
similarity index 100%
rename from source/blender/physics/intern/implicit_eigen.cpp
rename to source/blender/simulation/intern/implicit_eigen.cpp



More information about the Bf-blender-cvs mailing list