Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Selecting and creating objects  (Read 1813 times)

Bekas

  • Veteran
  • ***
  • Karma: +0/-0
  • Posts: 116
    • View Profile
Selecting and creating objects
« on: July 24, 2006, 11:48:22 AM »

A minor issue: When the editor starts and you load a scene you can't select an object or create one with the buttons from the toolbar, until you open the WGE Scene Editor plugin; and if this plugin is opened from the start, you have to re-open it.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Selecting and creating objects
« Reply #1 on: July 24, 2006, 12:14:19 PM »

As for the first issue yes, currently, you have to select a plugin editor to be using. I do plan on making the editor activate itself at startup - replacing any other loaded editor. Now, in a real world usage, you should only have one editor plugin that is best suited for your project. So, this shouldn't be a problem. If however, you need features from several plugins at the same time, then which ever plugin sets itself active will just be the default one.

I planned to have a more explicit setting of this (and probably will in the future) - via the tools -> plugin manager (which is not implemented at all right now).

As for issue number 2. I don't know why it doesn't work for you. Here, it works fine. Start editor - select WGE Editor (not WGE SceneViewer), then load a project (or load project first), then open a scene. I can pick (which means that it is active).
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Selecting and creating objects
« Reply #2 on: July 24, 2006, 01:04:39 PM »

Ok, I've set the WGE Editor to activate itself at startup :) Committed to svn.
Logged

Bekas

  • Veteran
  • ***
  • Karma: +0/-0
  • Posts: 116
    • View Profile
Selecting and creating objects
« Reply #3 on: July 24, 2006, 01:11:36 PM »

Issue 2:
Ah, the WGE SceneViewer window was displayed from the start so I thought that the plugin is loaded on startup, my mistake. Keep it up!
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Selecting and creating objects
« Reply #4 on: July 24, 2006, 01:15:33 PM »

THe WGE SceneViewer starting up at the start, is because the way it creates the tabbed dockable window. It kindof has to be created before the docking config file is loaded (saved state information) so that it will be where the user left it last. So, if you hide it, close the editor, and restart it will be hidden.

I know this would not be very good for plugins really, so, most plugins should create their external tools as regular floating windows with tools on them (ie. not dockable and not using the docking manager) to avoid cluttering up the window with several tools when not in use.
Logged