blender.git
11 years agoAdded better gcc warnings in Cmake.
Nicholas Bishop [Wed, 14 Jan 2009 16:40:11 +0000 (16:40 +0000)]
Added better gcc warnings in Cmake.

11 years ago2.5
Ton Roosendaal [Wed, 14 Jan 2009 16:37:52 +0000 (16:37 +0000)]
2.5

A small round of warning cleanups; unused variables, missing
headers and some const types.

11 years ago2.5
Ton Roosendaal [Wed, 14 Jan 2009 16:13:50 +0000 (16:13 +0000)]
2.5

GPencil code back!

Joshua will probably take this further. I've added XXX notes
where fixes are required. Also note that ED_gpencil.h has
all old exports, which is probably not needed, most can go
to gpencil_intern.h

Also added Makefile fixes for sculpt

11 years agoMoved some more sculpt data into operator properties, also the test brush is now...
Nicholas Bishop [Wed, 14 Jan 2009 15:29:29 +0000 (15:29 +0000)]
Moved some more sculpt data into operator properties, also the test brush is now properly created so you can edit its state in the RNA viewer. Added an RNA property for the brush sculpt tool as well.

11 years ago2.5
Ton Roosendaal [Wed, 14 Jan 2009 13:18:10 +0000 (13:18 +0000)]
2.5

Hrmf; sconscript apparently can't do emtpy dirs!

11 years ago2.5
Ton Roosendaal [Wed, 14 Jan 2009 13:06:09 +0000 (13:06 +0000)]
2.5

Still old editNurb here... last part
(I committed in parts, have gpencil restored here and can't
commit that yet!)

11 years ago2.5
Ton Roosendaal [Wed, 14 Jan 2009 13:05:10 +0000 (13:05 +0000)]
2.5

Still old editNurb here...

11 years ago2.5
Ton Roosendaal [Wed, 14 Jan 2009 13:04:48 +0000 (13:04 +0000)]
2.5

Still some old editNurb here...

11 years ago2.5
Ton Roosendaal [Wed, 14 Jan 2009 12:26:45 +0000 (12:26 +0000)]
2.5

Another one back: editcurve.c

- removed global editNurb everywhere
  (cu->editnurb now has listbase with edit data)
- also added 'active bpoint' and 'active nurb' in
  Curve struct
- editmode in/out works, mouse/border select works

11 years agoMoved a couple more sculpt settings into operator properties, including shiftkey...
Nicholas Bishop [Wed, 14 Jan 2009 03:02:44 +0000 (03:02 +0000)]
Moved a couple more sculpt settings into operator properties, including shiftkey for flipping stroke direction in or out

11 years agoNoticed that sculpt was quite slow because of string lookups in RNA, so added a separ...
Nicholas Bishop [Tue, 13 Jan 2009 23:21:05 +0000 (23:21 +0000)]
Noticed that sculpt was quite slow because of string lookups in RNA, so added a separate sculpt stroke cache for some values that usually aren't even changed except at stroke initialization.

11 years ago2.5 / Keymap definition
Nathan Letwory [Tue, 13 Jan 2009 21:18:05 +0000 (21:18 +0000)]
2.5 / Keymap definition
* For some reason builds on Windows would crash when tabbing into edit mode with default .b.blend
  Problem is that it is not very clear why it happens. The debug trace I managed to get pointed at
  SCRIPT_OT_run_pyfile being run when pressing TAB.
  Changing the way how this quickhack for running scripts is added made the crash go away, but this
  points at a potential problem in the creation of keymaps. The original form is the plenty used:

  RNA_string_set(WM_keymap_add_item(keymap, "SCRIPT_OT_run_pyfile", PKEY, KM_PRESS, 0, 0)->ptr, "filename", "test.py");

  But changing that to:

  km = WM_keymap_add_item(keymap, "SCRIPT_OT_run_pyfile", PKEY, KM_PRESS, 0, 0);
  RNA_string_set(km->ptr, "filename", "test.py");

  Properly prevents the execution of the script operator. It looks like somewhere
  something goes wrong, but no idea what, yet. Probably a good thing to investigate now!
  Apparently this doesn't happen on Linux (and probably not on OSX either).

