blender.git
10 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.

10 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.

10 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

10 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...

10 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.

10 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

10 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.

10 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.

10 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.

10 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. ;)

10 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.

10 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.

10 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)

10 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.

10 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

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

Transform editbones

10 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).

10 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.

10 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.

10 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.

10 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.

10 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!

10 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

10 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)

10 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!

10 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)

10 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)

10 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

10 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.

10 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)

10 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.

10 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.

10 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!

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

10 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!

10 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.

10 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

10 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

10 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.

10 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.

10 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.

10 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.

10 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).

10 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

10 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.

10 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.

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

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

10 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.

10 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)

10 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

10 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.

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

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

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

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

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

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

10 years ago2.5 - Start of filebrowser.
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
- ...

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

10 years ago2.5
Andrea Weikert [Tue, 6 Jan 2009 10:31:25 +0000 (10:31 +0000)]
2.5
small cleanup of header include guards.

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

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

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

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

10 years agoChanged "opacity" property for brushes to "strength", since brushes will
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?)

10 years agoAdded RNA for color ramps, as well as color-ramp properties for material
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.

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

10 years agosince material ray/mirror/halo properties are now in their own RNA structs remove...
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.

10 years ago2.5 / Nodes / Border select
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.

10 years ago2.5 scons fix
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

10 years agoMore RNA properties for Material, including specularity and strand
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.

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

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

10 years agoadded rna_action.c to cmake
Nicholas Bishop [Mon, 5 Jan 2009 17:09:30 +0000 (17:09 +0000)]
added rna_action.c to cmake

10 years ago2.5
Nathan Letwory [Mon, 5 Jan 2009 16:54:28 +0000 (16:54 +0000)]
2.5
Fix linking for msvc.

10 years agoFile structure and stubby for wrapping action dna types.
Roland Hess [Mon, 5 Jan 2009 16:31:00 +0000 (16:31 +0000)]
File structure and stubby for wrapping action dna types.

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

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

10 years agoYeah, and then the game engine too!
Ton Roosendaal [Mon, 5 Jan 2009 15:48:24 +0000 (15:48 +0000)]
Yeah, and then the game engine too!

10 years ago2.5
Ton Roosendaal [Mon, 5 Jan 2009 15:35:49 +0000 (15:35 +0000)]
2.5
Typo in stub for meshlapacian.c

10 years ago2.5
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! :)

10 years ago2.5 - Animation Fixes + More Porting work in Action Editor
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

10 years ago* Added notifiers for camera rna
Matt Ebb [Mon, 5 Jan 2009 05:42:48 +0000 (05:42 +0000)]
* Added notifiers for camera rna
* Some tweaks to rna property descriptions

10 years agoAdded RNA for Subsurface Scattering in Material.
Nicholas Bishop [Mon, 5 Jan 2009 05:09:20 +0000 (05:09 +0000)]
Added RNA for Subsurface Scattering in Material.

10 years agoAdded RNA properties for Mist and Stars in World
Nicholas Bishop [Mon, 5 Jan 2009 04:10:59 +0000 (04:10 +0000)]
Added RNA properties for Mist and Stars in World

10 years agoAdded RNA for ambient occlusion
Nicholas Bishop [Mon, 5 Jan 2009 03:44:19 +0000 (03:44 +0000)]
Added RNA for ambient occlusion

10 years ago2.5 - Various Cleanups/Fixes
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

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

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

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

10 years ago2.5
Nathan Letwory [Sun, 4 Jan 2009 19:16:13 +0000 (19:16 +0000)]
2.5
- fix warnings for append_qt (missing param)

10 years ago2.5
Martin Poirier [Sun, 4 Jan 2009 19:11:56 +0000 (19:11 +0000)]
2.5

Missing call to free mesh octree in post transform function.
Was breaking x-mirror

10 years ago2.5
Martin Poirier [Sun, 4 Jan 2009 19:10:57 +0000 (19:10 +0000)]
2.5

Fix compile error with AVI support

10 years ago2.5 / global cleanup fix
Nathan Letwory [Sun, 4 Jan 2009 18:26:43 +0000 (18:26 +0000)]
2.5 / global cleanup fix
- RenderData was missing from append_movie/avi

10 years ago2.5 / Cleanup
Nathan Letwory [Sun, 4 Jan 2009 18:16:34 +0000 (18:16 +0000)]
2.5 / Cleanup
- remove Verse support. This will be brought back in The Future (probably jiri + me)
  This means 5k lines less in blenkernel.
- fix two small errors for global cleanup, now compiles properly with FFMPEG enabled too.

10 years ago2.5
Ton Roosendaal [Sun, 4 Jan 2009 17:45:54 +0000 (17:45 +0000)]
2.5

WM: added area-listener, which can be used to tag refreshes for
either the drawing call, or use the new ED_area_tag_refresh()
function which will automatically call, after all notifiers
were handled, an the spacetype->refresh() you provided.

Added for Joshua, after reviewing Action/Dopesheet requirements.

Joshua: I've made two dummy functions in space_action.c:
- action_listener()
- action_refresh()

Wich now does a printf on activating a new object.

10 years ago2.5
Ton Roosendaal [Sun, 4 Jan 2009 14:14:06 +0000 (14:14 +0000)]
2.5

Think global, act local!

The old favorite G.scene gone! Man... that took almost 2 days.
Also removed G.curscreen and G.edbo.

Not everything could get solved; here's some notes.
- modifiers now store current scene in ModifierData. This is not
  meant for permanent, but it can probably stick there until we
  cleaned the anim system and depsgraph to cope better with
  timing issues.
- Game engine G.scene should become an argument for staring it.
  Didn't solve this yet.
- Texture nodes should get scene cfra, but the current implementation
  is too tightly wrapped to do it easily.

10 years ago* Enabled disabled drawing for 'locked' buttons
Matt Ebb [Sun, 4 Jan 2009 07:50:41 +0000 (07:50 +0000)]
* Enabled disabled drawing for 'locked' buttons
(made with uiBlockSetButLock())

10 years ago2.5 - Outliner/RNA Viewer View2d Fixes (Part 1)
Joshua Leung [Sun, 4 Jan 2009 04:21:32 +0000 (04:21 +0000)]
2.5 - Outliner/RNA Viewer View2d Fixes (Part 1)

Cleaned up the View2D setup stuff here, by removing all the hacky manual setting of tot and cur rects. Now the Outliner and RNA are scrollable again.

However, in the process, I uncovered a few rather nasty bugs that must've been around for ages.
1) The width-calculation code depends on te->xend for calculating the max-extents, but that is not set until drawing of channels commences. This is far too late, as it is needed for the setting of the 'tot' rect's extents, so that we can have horizontal scrolling, and an accurate horizontal scroller! I noticed that RNA version of this currently hacks around this by using constant width of 100, but that's not a great final solution.

2) There's some minor pixel offset twitching going on with the restriction columns when the view is resized. Also, for RNA, the buttons sometimes cause a few drawing artifacts. Will check on this in part 2.