Commit Graph

47594 Commits

Author SHA1 Message Date
Joshua Leung
a93e253103 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. ;)
2009-01-09 06:25:14 +00:00
Nicholas Bishop
50428d3a2f Removed more bad function calls in sculpt. 2009-01-09 05:33:28 +00:00
Nicholas Bishop
89ac0d91ae Cleaned up some missing functions in sculpt. 2009-01-09 05:24:11 +00:00
Nicholas Bishop
690c60f9fc More sculpt cleanup, removed sculpt_data and sculpt_session functions,
both of which used G(lobal)
2009-01-09 00:38:48 +00:00
Matt Ebb
0572f1a5f6 * fixed an incredibly silly typo-bug in light cache 2009-01-08 22:49:03 +00:00
Andrea Weikert
879aa81743 2.5 filebrowser
cleanup of space initialisation
fix for filebrowser opening with wrong parameters from window pupmenu after having been opened with F1.
2009-01-08 18:47:16 +00:00
Martin Poirier
133ddcff04 display overdrawn stroke in gray, to easily see what is being replaced. 2009-01-08 18:23:48 +00:00
Martin Poirier
a8f8bf1dc5 2.5
Transform editbones
2009-01-08 17:12:50 +00:00
Martin Poirier
a6c0b968ba 2.5
Crash when loading certain files with armature. Use scene from context instead of local var (which can be null).
2009-01-08 16:52:30 +00:00
Brecht Van Lommel
b5fcf3daff RNA: don't pass RNA type in RNA_id_pointer_create, can be found automatically. 2009-01-08 15:33:34 +00:00
Brecht Van Lommel
8140c76ac6 RNA: fix crash in python code, forgot to update this part in a previous commit. 2009-01-08 15:29:09 +00:00
Brecht Van Lommel
bebe874a5b 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.
2009-01-08 13:57:29 +00:00
Brecht Van Lommel
b08f15aa08 2.5: make and cmake fixes for recent changes. 2009-01-08 13:54:39 +00:00
Joshua Leung
8e095b0e64 RNA - Action Wrapping
Removed flags used for Action Editor from wrapping for Action. These do not belong here!
2009-01-08 11:14:58 +00:00
Michael Fox
b2eb7f3664 2.5
******
- Ported set/clear slow parents
	- currently there is no keymap entries

- removed some unused functions and some tidying up
2009-01-08 02:50:37 +00:00
Martin Poirier
c6b6910c16 2.5
Fix compile errors
Remove stubs that duplicate code and set armature lib priority correctly (needs to link with mesh)
2009-01-08 00:24:59 +00:00
Martin Poirier
1240b0272d adjust strokes by redrawing over them
(has to be turned on in the panel because it can give unexpected results sometimes right now)

http://vimeo.com/2753749

