Commit Graph

13094 Commits

Author SHA1 Message Date
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
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
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
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
Ton Roosendaal
12f099bd91 2.5
FileWindow: fixes for Make and Scons, and removed
(commented) unused vars, and adding include files.
2009-01-06 16:15:43 +00:00
Andrea Weikert
7e7fff7f63 2.5
fix wrong parameter list, I should have read those warnings a bit better!
2009-01-06 15:58:37 +00:00
Andrea Weikert
b1cb844e05 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
- ...
2009-01-06 14:42:54 +00:00
Ton Roosendaal
10e6566aeb 2.5
Bugfix: some old dangling globals still crash lattice.
Editmode lattice has to be coded still, but now Mancandy
loads again :)
2009-01-06 12:30:44 +00:00
Andrea Weikert
fbd3eb99f2 2.5
small cleanup of header include guards.
2009-01-06 10:31:25 +00:00
Ton Roosendaal
745d895a85 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.
2009-01-06 10:30:34 +00:00
Ton Roosendaal
e01b5a0252 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".
2009-01-06 10:09:39 +00:00
Andrea Weikert
aa95fc1768 2.5 MSVC9 projectfiles
updates:
* stubs.c was moved from editors/screen to python
* RNA: rna_action.c
* Armature: all in editors/armature added.
2009-01-06 09:08:43 +00:00
Martin Poirier
701091322a 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
2009-01-06 02:27:07 +00:00
Nicholas Bishop
21b80568b6 Changed "opacity" property for brushes to "strength", since brushes will
be used for sculpt as well as painting (and particle edit too?)
2009-01-06 01:37:12 +00:00
Nicholas Bishop
0d9feca157 Added RNA for color ramps, as well as color-ramp properties for material
and color.
2009-01-06 00:56:20 +00:00
Michael Fox
c16c6c0536 2.5
******
small commit, ported cameratoview3d, please check i have the correct naming and notifier
2009-01-06 00:19:47 +00:00
Campbell Barton
be67aac493 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.
2009-01-05 23:53:37 +00:00
Nathan Letwory
8a8585cda9 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.
2009-01-05 23:53:04 +00:00
Joshua Leung
9986642d27 2.5 scons fix
Priority for armature module was too low, and causing errors when linking with gcc
2009-01-05 23:08:59 +00:00
Nicholas Bishop
964b928cd6 More RNA properties for Material, including specularity and strand
settings. The DNA for Material is a real mess, should really be cleaned 
up.
2009-01-05 23:06:22 +00:00
Ton Roosendaal
833cc9c0c8 2.5
- Armature editmode back
- Armature pose and editmode selecting with mouse back
- Posemode only works with 3d window header now.
2009-01-05 19:32:04 +00:00
Ton Roosendaal
3aae2de773 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.
2009-01-05 17:20:40 +00:00
Nicholas Bishop
42a006629f added rna_action.c to cmake 2009-01-05 17:09:30 +00:00
Nathan Letwory
6dedaf2dc2 2.5
Fix linking for msvc.
2009-01-05 16:54:28 +00:00