mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-26 03:11:30 +00:00
Fix: Selection is now deleted when creating a patch out of it (aumüller / namespace)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@158 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
c4e2a20d08
commit
2e97c6dc9f
2 changed files with 6 additions and 1 deletions
4
CHANGES
4
CHANGES
|
@ -1,6 +1,10 @@
|
||||||
This is the changelog for developers, != changelog for the end user
|
This is the changelog for developers, != changelog for the end user
|
||||||
that we distribute with the binaries. (see changelog)
|
that we distribute with the binaries. (see changelog)
|
||||||
|
|
||||||
|
19/03/2007
|
||||||
|
namespace
|
||||||
|
- Fix: Selection is now deleted when creating a patch out of it (aumüller / namespace)
|
||||||
|
|
||||||
08/03/2007
|
08/03/2007
|
||||||
namespace
|
namespace
|
||||||
- Win32 compile fix (woekele)
|
- Win32 compile fix (woekele)
|
||||||
|
|
|
@ -46,8 +46,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
PatchCreator* g_patchCreator = 0;
|
PatchCreator* g_patchCreator = 0;
|
||||||
|
|
||||||
void Scene_PatchConstructPrefab(scene::Graph& graph, const AABB& aabb, const char* shader, EPatchPrefab eType, int axis, std::size_t width = 3, std::size_t height = 3)
|
void Scene_PatchConstructPrefab(scene::Graph& graph, const AABB aabb, const char* shader, EPatchPrefab eType, int axis, std::size_t width = 3, std::size_t height = 3)
|
||||||
{
|
{
|
||||||
|
Select_Delete();
|
||||||
GlobalSelectionSystem().setSelectedAll(false);
|
GlobalSelectionSystem().setSelectedAll(false);
|
||||||
|
|
||||||
NodeSmartReference node(g_patchCreator->createPatch());
|
NodeSmartReference node(g_patchCreator->createPatch());
|
||||||
|
|
Loading…
Reference in a new issue