11 years agoNow that modal sculpt does stuff, added exec code. For this, added new Stroke RNA...
Nicholas Bishop [Tue, 13 Jan 2009 20:50:07 +0000 (20:50 +0000)]
Now that modal sculpt does stuff, added exec code. For this, added new Stroke RNA. For now, it's just 3D brush location, but lots more will be added (e.g. tablet pressure)

Pressing f4 to redo a stroke now works as expected.

11 years agoAdded missing sculpt header
Nicholas Bishop [Tue, 13 Jan 2009 20:38:43 +0000 (20:38 +0000)]
Added missing sculpt header

11 years ago2.5 MSVC9 projectfiles
Andrea Weikert [Tue, 13 Jan 2009 20:30:22 +0000 (20:30 +0000)]
2.5 MSVC9 projectfiles
* added new files in editors/object and editors/space_sequence
* added seqeffects.c in blenkernel

11 years agoMore sculpt work. Very very basic sculpt operators implemented, one for toggling...
Nicholas Bishop [Tue, 13 Jan 2009 19:57:36 +0000 (19:57 +0000)]
More sculpt work. Very very basic sculpt operators implemented, one for toggling the mode, the other for the brush. This just allows entering sculptmode and drawing using a simple brush. (Note the operator is still modal, no exec yet.)

11 years ago2.5 / Nodes
Nathan Letwory [Tue, 13 Jan 2009 19:28:18 +0000 (19:28 +0000)]
2.5 / Nodes
* add a list area for material/texture/scene selection.

11 years ago2.5 / SCons / Temporary Hack
Nathan Letwory [Tue, 13 Jan 2009 19:01:39 +0000 (19:01 +0000)]
2.5 / SCons / Temporary Hack
* curve, gpencil, physics and preview don't have sources yet, so scons fails on that. Disabled for now
  Ton, when you actually put something in those dirs, remember to uncomment them in the editors/SConscript.

11 years ago2.5 / Nodes
Nathan Letwory [Tue, 13 Jan 2009 17:10:56 +0000 (17:10 +0000)]
2.5 / Nodes
* forgot to revert this with previous commit

11 years ago2.5
Ton Roosendaal [Tue, 13 Jan 2009 16:18:18 +0000 (16:18 +0000)]
2.5

Added last few remaining modules in editors. Then the msvc
maintainer can already start typing! Only uv_paint is not
added, not sure how far Brecht is locally already.

11 years ago2.5
Ton Roosendaal [Tue, 13 Jan 2009 15:18:41 +0000 (15:18 +0000)]
2.5

- restored three more C files: editlattice, editkey
  and editgroup
- editmode lattice working, (mouse select works)
- accidentally removed yesterday 3d cursor drawing
- removed global editLatt entirely now.

11 years agofix from sirdude i patched and fixed my linkage erros in linux
Joilnen Leite [Tue, 13 Jan 2009 13:13:04 +0000 (13:13 +0000)]
fix from sirdude i patched and fixed my linkage erros in linux

11 years ago2.5
Ton Roosendaal [Tue, 13 Jan 2009 12:32:01 +0000 (12:32 +0000)]
2.5

Added poselib.c back, non functional entirely still.

11 years ago2.5
Ton Roosendaal [Tue, 13 Jan 2009 11:41:52 +0000 (11:41 +0000)]
2.5

Renamed sequencer file to conform editor specs.
Couldn't yesterday, svn refused for some reason :)

11 years ago 2.5
Michael Fox [Tue, 13 Jan 2009 09:48:25 +0000 (09:48 +0000)]
  2.5
******
small commit
- ported Select Linked (shift-L)
- it does have IPO for now

11 years ago 2.5
Michael Fox [Tue, 13 Jan 2009 05:31:33 +0000 (05:31 +0000)]
  2.5
*******

- Ported  ObData to center, center new and centur cursor
- its currently 1 operator
- no warning or error popups until its figured out how best to do so
- possibly full of ugly code and things done worng way, had a hard time trying to understand this code

- some more house cleaning and removal of unused functions

11 years agoedit mesh operators for edit mesh view
Shaul Kedem [Tue, 13 Jan 2009 02:09:58 +0000 (02:09 +0000)]
edit mesh operators for edit mesh view

11 years ago2.5
Joshua Leung [Mon, 12 Jan 2009 22:54:30 +0000 (22:54 +0000)]
2.5

* Tweaked a few incorrect comments in Constraints code
* Made Sequencer use View2D system correctly (only looked at the 'time-grid' thing so far).

