2007-12-29 18:05:24 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
Import ('env')
|
|
|
|
|
|
|
|
|
|
|
2008-01-08 05:57:27 +00:00
|
|
|
SConscript(['datafiles/SConscript',
|
2008-12-12 10:18:26 +00:00
|
|
|
'space_api/SConscript',
|
2.5: work on bringing back SpaceTime options
- RMB select, also with SHIFT
- RMB tweak for translate
- SHIFT+D dupli
- BKEY border select/deselect
- AKEY (de)select all
- XKEY delete
- GKEY grab
Added some XXX comments for future todos, especially for when other
spaces come back with time markers.
Also added ED_util for putting in all to-be-cleaned cruft
Context conflict: input methods for Markers can conflict with other
spacetypes. It was solved in pre-2.5 with manually tweaking it all over,
but I would prefer one keymap for all marker stuff. Needs some thinking...
could be solved with a boundbox check for bottom part of 2d window.
Tweak issue: both tweak styles are possible:
- Hold mouse button, move, operator ends on mouse release
- Hold mouse button, move, operator ends on mouse click
Problem is that modally handled operators use fixed keymaps... like ESC,
SPACE, ENTER, or press/release mousebutton for 'assign'. There's a lot
to say for making this all consistant, or become part of 1 general keymap?
Should also be possibe to define 'tweak' defaults for Tablet different
than for mouse...
2008-11-29 15:10:31 +00:00
|
|
|
'util/SConscript',
|
2008-01-08 05:57:27 +00:00
|
|
|
'interface/SConscript',
|
2008-12-20 08:24:24 +00:00
|
|
|
'animation/SConscript',
|
2009-01-05 15:19:31 +00:00
|
|
|
'armature/SConscript',
|
2008-01-08 05:57:27 +00:00
|
|
|
'mesh/SConscript',
|
2009-07-29 12:35:09 +00:00
|
|
|
'metaball/SConscript',
|
2008-01-08 05:57:27 +00:00
|
|
|
'object/SConscript',
|
2009-01-14 13:18:10 +00:00
|
|
|
'curve/SConscript',
|
2009-01-14 16:13:50 +00:00
|
|
|
'gpencil/SConscript',
|
2009-01-24 13:45:24 +00:00
|
|
|
'physics/SConscript',
|
Sorry, three commits in one, became difficult to untangle..
Editors Modules
* render/ module added in editors, moved the preview render code there and
also shading related operators.
* physics/ module made more consistent with other modules. renaming files,
making a single physics_ops.c for operators and keymaps. Also move all
particle related operators here now.
* space_buttons/ now should have only operators relevant to the buttons
specificially.
Updates & Notifiers
* Material/Texture/World/Lamp can now be passed to DAG_id_flush_update,
which will go back to a callback in editors. Eventually these should
be in the depsgraph itself, but for now this gives a unified call for
doing updates.
* GLSL materials are now refreshed on changes. There's still various
cases missing,
* Preview icons now hook into this system, solving various update cases
that were missed before.
* Also fixes issue in my last commit, where some preview would not render,
problem is avoided in the new system.
Icon Rendering
* On systems with support for non-power of two textures, an OpenGL texture
is now used instead of glDrawPixels. This avoids problems with icons get
clipped on region borders. On my Linux desktop, this gives an 1.1x speedup,
and on my Mac laptop a 2.3x speedup overall in redrawing the full window,
with the default setup. The glDrawPixels implementation on Mac seems to
have a lot of overhread.
* Preview icons are now drawn using proper premul alpha, and never faded so
you can see them clearly.
* Also tried to fix issue with texture node preview rendering, globals can't
be used with threads reliably.
2009-09-29 19:12:12 +00:00
|
|
|
'render/SConscript',
|
2009-08-28 12:38:59 +00:00
|
|
|
'sound/SConscript',
|
2008-12-14 13:42:25 +00:00
|
|
|
'space_buttons/SConscript',
|
2008-12-14 11:41:16 +00:00
|
|
|
'space_file/SConscript',
|
2008-12-14 13:42:25 +00:00
|
|
|
'space_image/SConscript',
|
|
|
|
|
'space_info/SConscript',
|
2009-02-03 12:04:05 +00:00
|
|
|
'space_graph/SConscript',
|
2008-12-14 13:42:25 +00:00
|
|
|
'space_node/SConscript',
|
2008-12-12 20:11:45 +00:00
|
|
|
'space_outliner/SConscript',
|
2.5 Branch
==========
* Changed wmOperatorType, removing init/exit callbacks and adding cancel
callback, removed default storage in favor of properties. Defined return
values for exec/invoke/modal/cancel.
* Don't allocate operator on the stack, and removed operator copy for
handlers. Now it frees based on return values from callbacks, and just
keeps a wmOperator on the heap. Also it now registers after the operator
is fully finished, to get the correct final properties.
* Changed OP_get_* functions to return 1 if the property is found and 0
otherwise, gives more readable code in my opinion. Added OP_verify_*
functions to quickly check if the property is available and set if it's
not, that's common for exec/invoke.
* Removed WM_operatortypelist_append in favor of WM_operatortype_append
which takes a function pointer instead of a list, avoids macro's and
duplicating code.
* Fix a crash where the handler would still be used while it was freed by
the operator.
* Spacetypes now have operatortypes() and keymap() callbacks to abstract
them a bit more.
* Renamed C->curarea to C->area for consistency. Removed View3D/View2D/
SpaceIpo from bContext, seems bad to keep these.
* Set context variables like window/screen/area/region to NULL again when
leaving that context, instead of leaving the pointers there.
* Added if(G.f & G_DEBUG) for many of the prints, makes output a bit
cleaner and easier to debug.
* Fixed priority of the editors/interface module in scons, would otherwise
give link errors.
* Added start of generic view2d api.
* Added space_time with some basic drawing and a single operator to change
the frame.
2008-06-11 10:10:31 +00:00
|
|
|
'space_time/SConscript',
|
2008-01-08 05:57:27 +00:00
|
|
|
'space_view3d/SConscript',
|
2008-12-14 14:43:08 +00:00
|
|
|
'space_sound/SConscript',
|
|
|
|
|
'space_action/SConscript',
|
|
|
|
|
'space_nla/SConscript',
|
|
|
|
|
'space_script/SConscript',
|
|
|
|
|
'space_text/SConscript',
|
|
|
|
|
'space_sequencer/SConscript',
|
2009-06-16 13:09:36 +00:00
|
|
|
'space_logic/SConscript',
|
2009-07-16 00:50:27 +00:00
|
|
|
'space_console/SConscript',
|
2009-08-18 12:58:51 +00:00
|
|
|
'space_userpref/SConscript',
|
2008-12-25 18:29:56 +00:00
|
|
|
'transform/SConscript',
|
2009-01-06 22:42:39 +00:00
|
|
|
'screen/SConscript',
|
2009-02-19 23:53:40 +00:00
|
|
|
'sculpt_paint/SConscript',
|
2.5: Space Image ported back
Organized as follows:
uvedit/
uv editing related code
uvedit_draw.c: drawing code
uvedit_ops.c: operators, just a few done
uvedit_unwrap_ops.c: will be operators for unwrapping
uvedit_paramatrizer.c: lscm/abf/stretch/pack
space_image/
space_image.c: registration and common getter/setters
image_draw.c: drawing code, mostly functional
image_panels.c: panels, all commented out
image_render.c: render callbacks, non functional
image_ops.c: operators, only view navigation done
image_header.c: header, menus mostly done but missing buttons
Notes:
* Header menus consist only of Operator and RNA buttons, if they
are not implemented they're displayed grayed out. Ideally the full
header could work like this, but std_libbuttons looks problematic.
* Started using view2d code more than the old code, but for now it
still does own view2d management due to some very specific
requirements that the image window has. The drawing code however
is more clear hopefully, it only uses view2d, and there is no
switching between 'p' and 'f' view2d's anymore, it is always 'f'.
* In order to make uvedit operators more independent I move some
image space settings to scene toolsettings, and the current image
and its buffer is in the context. Especially sync selection and
select mode belonged there anyway as this cannot work correct with
different spaces having different settings anyway.
* Image paint is not back yet, did not want to put that together with
uvedit because there's really no code sharing.. perhaps vertex paint,
image paint and sculpt would be good to have in one module to share
brush code, partial redraw, etc better.
2009-01-15 04:38:18 +00:00
|
|
|
'uvedit/SConscript'])
|