http://blenderartists.org/~theeth/bf/etch-a-ton/adjust.ogv
2009-01-07 21:46:10 +00:00
Brecht Van Lommel
ff1db49e34 RNA
* DNA_userdef_types.h, done. Patch by Nathaniel Garbutt, thanks!
2009-01-07 21:05:51 +00:00
Nathan Letwory
bd456965b9 2.5
- make sure source compiles (redefinition of functions)
2009-01-07 20:40:27 +00:00
Ton Roosendaal
e4ce05dda7 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)
2009-01-07 19:23:22 +00:00
Nicholas Bishop
1bb2b174cb Fixed subsurf crash reported by mfoxdogg, was caused by not using an
editmesh for derivedmeshes when in editmode.
2009-01-07 18:03:12 +00:00
Ton Roosendaal
389dc100cc 2.5
More files back in the 2.5 repo:
(Note, boolean stuff moved to blenkernel)
2009-01-07 17:25:17 +00:00
Martin Poirier
6bb75d2d19 2.5
Add notifiers to transform to insure all windows of the correct type are redrawn.
2009-01-07 16:52:18 +00:00
Martin Poirier
78e2c81153 2.5
Add missing notifiers to node select, for proper redraw with multiple node windows.
2009-01-07 16:49:11 +00:00
Ton Roosendaal
637ffd1dfb 2.5
More globals discovered; lattice deform stored static
deform array and a matrix. Tsk!
2009-01-07 16:05:55 +00:00
Joseph Eagar
4746ada4e3 move back new api code 2009-01-07 15:17:58 +00:00
Nicholas Bishop
fd969911c5 Fixed cmake for pose rna 2009-01-07 15:04:13 +00:00
Ton Roosendaal
bf9080d9c1 2.5
Finished a couple of XXX todo's in drawing code,
attempt to fix subsurf crash... didnt work yet!
2009-01-07 14:46:50 +00:00
Roland Hess
1ff595a28e Conflicts resolved. Hadn't used the Resolve command last time. Brilliant. 2009-01-07 13:10:31 +00:00
Joshua Leung
5ef7b1f76f 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
2009-01-07 09:41:32 +00:00
Nicholas Bishop
a811d802dd 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
2009-01-07 04:38:30 +00:00
Roland Hess
23e3fdb28b 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. 2009-01-07 04:06:52 +00:00
Andrea Weikert
9dca31e74d 2.5 filebrowser
reverting unfinished code that accidentally was committed with last commit.
2009-01-06 23:17:30 +00:00
Nicholas Bishop
d0047abdbe Commented out a few more tablet functions. 2009-01-06 22:49:08 +00:00
Andrea Weikert
4ef6bb5559 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.
2009-01-06 22:48:58 +00:00
Nathan Letwory
cd6a9198d0 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).
2009-01-06 22:42:39 +00:00
Nicholas Bishop
a2e645bf71 Brought back sculpt code. Commented out a lot of things, so it compiles.
Does nothing more impressive than that for now.
2009-01-06 21:23:42 +00:00
Andrea Weikert
3476db534d 2.5 filebrowser
fix for error in sdna building, wrongly recognized struct and alignment fix.
2009-01-06 20:20:37 +00:00
Nicholas Bishop
3813874ef7 Added RNA for Multires modifier. 2009-01-06 20:15:23 +00:00
Nicholas Bishop
b01ed287e9 Fixed a warning (missing include) 2009-01-06 19:59:17 +00:00
Martin Poirier
7ca7f8fcd9 2.5
3D view drawtype change operator

No more pressing Z a couple of times for nothing.
2009-01-06 19:58:42 +00:00
Ton Roosendaal
35f0149bb9 2.5
Small context bug when switching screens, Context didn't get updated
well. (solves crash in windows, on exit full screen file browser)
2009-01-06 19:49:45 +00:00
Andrea Weikert
fc28d3cf75 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
2009-01-06 19:22:29 +00:00
Martin Poirier
9b3727b5e0 Fix crasher on non-reset pointer. Mostly happened panning view while drawing. 2009-01-06 19:00:22 +00:00
Nicholas Bishop
25e5765f47 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.
2009-01-06 18:59:03 +00:00
Ton Roosendaal
02003021a6 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).
2009-01-06 18:52:18 +00:00
Ton Roosendaal
1c933cdb78 2.5
Cleaned area prevspace, and made exported API for it.
Also added operator-free on 'cancel' in filewindow.
2009-01-06 18:14:37 +00:00
Martin Poirier
f6f309d2d1 In the panel, next to the number of joints, display the name of the current bone while sketching joints. Displays "Bone offset" when the next bone is not connected. Displays "Done" when all joints have been draw (note: you can draw more joints then needed, the retargetting algo will use the most useful ones).
Convert gesture is back. This time, it's a 3 straight line that cross itself once gesture (like drawing a triangle and recrossing the first line).
2009-01-06 18:10:13 +00:00
Ton Roosendaal
e99d12508e 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. :)
2009-01-06 17:38:44 +00:00
Andrea Weikert
650c63ec22 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
2009-01-06 16:47:01 +00:00