Commit Graph

15315 Commits

Author SHA1 Message Date
Andrea Weikert
ad3d552226 2.5 MSVC9 projectfiles
update: editors/sculpt files
2009-01-06 22:41:47 +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
Roland Hess
c74ffeb700 File structure and stubby for wrapping action dna types. 2009-01-05 16:31:00 +00:00
Ton Roosendaal
c6d5604c82 2.5
More linking issues with armature commit, but we'll get there :)
2009-01-05 16:15:23 +00:00
Ton Roosendaal
73f852b3ac 2.5
Linking errors in other compilers; if-nulled the reeb stuff now.
2009-01-05 16:02:31 +00:00
Ton Roosendaal
41ee139c16 Yeah, and then the game engine too! 2009-01-05 15:48:24 +00:00
Ton Roosendaal
aba83e417f 2.5
Typo in stub for meshlapacian.c
2009-01-05 15:35:49 +00:00
Ton Roosendaal
1fe21f7e8f 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! :)
2009-01-05 15:19:31 +00:00
Joshua Leung
df20a12728 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
2009-01-05 09:54:39 +00:00
Matt Ebb
7de52578c0 * Added notifiers for camera rna
* Some tweaks to rna property descriptions
2009-01-05 05:42:48 +00:00
Nicholas Bishop
c5908d38ca Added RNA for Subsurface Scattering in Material. 2009-01-05 05:09:20 +00:00
Nicholas Bishop
039fadf669 Added RNA properties for Mist and Stars in World 2009-01-05 04:10:59 +00:00
Nicholas Bishop
55f450379e Added RNA for ambient occlusion 2009-01-05 03:44:19 +00:00
Joshua Leung
91be2ba9b5 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
2009-01-05 00:38:17 +00:00
Andrea Weikert
33dd818310 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
2009-01-04 19:39:35 +00:00
Brecht Van Lommel
6ec52fc1b5 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.
2009-01-04 19:25:24 +00:00
Ton Roosendaal
df6caaed1e 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.
2009-01-04 19:17:34 +00:00
Nathan Letwory
49631b6e40 2.5
- fix warnings for append_qt (missing param)
2009-01-04 19:16:13 +00:00
Martin Poirier
3009e10151 2.5
Missing call to free mesh octree in post transform function.
Was breaking x-mirror
2009-01-04 19:11:56 +00:00