Ton Roosendaal [Sun, 11 Jan 2009 18:35:16 +0000 (18:35 +0000)]
2.5
Testing commit; this puts back support for swap-exchange graphics
cards, which I had hoped to have faded out... but it appears it
still does it for intel and some atis.
This only swap-exchanges properly for areas/regions, not for
menus or the 'action zone triange'. Let's see if it works!
You enable it with starting with commandline option -E
Martin Poirier [Sun, 11 Jan 2009 18:27:41 +0000 (18:27 +0000)]
2.5
Use context to get selected objects for transform
Andrea Weikert [Sun, 11 Jan 2009 15:15:15 +0000 (15:15 +0000)]
2.5 MSVC9 projectfiles
small update:
* added editors/space_ipo(ipo_draw.c
* added editors/object/editconstraint.c
Brecht Van Lommel [Sat, 10 Jan 2009 22:57:33 +0000 (22:57 +0000)]
RNA
* Finished DNA_lamp_types.h, DNA_world_types.h and DNA_sound_types.h.
* Renamed "parent" struct property to "nested", and also remaining "from"
usage to "base".
* Added a NEVER_NULL subtype for pointers and use it for all properties
that apply.
* Make sure all structs have a description, and fix any other DOC_BROKEN
descriptions, also many other naming consistency improvements.
Martin Poirier [Sat, 10 Jan 2009 19:45:48 +0000 (19:45 +0000)]
2.5
Transform operator replay support for constraints.
Code isn't nice, will have to split some properties to separate what's part of the "saved data" from operator arguments.
Ton Roosendaal [Sat, 10 Jan 2009 19:34:23 +0000 (19:34 +0000)]
2.5
Instead of many commits, here 1!
- Constraint edit code back
- Removed XXX stubs for constraints
(make parent follow path works)
- Removed XXX stubs for armature
(make parent deform, do center, etc works)
- Found a bad uninitialized global Scene * in code, especially
in kernel it wreaked havoc.
- added missing include in blenkernel/brush.c
- fixed Nicholas' fix for editmode subsurf crash
(It needed to check for editmode)
Martin Poirier [Sat, 10 Jan 2009 18:33:16 +0000 (18:33 +0000)]
2.5
Transform draw callback: constraints, snapping, prop circle
Ton Roosendaal [Sat, 10 Jan 2009 17:38:29 +0000 (17:38 +0000)]
2.5
Bugfix; 64 bits alignment error in vpaint. tsk to me!
Ton Roosendaal [Sat, 10 Jan 2009 17:20:34 +0000 (17:20 +0000)]
2.5
Removed another bad global "editbutvweight", a value from buttons
used to paint weights with, or to set weights. Is now part of
weightpaint struct in scene.
Ton Roosendaal [Sat, 10 Jan 2009 16:49:22 +0000 (16:49 +0000)]
2.5
Added custom data pointer to custom region_draw_cb
Also removed the test with green rect.
Martin Poirier [Sat, 10 Jan 2009 16:46:29 +0000 (16:46 +0000)]
2.5
rename transform mode enum to something proper
Ton Roosendaal [Sat, 10 Jan 2009 14:19:14 +0000 (14:19 +0000)]
2.5
- Weightpaint back (CTRL+TAB or menu)
Also weightpaint is sortof non-modal, allowing to use all existing
hotkeys while in paint mode. Only leftmouse is overridden.
- Made vpaint and wpaint entirely local, stored in scene (and saved!)
- Small bugfix (also in 2.48): on weightpaint mode, all armature objects
in 3d window were drawing as active poses. Now only the armature
deformer is.
Nice point for the UI agenda: are paint modes on ACTION mouse? Only then
you can combine it with SELECT mouse...
Ton Roosendaal [Sat, 10 Jan 2009 14:03:00 +0000 (14:03 +0000)]
2.5
Popup menus were tagged with wrong direction, so arrow keys or
scrollwheel didn't work.
Campbell Barton [Sat, 10 Jan 2009 03:44:02 +0000 (03:44 +0000)]
added more parent properties for grouped rna stricts
Campbell Barton [Fri, 9 Jan 2009 16:08:47 +0000 (16:08 +0000)]
added rna property "parent" so nested RNA structs can access their parent RNA struct
This is used for generating docs so a nested RNA struct such as MaterialRaytraceTransparency are listed under Material rather then in the global struct list)
These RNA structs are used for grouping properties and don't correspond to a C structure.
Ton Roosendaal [Fri, 9 Jan 2009 15:04:52 +0000 (15:04 +0000)]
2.5
New: Custom region draw callbacks.
For Martin: an example is now in space_view3d/view3d_edit.c
On middlemouse rotate view, it draws a small square in center.
It works likes this:
#include "ED_space_api.h"
handle= ED_region_draw_cb_activate(region->type, drawfunc, type)
and to stop it:
ED_region_draw_cb_exit(region->type, handle)
drawfunc is of type (const bContext *C, ARegion *ar)
currently it gets called only as type REGION_DRAW_POST, later we
can add more (PRE, POST_XRAY, POST_2D, etc).
For correct usage, these calls should return leaving view transform
unaltered.
Ton Roosendaal [Fri, 9 Jan 2009 13:55:45 +0000 (13:55 +0000)]
2.5
Vertex Paint back!
Added WM level "paint cursor" system, which manages a custom painting
cursor for tools or modes.
- Activate it with WM_paint_cursor_activate(). That function wants two
callbacks, a poll(C) to check whether there's a cursor in given context
and ARegion, and a draw(C, x, y) which gets called when appropriate.
- While paintcursor is active, the WM handles necessary redrawing events
for all regions, also to nicely clear the cursor on region exit.
- WM_paint_cursor_activate returns a handle, which you have to use to
end the paint cursor. This handle also means you can register as many
custom cursors as you want.
At the moment, vertex paint mode registers only a mousemove handler,
all other events are still normally handled. This is stuff for the
future todo.
Joshua Leung [Fri, 9 Jan 2009 06:25:14 +0000 (06:25 +0000)]
2.5 - IPO Editor
Porting relevant drawing code over from AnimSys2. It is currently not hooked up to anything else yet, so don't expect any curves to draw for a while. I'll need this for validating that my recorded animation system will work. ;)
Nicholas Bishop [Fri, 9 Jan 2009 05:33:28 +0000 (05:33 +0000)]
Removed more bad function calls in sculpt.
Nicholas Bishop [Fri, 9 Jan 2009 05:24:11 +0000 (05:24 +0000)]
Cleaned up some missing functions in sculpt.
Nicholas Bishop [Fri, 9 Jan 2009 00:38:48 +0000 (00:38 +0000)]
More sculpt cleanup, removed sculpt_data and sculpt_session functions,
both of which used G(lobal)
Andrea Weikert [Thu, 8 Jan 2009 18:47:16 +0000 (18:47 +0000)]
2.5 filebrowser
cleanup of space initialisation
fix for filebrowser opening with wrong parameters from window pupmenu after having been opened with F1.
Andrea Weikert [Thu, 8 Jan 2009 18:20:47 +0000 (18:20 +0000)]
2.5 MSVC9 projectfiles
* update of RNA project after reorganisation
* added editors/space_view3d/vpaint.c and editors/mesh/editdeforn.c to projectfiles
Martin Poirier [Thu, 8 Jan 2009 17:12:50 +0000 (17:12 +0000)]
2.5
Transform editbones
Martin Poirier [Thu, 8 Jan 2009 16:52:30 +0000 (16:52 +0000)]
2.5
Crash when loading certain files with armature. Use scene from context instead of local var (which can be null).
Brecht Van Lommel [Thu, 8 Jan 2009 15:33:34 +0000 (15:33 +0000)]
RNA: don't pass RNA type in RNA_id_pointer_create, can be found automatically.
Brecht Van Lommel [Thu, 8 Jan 2009 15:29:09 +0000 (15:29 +0000)]
RNA: fix crash in python code, forgot to update this part in a previous commit.
Brecht Van Lommel [Thu, 8 Jan 2009 13:57:29 +0000 (13:57 +0000)]
RNA
* The generated code is now split into multiple files instead
of a single big one. Scons, make and cmake are updated to
deal with this.
Brecht Van Lommel [Thu, 8 Jan 2009 13:54:39 +0000 (13:54 +0000)]
2.5: make and cmake fixes for recent changes.
Joshua Leung [Thu, 8 Jan 2009 11:14:58 +0000 (11:14 +0000)]
RNA - Action Wrapping
Removed flags used for Action Editor from wrapping for Action. These do not belong here!
Michael Fox [Thu, 8 Jan 2009 02:50:37 +0000 (02:50 +0000)]
2.5
******
- Ported set/clear slow parents
- currently there is no keymap entries
- removed some unused functions and some tidying up
Martin Poirier [Thu, 8 Jan 2009 00:24:59 +0000 (00:24 +0000)]
2.5
Fix compile errors
Remove stubs that duplicate code and set armature lib priority correctly (needs to link with mesh)
Brecht Van Lommel [Wed, 7 Jan 2009 21:05:51 +0000 (21:05 +0000)]
RNA
* DNA_userdef_types.h, done. Patch by Nathaniel Garbutt, thanks!
Nathan Letwory [Wed, 7 Jan 2009 20:40:27 +0000 (20:40 +0000)]
2.5
- make sure source compiles (redefinition of functions)
Ton Roosendaal [Wed, 7 Jan 2009 19:23:22 +0000 (19:23 +0000)]
2.5
Two more files, vpaint.c and editdeform.c
No functionality working related to this yet, tomorrow!
(Added editdeform.c in mesh after all, it's doing hardly no lattice
stuff, and it seems out of place in anim_api)
Andrea Weikert [Wed, 7 Jan 2009 18:04:14 +0000 (18:04 +0000)]
2.5 MSVC9 projectfiles
updates:
- booleanops.c and booleanops_mesh in blenkernel
- screendump.c in editors/screen
- keyval.c in editors/interface
- RNA: rna_pose.c
Nicholas Bishop [Wed, 7 Jan 2009 18:03:12 +0000 (18:03 +0000)]
Fixed subsurf crash reported by mfoxdogg, was caused by not using an
editmesh for derivedmeshes when in editmode.
Ton Roosendaal [Wed, 7 Jan 2009 17:25:17 +0000 (17:25 +0000)]
2.5
More files back in the 2.5 repo:
(Note, boolean stuff moved to blenkernel)
Martin Poirier [Wed, 7 Jan 2009 16:52:18 +0000 (16:52 +0000)]
2.5
Add notifiers to transform to insure all windows of the correct type are redrawn.
Martin Poirier [Wed, 7 Jan 2009 16:49:11 +0000 (16:49 +0000)]
2.5
Add missing notifiers to node select, for proper redraw with multiple node windows.
Ton Roosendaal [Wed, 7 Jan 2009 16:05:55 +0000 (16:05 +0000)]
2.5
More globals discovered; lattice deform stored static
deform array and a matrix. Tsk!
Nicholas Bishop [Wed, 7 Jan 2009 15:04:13 +0000 (15:04 +0000)]
Fixed cmake for pose rna
Ton Roosendaal [Wed, 7 Jan 2009 14:46:50 +0000 (14:46 +0000)]
2.5
Finished a couple of XXX todo's in drawing code,
attempt to fix subsurf crash... didnt work yet!
Roland Hess [Wed, 7 Jan 2009 13:10:31 +0000 (13:10 +0000)]
Conflicts resolved. Hadn't used the Resolve command last time. Brilliant.
Joshua Leung [Wed, 7 Jan 2009 09:41:32 +0000 (09:41 +0000)]
2.5
* Compiling fixes for RNA - removed duplicate RNA wrapping for posechannels, removed some irrelevant code, and fixed some errors.
* Commented out/removed some evil old stuff from pose-code
Nicholas Bishop [Wed, 7 Jan 2009 04:38:30 +0000 (04:38 +0000)]
Changes/cleanup for sculptdata and brushes. Summary:
* Removed texfade, wasn't a very useful option (same result can be created with the falloff curve)
* Removed CurveMapping from sculptdata, moved instead to Brush
* Removed rake field from sculptdata, moved to Brush.flag
* Moved Anchored flag from sculpt to Brush, same for direction field
* Removed BrushData, replaced usages with the regular Brush type
* Removed hardcoded brushes and brush_type from sculptdata, replaced with a pointer to the current Brush
* Made sculpt tool type settable in Brush
* Changed symmetry and axis lock fields to flags
Roland Hess [Wed, 7 Jan 2009 04:06:52 +0000 (04:06 +0000)]
Finally committing useful rna for action types. This includes actions, action channels and action groups. I broke both pose channels and pose off into their own rna. Links also updated in Object rna for both Action and Pose stuff.
Andrea Weikert [Tue, 6 Jan 2009 23:17:30 +0000 (23:17 +0000)]
2.5 filebrowser
reverting unfinished code that accidentally was committed with last commit.
Nicholas Bishop [Tue, 6 Jan 2009 22:49:08 +0000 (22:49 +0000)]
Commented out a few more tablet functions.
Andrea Weikert [Tue, 6 Jan 2009 22:48:58 +0000 (22:48 +0000)]
2.5 filebrowser
fixes for crashes that seem to have been introduced by changes in context handling.
TODO: initialization for windowtype pupmenu if a previous SpaceFile was there.
Nathan Letwory [Tue, 6 Jan 2009 22:42:39 +0000 (22:42 +0000)]
2.5 / Sculpt / SCons
* add SConscript to have it build with this buildsystem too :)
* commented out GHOST_Types.h - I guess any stuff that was used from it should be
properly done through event system (WM).
Andrea Weikert [Tue, 6 Jan 2009 22:41:47 +0000 (22:41 +0000)]
2.5 MSVC9 projectfiles
update: editors/sculpt files
Nicholas Bishop [Tue, 6 Jan 2009 21:23:42 +0000 (21:23 +0000)]
Brought back sculpt code. Commented out a lot of things, so it compiles.
Does nothing more impressive than that for now.
Andrea Weikert [Tue, 6 Jan 2009 20:20:37 +0000 (20:20 +0000)]
2.5 filebrowser
fix for error in sdna building, wrongly recognized struct and alignment fix.
Nicholas Bishop [Tue, 6 Jan 2009 20:15:23 +0000 (20:15 +0000)]
Added RNA for Multires modifier.
Nicholas Bishop [Tue, 6 Jan 2009 19:59:17 +0000 (19:59 +0000)]
Fixed a warning (missing include)
Martin Poirier [Tue, 6 Jan 2009 19:58:42 +0000 (19:58 +0000)]
2.5
3D view drawtype change operator
No more pressing Z a couple of times for nothing.
Ton Roosendaal [Tue, 6 Jan 2009 19:49:45 +0000 (19:49 +0000)]
2.5
Small context bug when switching screens, Context didn't get updated
well. (solves crash in windows, on exit full screen file browser)
Andrea Weikert [Tue, 6 Jan 2009 19:22:29 +0000 (19:22 +0000)]
2.5 filebrowser
further cleanup:
- moved struct FileList* back to SpaceFile
- fix for memory related errors and freeing operator in file_free
- removed wmSubWindowSet, we're not doing OpenGL select in filebrowser
- removed drawing of load button when invoked from windowtype pupmenu
2.5 MSVC projectfiles:
- slipped in removal of multires_firstlevel.c in blenkernel
Nicholas Bishop [Tue, 6 Jan 2009 18:59:03 +0000 (18:59 +0000)]
Got rid of old multires code, brought in multires modifier from
soc-2008-nicholasbishop branch.
Note: any old code with multires_test() or multires_level1_test() can
just be deleted, not needed by the multires modifier.
Ton Roosendaal [Tue, 6 Jan 2009 18:52:18 +0000 (18:52 +0000)]
2.5
Made ED_screen api calls:
- ED_screen_full_newspace()
- ED_screen_full_prevspace()
Which now gets called by F1 operator, to move to
full-screen-sized browser. For testing fun its default
now. Might become user setting. Also have to check
on opening a temp window for this (and for render).
Ton Roosendaal [Tue, 6 Jan 2009 18:14:37 +0000 (18:14 +0000)]
2.5
Cleaned area prevspace, and made exported API for it.
Also added operator-free on 'cancel' in filewindow.
Ton Roosendaal [Tue, 6 Jan 2009 17:38:44 +0000 (17:38 +0000)]
2.5
File window: load now happens with proper free of operator.
still a bit of mystery how main handler loop survives after
a file load... will investigate once. :)
Andrea Weikert [Tue, 6 Jan 2009 16:47:01 +0000 (16:47 +0000)]
2.5 filebrowser
- some more cleanup, use UI_text functions for text output rather than BMF_ directly
- removed some debug prints and some unused variables
Ton Roosendaal [Tue, 6 Jan 2009 16:15:43 +0000 (16:15 +0000)]
2.5
FileWindow: fixes for Make and Scons, and removed
(commented) unused vars, and adding include files.
Andrea Weikert [Tue, 6 Jan 2009 15:58:37 +0000 (15:58 +0000)]
2.5
fix wrong parameter list, I should have read those warnings a bit better!
Andrea Weikert [Tue, 6 Jan 2009 14:42:54 +0000 (14:42 +0000)]
2.5 - Start of filebrowser.
- basic drawing of list and thumbnail view (switchable through 'favourits' icon in header)
- selection of files and directories (bookmarks) works with the RMB (right mouse button)
- load operator for files still unstable (no check for correct file type) and incomplete. (WM_operator_free missing)
immediate TODOS:
- fix load file operator
- finish drawing of buttons in header
- drawing of detailed list with all file info.
- finish selection and execute operators (LMB and MMB execute)
later todos:
- parent dir
- keymap for all the shortcuts
- append/link and databrowse
- ...
Ton Roosendaal [Tue, 6 Jan 2009 12:30:44 +0000 (12:30 +0000)]
2.5
Bugfix: some old dangling globals still crash lattice.
Editmode lattice has to be coded still, but now Mancandy
loads again :)
Andrea Weikert [Tue, 6 Jan 2009 10:31:25 +0000 (10:31 +0000)]
2.5
small cleanup of header include guards.
Ton Roosendaal [Tue, 6 Jan 2009 10:30:34 +0000 (10:30 +0000)]
2.5
Bugfix: the area level Refresh callback was not getting Context set,
it was NULLed still. This fix allows bone selecting and seeing updates
in the action editor. Not other way around though, will investigate.
Ton Roosendaal [Tue, 6 Jan 2009 10:09:39 +0000 (10:09 +0000)]
2.5
Bugfix: WM gesture manager was not assigning gesture to the
context-defined region, making border select calls from a
header not work.
This fixes Node header option "Border select".
Andrea Weikert [Tue, 6 Jan 2009 09:08:43 +0000 (09:08 +0000)]
2.5 MSVC9 projectfiles
updates:
* stubs.c was moved from editors/screen to python
* RNA: rna_action.c
* Armature: all in editors/armature added.
Martin Poirier [Tue, 6 Jan 2009 02:27:07 +0000 (02:27 +0000)]
2.5
Transform Numeric Input: Inverse
Press "/" to toggle inverse value (1/N).
Makes it easy to scale down by specific values (you can just type S / 7 to scale down by 7, for example).
This doesn't give full fraction input (X/Y).
Suggestion from a talk with Gwenouille on ba.org
Nicholas Bishop [Tue, 6 Jan 2009 01:37:12 +0000 (01:37 +0000)]
Changed "opacity" property for brushes to "strength", since brushes will
be used for sculpt as well as painting (and particle edit too?)
Nicholas Bishop [Tue, 6 Jan 2009 00:56:20 +0000 (00:56 +0000)]
Added RNA for color ramps, as well as color-ramp properties for material
and color.
Michael Fox [Tue, 6 Jan 2009 00:19:47 +0000 (00:19 +0000)]
2.5
******
small commit, ported cameratoview3d, please check i have the correct naming and notifier
Campbell Barton [Mon, 5 Jan 2009 23:53:37 +0000 (23:53 +0000)]
since material ray/mirror/halo properties are now in their own RNA structs remove their prefix.
material.raytrace_transparency.ray_transparency_depth -> material.raytrace_transparency.depth
Also renamed...
ray_mirror to reflect,
mode_ray_mirror, mode_ray_transparency, mode_halo to "enabled" matching the SSS struct.
Nathan Letwory [Mon, 5 Jan 2009 23:53:04 +0000 (23:53 +0000)]
2.5 / Nodes / Border select
* bring border select (BKey), works in editor, but draws
badly only in header when initiated from menu, so that's
commented out for now.
Joshua Leung [Mon, 5 Jan 2009 23:08:59 +0000 (23:08 +0000)]
2.5 scons fix
Priority for armature module was too low, and causing errors when linking with gcc
Nicholas Bishop [Mon, 5 Jan 2009 23:06:22 +0000 (23:06 +0000)]
More RNA properties for Material, including specularity and strand
settings. The DNA for Material is a real mess, should really be cleaned
up.
Ton Roosendaal [Mon, 5 Jan 2009 19:32:04 +0000 (19:32 +0000)]
2.5
- Armature editmode back
- Armature pose and editmode selecting with mouse back
- Posemode only works with 3d window header now.
Ton Roosendaal [Mon, 5 Jan 2009 17:20:40 +0000 (17:20 +0000)]
2.5
Cleanup:
- Makefile was using confused link order, now all intern and
and extern libs are put after blender and editor libs
- Old stubs.c in editors/screen removed. The leftover python
stubs calls were moved to python module.
Nicholas Bishop [Mon, 5 Jan 2009 17:09:30 +0000 (17:09 +0000)]
added rna_action.c to cmake
Nathan Letwory [Mon, 5 Jan 2009 16:54:28 +0000 (16:54 +0000)]
2.5
Fix linking for msvc.
Roland Hess [Mon, 5 Jan 2009 16:31:00 +0000 (16:31 +0000)]
File structure and stubby for wrapping action dna types.
Ton Roosendaal [Mon, 5 Jan 2009 16:15:23 +0000 (16:15 +0000)]
2.5
More linking issues with armature commit, but we'll get there :)
Ton Roosendaal [Mon, 5 Jan 2009 16:02:31 +0000 (16:02 +0000)]
2.5
Linking errors in other compilers; if-nulled the reeb stuff now.
Ton Roosendaal [Mon, 5 Jan 2009 15:48:24 +0000 (15:48 +0000)]
Yeah, and then the game engine too!
Ton Roosendaal [Mon, 5 Jan 2009 15:35:49 +0000 (15:35 +0000)]
2.5
Typo in stub for meshlapacian.c
Ton Roosendaal [Mon, 5 Jan 2009 15:19:31 +0000 (15:19 +0000)]
2.5
Put back Armature/Pose code, including 'heat weight'.
I've added reeb.h to get things compile, but Martin will
cleanup files and put back?
Now where to put all vertexgroup code.... I guess mesh?
Note for msvc: yep, another new dir to add! :)
Joshua Leung [Mon, 5 Jan 2009 09:54:39 +0000 (09:54 +0000)]
2.5 - Animation Fixes + More Porting work in Action Editor
* Added crash fixes for loading old files with Actions/Armatures in them. Was caused by usage of some old globals still and the functions in question not performing NULL checks on the validity of the data they're given.
* Added back reorganise action channels tools (shift/ctrl-shif pageup/down) for Action Editor. These are only available in 'Action Mode' only.
* Tidied up Action Editor/Dopesheet tools code - removed various unused things, and also, added an API call in anim_deps.c to send the correct notifiers, since I anticipate that they're likely to require a few context checks which would be better to centralise than copy+paste everywhere.
Note to Ton: could you have a look at this notifier stuff here? I'm not sure which ones I should be sending...
* Also added a few assorted comments in various places
Matt Ebb [Mon, 5 Jan 2009 05:42:48 +0000 (05:42 +0000)]
* Added notifiers for camera rna
* Some tweaks to rna property descriptions
Nicholas Bishop [Mon, 5 Jan 2009 05:09:20 +0000 (05:09 +0000)]
Added RNA for Subsurface Scattering in Material.
Nicholas Bishop [Mon, 5 Jan 2009 04:10:59 +0000 (04:10 +0000)]
Added RNA properties for Mist and Stars in World
Nicholas Bishop [Mon, 5 Jan 2009 03:44:19 +0000 (03:44 +0000)]
Added RNA for ambient occlusion
Joshua Leung [Mon, 5 Jan 2009 00:38:17 +0000 (00:38 +0000)]
2.5 - Various Cleanups/Fixes
* Animation channels - cleaned up the code for selecting channels (removed various TODO stuff that's going to be replaced by something better later). Also, added back the ctrl-shift select feature for groups, which should be extended for other channels too at some stage.
* Outliner - added missing flags to do-versions, and replaced the width calculations with the rna-width version for now, as that uses constant width of 100 with OL_X*indention
Andrea Weikert [Sun, 4 Jan 2009 19:39:35 +0000 (19:39 +0000)]
2.5 MSVC9 projectfiles
updates:
* RNA: several files (rna_cloth, rna_object_force.c, rna_particle.c, rna_scriptlink.c, rna_text.c, rna_texture.c, rna_userdef.c)
* complete removal of verse and cleanup of WITH_VERSE from projectfiles
* deleted projectfiles for BL_src - not needed anymore.
* editors/mesh: mesh_intern.h was renamed from editmesh.h, new file mesh_ops.c
* editors/util: editmode_undo.c, undo.c and util_intern.h added
* editors/animation: anim_channels.c added
* editors/space_action: action_edit.c added
Brecht Van Lommel [Sun, 4 Jan 2009 19:25:24 +0000 (19:25 +0000)]
RNA
* DNA_cloth_types.h, patch by Roelf de Kock. The gravity[3] member
is not being parsed correct by makesdna.c and will give issues
even when trying to fix it. Worked around it for now in RNA by
wrapping it manually, but this should really be fixed in the DNA
genetics code, added a comment about it in DNA_cloth_types.h.
* Handle vertex groups and uv layers more consistent now. They are
all exposed as strings now. Reason is that indices don't really
say much, and a direct pointer is not always possible because for
example a uv layer in a material can be used for multiple objects
and so there is no single pointer. In python it is not too hard
to use either since the strings works as a key for lookups.
For the user interface we can later think of some method to
generate popup menus in a way that works for vertex groups,
uv layers, bones etc.
* This also fixes the XXX's in rna_modifier.c, I think that can be
marked done.
Ton Roosendaal [Sun, 4 Jan 2009 19:17:34 +0000 (19:17 +0000)]
2.5
Small cleanup in region-based cursor handling.
- callback was in spacetype, now in regiontype
- made screen listener catch ND_MODE notifier and
call the active region cursor callback, if it's there.
Nathan Letwory [Sun, 4 Jan 2009 19:16:13 +0000 (19:16 +0000)]
2.5
- fix warnings for append_qt (missing param)