11 years agoAdded pthread include for windows scons
Ton Roosendaal [Mon, 12 Jan 2009 19:14:33 +0000 (19:14 +0000)]
Added pthread include for windows scons

11 years ago2.5
Ton Roosendaal [Mon, 12 Jan 2009 19:02:08 +0000 (19:02 +0000)]
2.5

12k lines of sequencer back! Only seqaudio.c skipped for now.
Notes:

- it only draws now, nothing refreshes or edits.
- fixed bug in view2d.c with vertical grid step being 0.0f
- render code and fileselect code is #ifdeffed out
- sequence evaluation code moved to blenkernel, so it can
  be used for render without bad level calls

General note; sequencer code is very untidy, mixing styles too
much. Tried to clean it some, but it would be nice if formatting
is kept consistant from now on.

11 years ago2.5 / SCons / Nodes
Nathan Letwory [Mon, 12 Jan 2009 18:07:55 +0000 (18:07 +0000)]
2.5 / SCons / Nodes
* quick "typo" fix before anybody notices.

11 years ago2.5 / SCons
Nathan Letwory [Mon, 12 Jan 2009 16:55:46 +0000 (16:55 +0000)]
2.5 / SCons
- make sure WITH_BF_PYTHON=False is respected.

11 years ago2.5 / Nodes / SCons(mingw)
Nathan Letwory [Mon, 12 Jan 2009 15:25:17 +0000 (15:25 +0000)]
2.5 / Nodes / SCons(mingw)
* chop the nodes library into smaller parts
  - the addition of texture tree pushed the limits for scons/mingw
  - This should still have everything compile nicely, but please,
    maintainers of other build systems should check. The only interesting
    change for them is the difference in headers.

11 years ago2.5
Ton Roosendaal [Mon, 12 Jan 2009 09:04:53 +0000 (09:04 +0000)]
2.5

Quick fix; redraw 3d view when using header buttons

11 years ago2.5 / Nodes
Nathan Letwory [Mon, 12 Jan 2009 01:02:52 +0000 (01:02 +0000)]
2.5 / Nodes
* [Use nodes] added. For future improvements: a panel which enumerates
  materials, textures and scenes for selection and editing in the opened
  node-editor without having to set it in Buttons (or 'global' scene).

11 years ago2.5 / Nodes
Nathan Letwory [Mon, 12 Jan 2009 00:14:37 +0000 (00:14 +0000)]
2.5 / Nodes
* XKey for deleting selected nodes.

11 years ago2.5 / Nodes
Nathan Letwory [Mon, 12 Jan 2009 00:00:59 +0000 (00:00 +0000)]
2.5 / Nodes
* add nodes through header menu (no way to link them yet, though ;)
  Note: the adding needs to be properly operatorfied still.

11 years ago2.5
Nathan Letwory [Sun, 11 Jan 2009 23:48:53 +0000 (23:48 +0000)]
2.5
* when reading an old .blend 2.5 crashed on creating input node menu. type->name is for some reason NULL, so add simple check to prevent from happening again.

11 years agothis pretty ugly hand coded
Jens Ole Wund [Sun, 11 Jan 2009 22:42:21 +0000 (22:42 +0000)]
this pretty ugly hand coded
just to prevent this slips on first 'release'

11 years agoFixed an apparent typo, was checking for vertex paint twice.
Nicholas Bishop [Sun, 11 Jan 2009 21:42:39 +0000 (21:42 +0000)]
Fixed an apparent typo, was checking for vertex paint twice.

11 years ago2.5
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

11 years ago2.5
Martin Poirier [Sun, 11 Jan 2009 18:27:41 +0000 (18:27 +0000)]
2.5

Use context to get selected objects for transform

11 years ago2.5 MSVC9 projectfiles
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

11 years agoRNA
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.

11 years ago2.5
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.

11 years ago2.5
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)

11 years ago2.5
Martin Poirier [Sat, 10 Jan 2009 18:33:16 +0000 (18:33 +0000)]
2.5

Transform draw callback: constraints, snapping, prop circle

11 years ago2.5
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!

11 years ago2.5
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.

11 years ago2.5
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.

11 years ago2.5
Martin Poirier [Sat, 10 Jan 2009 16:46:29 +0000 (16:46 +0000)]
2.5

