Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2013-04-12 05:52:30 +0400
committerDalai Felinto <dfelinto@gmail.com>2013-04-12 05:52:30 +0400
commit1c80388a737b306ad07669b83c49801e4582a461 (patch)
tree0adac0bd2b8ecc6e553517d74bf9c8090995d319 /source/gameengine/Ketsji/KX_KetsjiEngine.h
parent502ddd312879316c13f66d84c4ffe0927df53a06 (diff)
bge fix: framing mode "Expanded" not updated when resizing blenderplayer
now, with a 'resize' routine for the engine we can/should also recreate some buffers that are created only at init time (e.g., 2d filters, dome fbos, ...). This bug was always present in Blender (since 2.49 at least). Bugfix supported by NF-UBC Nereus Program as part of the development of OceanViz/NereusViz
Diffstat (limited to 'source/gameengine/Ketsji/KX_KetsjiEngine.h')
-rw-r--r--source/gameengine/Ketsji/KX_KetsjiEngine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.h b/source/gameengine/Ketsji/KX_KetsjiEngine.h
index fdfe0551d18..0d7e41d7568 100644
--- a/source/gameengine/Ketsji/KX_KetsjiEngine.h
+++ b/source/gameengine/Ketsji/KX_KetsjiEngine.h
@@ -420,6 +420,13 @@ public:
GlobalSettings* GetGlobalSettings(void);
void SetGlobalSettings(GlobalSettings* gs);
+ /**
+ * Invalidate all the camera matrices and handle other
+ * needed changes when resized.
+ * It's only called from Blenderplayer.
+ */
+ void Resize();
+
protected:
/**
* Processes all scheduled scene activity.