rename transform mode enum to something proper

11 years ago2.5
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...

11 years ago2.5
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.

11 years agoadded more parent properties for grouped rna stricts
Campbell Barton [Sat, 10 Jan 2009 03:44:02 +0000 (03:44 +0000)]
added more parent properties for grouped rna stricts

11 years agoadded rna property "parent" so nested RNA structs can access their parent RNA struct
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.

11 years ago2.5
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.

11 years ago2.5
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.

11 years ago2.5 - IPO Editor
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. ;)

11 years agoRemoved more bad function calls in sculpt.
Nicholas Bishop [Fri, 9 Jan 2009 05:33:28 +0000 (05:33 +0000)]
Removed more bad function calls in sculpt.

11 years agoCleaned up some missing functions in sculpt.
Nicholas Bishop [Fri, 9 Jan 2009 05:24:11 +0000 (05:24 +0000)]
Cleaned up some missing functions in sculpt.

11 years agoMore sculpt cleanup, removed sculpt_data and sculpt_session functions,
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)

11 years ago2.5 filebrowser
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.

11 years ago2.5 MSVC9 projectfiles
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

11 years ago2.5
Martin Poirier [Thu, 8 Jan 2009 17:12:50 +0000 (17:12 +0000)]
2.5

Transform editbones

11 years ago2.5
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).

11 years agoRNA: don't pass RNA type in RNA_id_pointer_create, can be found automatically.
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.

11 years agoRNA: fix crash in python code, forgot to update this part in a previous commit.
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.

11 years agoRNA
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.

11 years ago2.5: make and cmake fixes for recent changes.
Brecht Van Lommel [Thu, 8 Jan 2009 13:54:39 +0000 (13:54 +0000)]
2.5: make and cmake fixes for recent changes.

11 years agoRNA - Action Wrapping
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!

11 years ago 2.5
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

11 years ago2.5
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)

11 years agoRNA
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!

11 years ago2.5
Nathan Letwory [Wed, 7 Jan 2009 20:40:27 +0000 (20:40 +0000)]
2.5
- make sure source compiles (redefinition of functions)

11 years ago2.5
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)

11 years ago2.5 MSVC9 projectfiles
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

11 years agoFixed subsurf crash reported by mfoxdogg, was caused by not using an
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.

11 years ago2.5
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)

11 years ago2.5
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.

11 years ago2.5
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.

11 years ago2.5
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!

11 years agoFixed cmake for pose rna
Nicholas Bishop [Wed, 7 Jan 2009 15:04:13 +0000 (15:04 +0000)]
Fixed cmake for pose rna

11 years ago2.5
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!

11 years agoConflicts resolved. Hadn't used the Resolve command last time. Brilliant.
Roland Hess [Wed, 7 Jan 2009 13:10:31 +0000 (13:10 +0000)]
Conflicts resolved. Hadn't used the Resolve command last time. Brilliant.

11 years ago2.5
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

11 years agoChanges/cleanup for sculptdata and brushes. Summary:
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

11 years agoFinally committing useful rna for action types. This includes actions, action channel...
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.

11 years ago2.5 filebrowser
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.

11 years agoCommented out a few more tablet functions.
Nicholas Bishop [Tue, 6 Jan 2009 22:49:08 +0000 (22:49 +0000)]
Commented out a few more tablet functions.

11 years ago2.5 filebrowser
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.

11 years ago2.5 / Sculpt / SCons
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).

11 years ago2.5 MSVC9 projectfiles
Andrea Weikert [Tue, 6 Jan 2009 22:41:47 +0000 (22:41 +0000)]
2.5 MSVC9 projectfiles
update: editors/sculpt files

11 years agoBrought back sculpt code. Commented out a lot of things, so it compiles.
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.

11 years ago2.5 filebrowser
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.

11 years agoAdded RNA for Multires modifier.
Nicholas Bishop [Tue, 6 Jan 2009 20:15:23 +0000 (20:15 +0000)]
Added RNA for Multires modifier.

11 years agoFixed a warning (missing include)
Nicholas Bishop [Tue, 6 Jan 2009 19:59:17 +0000 (19:59 +0000)]
Fixed a warning (missing include)

11 years ago2.5
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.

11 years ago2.5
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)

11 years ago2.5 filebrowser
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

11 years agoGot rid of old multires code, brought in multires modifier from
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.