12 years agoOS X Makefiles:
Stefan Gartner [Sun, 3 Jan 2010 20:35:13 +0000 (20:35 +0000)]
OS X Makefiles:
 * added some new variables (mostly the same as with scons):
  - USE_COCOA: use Cocoa for ghost (defaults to true)
  - MACOSX_ARCHITECTURE: can be ppc, ppc64, i386, x86_64. By default this is the host architecture
    (ppc for PowerPC Macs, i386 for Intel Macs). In theory this allows to cross compile blender for
    a different architecture, though cross compilation only works on Intel Macs, because makesdna
    and makesrna are built for the target architecture.
    For a 64 bit build, set MACOSX_ARCHITECTURE to x86_64 (Intel) or ppc64 (PowerPC).
  - MACOSX_MIN_VERS: minimum OS X version to run blender on (10.4 for 32 bit builds, 10.5 for 64 bit    builds)
  - MACOSX_DEPLOYMENT_TARGET: needed by the linker to create an Application targeted for a specific
    OS version (defaults to 10.4 for 32 bit builds, 10.5 for 64 bit builds)
  - MACOSX_SDK: path to a specific SDK. currently not used
  - USE_QTKIT: use QTKit instead of QuickTime (defaults to true for 64 bit builds, as using QTKit
    is mandatory in that case))
 * use the same compiler flags as scons
 * default compiler now is gcc-4.0 when building for 10.4 and gcc-4.2 when building for 10.5
 * extract $(LCGDIR)/release/python_$(MACOSX_ARCHITECTURE).zip to Application bundle. This might
   break building on 10.4, to fix that, rename $(LCGDIR)/release/

When compiling blender, only MACOSX_ARCHITECTURE might be of interest, as it allows doing 64 bit
builds (or 32 bit PowerPC builds on Intel). All other variables are then set to reasonable defaults.
For current users of the Makefile system, this commit shouldn't change much.

12 years agoStickness factor for particle collisions, patch submitted by Raul Fernandez Hernandez...
Janne Karhu [Sun, 3 Jan 2010 14:51:34 +0000 (14:51 +0000)]
Stickness factor for particle collisions, patch submitted by Raul Fernandez Hernandez (farsthary).

12 years agobound box check for retopo grease pencil convertsion before spline intersection checking
Campbell Barton [Sun, 3 Jan 2010 13:17:12 +0000 (13:17 +0000)]
bound box check for retopo grease pencil convertsion before spline intersection checking

12 years agoTweak to group operator naming
Matt Ebb [Sun, 3 Jan 2010 08:38:42 +0000 (08:38 +0000)]
Tweak to group operator naming

12 years agoChanges to Brush texture workflow
Matt Ebb [Sun, 3 Jan 2010 08:37:18 +0000 (08:37 +0000)]
Changes to Brush texture workflow

This changes how textures are accessed from Brushes, with the intention of simplifying
the workflow, and reducing the amount of clicking. Rather than the previous texture slots
(which didn't work as a stack anyway), brushes now have a single texture linked. Rather
than taking time having to set up your slots in advance, you can now select and change
textures directly as you sculpt/paint on the fly. For complex brushes, node textures can
be used, or for fast access, it's easy to make a duplicate of your brush with the texture
you like and assign a hotkey.

Brush textures can now be chosen from a new Textures panel in the brush tool
properties - click on the thumbnail to open a texture selector. This is done using a new
variation on the ID template - the number of rows and columns to display in the popup
can be customised in the UI scripts.

12 years agosolidify supports original mapping, so enable in the modifier.
Campbell Barton [Sun, 3 Jan 2010 05:49:56 +0000 (05:49 +0000)]
solidify supports original mapping, so enable in the modifier.
this means you can select the copied face (as with the mirror modifier)

12 years ago[#20450] Crash before creating a volumetric material.
Campbell Barton [Sun, 3 Jan 2010 05:40:33 +0000 (05:40 +0000)]
[#20450] Crash before creating a volumetric material.
- volumetric material must be traceable

12 years agobugfix [#20510] .blog file causes crash (again rev25592)
Campbell Barton [Sun, 3 Jan 2010 05:34:53 +0000 (05:34 +0000)]
bugfix [#20510] .blog file causes crash (again rev25592)

12 years agobugfix [#20528] Crash when applying scale to a Bezier curve
Campbell Barton [Sun, 3 Jan 2010 05:08:56 +0000 (05:08 +0000)]
bugfix [#20528] Crash when applying scale to a Bezier curve

12 years agofreeing particle modifier would access freed memory (only to tak the psys to be delet...
Campbell Barton [Sun, 3 Jan 2010 04:35:51 +0000 (04:35 +0000)]
freeing particle modifier would access freed memory (only to tak the psys to be deleted), set to NULL after freeing and check before tagging.

12 years ago- disallow the change the layer operator in localview.
Campbell Barton [Sun, 3 Jan 2010 04:21:40 +0000 (04:21 +0000)]
- disallow the change the layer operator in localview.
- toggle setting the layers (mainly useful when accessed from the keys)

12 years ago[#20455] Spotlight halo with deep buffers: render crashes
Campbell Barton [Sun, 3 Jan 2010 03:18:48 +0000 (03:18 +0000)]
[#20455] Spotlight halo with deep buffers: render crashes

12 years agofix for [#20499] Smoot view doesn't work for all view keys.
Campbell Barton [Sun, 3 Jan 2010 03:01:46 +0000 (03:01 +0000)]
fix for [#20499] Smoot view doesn't work for all view keys.

12 years agobugfix [#20534] Blender crashes throghout compositing
Campbell Barton [Sun, 3 Jan 2010 02:53:01 +0000 (02:53 +0000)]
bugfix [#20534] Blender crashes throghout compositing

12 years agobugfix [#20542] Crash 2.50a0 Click event in Console window Report mode
Campbell Barton [Sun, 3 Jan 2010 02:34:00 +0000 (02:34 +0000)]
bugfix [#20542] Crash 2.50a0 Click event in Console window Report mode

12 years ago- WM_OT_context_cycle_int wasnt working (also wasnt used anywhere)
Campbell Barton [Sun, 3 Jan 2010 02:24:53 +0000 (02:24 +0000)]
- WM_OT_context_cycle_int wasnt working (also wasnt used anywhere)
- remove console zoom operator, use WM_OT_context_cycle_int instead.
- use WM_OT_context_cycle_int for text editor zoom also (Ctrl +/- and Ctrl+MouseWheel)

12 years agodont draw object centers when drawing the depth buffer, grease pencil would get its...
Campbell Barton [Sun, 3 Jan 2010 01:55:20 +0000 (01:55 +0000)]
dont draw object centers when drawing the depth buffer, grease pencil would get its depth messed up by object centers when with 'Surface' mode.
Also fix own error with drawing grease pencil depths, wasnt setting v3d->zbuf back to its original value.

12 years agogrease pencil retopo improvement: join lines when endpoints match are close and are...
Campbell Barton [Sun, 3 Jan 2010 01:30:07 +0000 (01:30 +0000)]
grease pencil retopo improvement: join lines when endpoints match are close and are co-linear within some error limits.
still very slow, needs some speedups.

12 years agogrease pencil depth option 'Stroke Endpoints' works well when painting onto mesh...
Campbell Barton [Sat, 2 Jan 2010 23:56:14 +0000 (23:56 +0000)]
grease pencil depth option 'Stroke Endpoints' works well when painting onto mesh surfaces as well as other grease pencil lines. change ui to show this.

12 years agopatch from Cessen
Campbell Barton [Sat, 2 Jan 2010 23:43:46 +0000 (23:43 +0000)]
patch from Cessen
Adds a new set of bones to rig types which are to be used for weight paint vgroups, in some these have some more segments to account for twist. also use Aligoriths new copy transform constraint.

12 years agonew python submodule. eg.
Campbell Barton [Sat, 2 Jan 2010 23:14:01 +0000 (23:14 +0000)]
new python submodule. eg.
from import binary_path, version, version_string, home

can add constant variables from blender here as needed (maybe functions too... ?)

12 years agoeditbone.transform(matrix) function, requested by Cessen.
Campbell Barton [Sat, 2 Jan 2010 22:47:56 +0000 (22:47 +0000)]
editbone.transform(matrix) function, requested by Cessen.
Also added matrix.median_scale attribute to get the average scale from the matrix, use for scaling bone envalopes.

12 years agofix for mistake in last commit. also forgot to call RNA_parameter_list_end() in...
Campbell Barton [Sat, 2 Jan 2010 19:01:19 +0000 (19:01 +0000)]
fix for mistake in last commit.  also forgot to call RNA_parameter_list_end() in some places, (ok the function does nothing now, but some day it might do)

12 years agosphinx support for documenting multiple return values
Campbell Barton [Sat, 2 Jan 2010 18:55:07 +0000 (18:55 +0000)]
sphinx support for documenting multiple return values

12 years agoPyRna float/bool/int slicing.
Campbell Barton [Sat, 2 Jan 2010 17:33:44 +0000 (17:33 +0000)]
PyRna float/bool/int slicing.
- fixed slice assignment.
- fix for slowdown where getting a slice would get the entire array and free it for every item in the array (malloc and free for arrays >32).
- fix for thick wrapped returning an array referencing the original pointer when coercing into a mathutils type failed.

- slice assignment currently only sypports lists.
- dimensions are ignored for multidimensional arrays.

12 years agoRNA Ray casting function for python access, uses BVH acceleration structure (same...
Campbell Barton [Sat, 2 Jan 2010 15:31:02 +0000 (15:31 +0000)]
RNA Ray casting function for python access, uses BVH acceleration structure (same as shrink wrap), very fast & useful for object placing scripts.

Python Example.
 hit_location, hit_normal, face_index = object.ray_cast(ray_start, ray_end)

- first rna func to use multiple return values
- currently casts in object space, may want to cast in worldspace too.

12 years agosupport for multiple return values from rna functions & support for returning arrays...
Campbell Barton [Sat, 2 Jan 2010 10:42:38 +0000 (10:42 +0000)]
support for multiple return values from rna functions & support for returning arrays, (no functions are using this yet).
patch from Elia Sarti, (vekoon) with some modifications mainly for the python api.

- multiple values are returned as a typle in the order that are defined.
- added support for registered types returning multiple arguments (untested).
- renamed func->ret --> func->c_ret, since this only defines what the C function returns.

12 years agoOS X Makefiles: append -DPARALLEL=1 to CPPFLAGS when compiling with OPENMP
Stefan Gartner [Sat, 2 Jan 2010 09:32:32 +0000 (09:32 +0000)]
OS X Makefiles: append -DPARALLEL=1 to CPPFLAGS when compiling with OPENMP

12 years agoCessen Rigging Request: "Copy Transforms" Constraint
Joshua Leung [Sat, 2 Jan 2010 04:14:17 +0000 (04:14 +0000)]
Cessen Rigging Request: "Copy Transforms" Constraint

This constraint simply copies the transformation matrix of the target, and assigns it to the owner.

12 years agoAdd audaspace includes. And some reorg/cleaning.
Guillermo S. Romero [Sat, 2 Jan 2010 01:33:03 +0000 (01:33 +0000)]
Add audaspace includes. And some reorg/cleaning.

12 years agoSVN maintenance.
Guillermo S. Romero [Sat, 2 Jan 2010 00:47:26 +0000 (00:47 +0000)]
SVN maintenance.

12 years agoSimplified bake panel layout, and made it work with single column UI.
William Reynish [Fri, 1 Jan 2010 22:32:07 +0000 (22:32 +0000)]
Simplified bake panel layout, and made it work with single column UI.

12 years agoFix for 25657 - wrong var was getting used ("path" NOT "ghost")
Joshua Leung [Fri, 1 Jan 2010 21:53:55 +0000 (21:53 +0000)]
Fix for 25657 - wrong var was getting used ("path" NOT "ghost")

12 years agomade region type into an enum
Campbell Barton [Fri, 1 Jan 2010 20:50:58 +0000 (20:50 +0000)]
made region type into an enum

12 years agoarmature ghost stepsize was not initialized, Aligorith: can you check this is correct?
Campbell Barton [Fri, 1 Jan 2010 19:10:31 +0000 (19:10 +0000)]
armature ghost stepsize was not initialized, Aligorith: can you check this is correct?
remove other small warnings

12 years agoAdded another three effects that you can use with the Sound to F-Curve modifier,...
Joerg Mueller [Fri, 1 Jan 2010 18:45:21 +0000 (18:45 +0000)]
Added another three effects that you can use with the Sound to F-Curve modifier, have fun!

12 years ago- grease pencil option to only use the endpoint depths. this makes drawing shapes...
Campbell Barton [Fri, 1 Jan 2010 17:48:48 +0000 (17:48 +0000)]
- grease pencil option to only use the endpoint depths. this makes drawing shapes in 3D easier since it wont stick to every depth the line passes through.
- use a 8x8 area when finding stroke depths since thin lines can get ignored if the point is not close enough to them.

12 years agogrease pencil stroke depth option, rather then snapping to geometry you can draw...
Campbell Barton [Fri, 1 Jan 2010 16:46:27 +0000 (16:46 +0000)]
grease pencil stroke depth option, rather then snapping to geometry you can draw over existing grease pencil lines. makes it easuer to draw 3D shapes with grease pencil.

12 years agomade the array interpolation function from last commit into a generic function
Campbell Barton [Fri, 1 Jan 2010 15:57:17 +0000 (15:57 +0000)]
made the array interpolation function from last commit into a generic function

/* given an array with some invalid values this function interpolates valid values
 * replacing the invalid ones */
int interp_sparse_array(float *array, int list_size, float skipval)

12 years agoFix some build warnings
Damien Plisson [Fri, 1 Jan 2010 15:48:14 +0000 (15:48 +0000)]
Fix some build warnings

12 years ago- grease pencil mode for drawing onto geometry (using the z-buffer), access in the...
Campbell Barton [Fri, 1 Jan 2010 15:05:31 +0000 (15:05 +0000)]
- grease pencil mode for drawing onto geometry (using the z-buffer), access in the 3D view panel.
- account for parts of the line going off into infinity by making the stroke stretch between the last valid depth values (like an elastic band), if the endpoints are not over any geometry then use the closest valid depth.

12 years agoAnother fix for the new year's commit, fixing the linear resampler (and such the...
Joerg Mueller [Fri, 1 Jan 2010 14:18:43 +0000 (14:18 +0000)]
Another fix for the new year's commit, fixing the linear resampler (and such the error that I though was in the envelope!).

12 years agofix for crash in recent ghost/do_versions
Campbell Barton [Fri, 1 Jan 2010 14:04:39 +0000 (14:04 +0000)]
fix for crash in recent ghost/do_versions

12 years agodisplacement was crashing because of the improved bumpmap. now its skipped when the...
Campbell Barton [Fri, 1 Jan 2010 13:56:30 +0000 (13:56 +0000)]
displacement was crashing because of the improved bumpmap. now its skipped when the ShaderInput's verts are not set.

12 years agoCleanup of MotionPaths+Ghosts (AnimViz) - Part 1
Joshua Leung [Fri, 1 Jan 2010 12:24:16 +0000 (12:24 +0000)]
Cleanup of MotionPaths+Ghosts (AnimViz) - Part 1

This commit sets up some of the groundwork necessary to extend the animation visualisation capabilities, previously only available for bones in PoseMode, to Objects as well. Also, some of the other goals of this refactor is to make future visualisation goodies (i.e. editable paths) more feasible...
(There's really nothing to see here yet. The following log notes are really just for my own reference to keep track of things.)

Currently, the following things have been done:
* New datastructures + settings have been tidied up, ready for usage
* Added these new types into the Object and PoseBone code as necessary, with freeing/adding/copying accounted for
* File IO code for the new data, including version patching to convert the old system to the new one.
* Set up the drawing system for motionpaths based on the old armature path drawing code. Armatures still draw using the old system, since the two systems use different storage systems.
* Started setting up the motionpath 'baking' code, but the core of this still needs to be coded...

Next Steps (after some semi-urgent Durian Driver changes):
* Port the ghosting/onionskinning code over too
* Finish motionpath baking code
* RNA wrapping for the new types
* Hooking up all the new code into the operators, etc.

12 years agoSmall fixes for some float literals.
Joerg Mueller [Fri, 1 Jan 2010 11:55:56 +0000 (11:55 +0000)]
Small fixes for some float literals.

12 years agoFix for plattforms that don't have M_PI in the cmath include.
Joerg Mueller [Fri, 1 Jan 2010 11:40:48 +0000 (11:40 +0000)]
Fix for plattforms that don't have M_PI in the cmath include.

12 years agoScons compiling fix fox neXyon's new-year audio commit
Joshua Leung [Fri, 1 Jan 2010 09:41:53 +0000 (09:41 +0000)]
Scons compiling fix fox neXyon's new-year audio commit

12 years agoHuge new year audio commit!
Joerg Mueller [Fri, 1 Jan 2010 05:09:30 +0000 (05:09 +0000)]
Huge new year audio commit!

* Refactored the whole audaspace library to use float as sample format over all readers.
* Added new Readers like the linear resampler, envelope, lowpass, highpass and butterworth.
* Note: The butterworth filter isn't working correctly, some bug in there... Maybe also true for the envelope.
* Added a sound to f-curve operator that behaves mostly like the soundtracker script of technoestupido.

12 years agoDopeSheet/Action Editor: Fixed operator name that did not get correctly during the...
Joshua Leung [Thu, 31 Dec 2009 23:56:45 +0000 (23:56 +0000)]
DopeSheet/Action Editor: Fixed operator name that did not get correctly during the operator renaming fixes done by Campbell's script

12 years agonetrender: edit balancing rules limits and enable/disable them from the web interface
Martin Poirier [Thu, 31 Dec 2009 19:11:46 +0000 (19:11 +0000)]
netrender: edit balancing rules limits and enable/disable them from the web interface

12 years agoBGE: negative lamp last fix - Texture Face. I'm going to commit it to 2.49 too.
Dalai Felinto [Thu, 31 Dec 2009 18:51:02 +0000 (18:51 +0000)]
BGE: negative lamp last fix - Texture Face. I'm going to commit it to 2.49 too.
The files I used for test are here:

12 years ago- modify the baking layout to be more compact and made a bit more sense.
Campbell Barton [Thu, 31 Dec 2009 10:07:59 +0000 (10:07 +0000)]
- modify the baking layout to be more compact and made a bit more sense.
- add back quad split order option.

note: tested displacement baking and found it matches 2.4x. there is still a missing check which ignores the active object when baking selected to active but Im not sure in what cases this is needed.

12 years agoBGE bugfix: [#19476] Negative Lamps in BGE Do Not Function (in GLSL)
Dalai Felinto [Thu, 31 Dec 2009 07:17:14 +0000 (07:17 +0000)]
BGE bugfix: [#19476] Negative Lamps in BGE Do Not Function (in GLSL)
this bug was introduced in Blender 2.49 (probably my own fault, in other part of the code though while fixing support for IPOs in GLSL Lamps).

The good news is: GLSL Lamps looks in BGE like working perfectly now.

Multitexture on the other hand is not supporting "negative" lamps (with the checkbox option on).

From my search (svn blame+log) it looks like multitexture never had negative lamp working. Actually in Blender 2.34 when this was introduced in BGE (maybe in Blender as well?) I couldn't see negative lamps working either. It's hard to test this with Blender 2.34 though (it even crash with my test file).

12 years agoBGE: (1) stereo tooltip update (2) blenderplayer working with new stereo setting...
Dalai Felinto [Thu, 31 Dec 2009 04:56:23 +0000 (04:56 +0000)]
BGE: (1) stereo tooltip update (2) blenderplayer working with new stereo setting (3) blenderplayer building again (patch by Mitchell Stokes - Moguri)

(1) the new text suggest what was the default eye separation before. Now I'm confident that changing the eye separation for the UI is a good move
(2) no big deal here. It's not reading the parameter from the command line. But does it ever read it?
(3) stubs.c update and glew linking statically. patch by Mitchell Stokes, thanks for that.

And now we finish 2009 with a building blenderplayer =D

12 years agoremove python api cruft from custom operator registration
Campbell Barton [Wed, 30 Dec 2009 22:51:44 +0000 (22:51 +0000)]
remove python api cruft from custom operator registration

12 years agofix crash on baking from selected to active, however need to validate this against...
Campbell Barton [Wed, 30 Dec 2009 22:35:22 +0000 (22:35 +0000)]
fix crash on baking from selected to active, however need to validate this against 2.4x to make sure displacement for eg gives the same results

12 years agoFix crash in View -> Navigation menu (not all view3d regions have a regionview3d...
Martin Poirier [Wed, 30 Dec 2009 22:23:50 +0000 (22:23 +0000)]
Fix crash in View -> Navigation menu (not all view3d regions have a regionview3d, especially not menus. Meh, stupid work around)

12 years agoMacro registration using the normal rna registration methods (like operators).
Martin Poirier [Wed, 30 Dec 2009 22:14:32 +0000 (22:14 +0000)]
Macro registration using the normal rna registration methods (like operators).


instead of


The rest is unchanged.

Also remove some now unused code for the old registration methods (there's still some remaining).

12 years agopython macro operators didnt have a compatible draw function assigned. also remove...
Campbell Barton [Wed, 30 Dec 2009 20:15:28 +0000 (20:15 +0000)]
python macro operators didnt have a compatible draw function assigned. also remove duplicate define.

12 years agoScons missed include for pthread.
Thomas Dinges [Wed, 30 Dec 2009 19:55:41 +0000 (19:55 +0000)]
Scons missed include for pthread.

12 years ago- deform types for copy, arm and leg, patch from Cessen (with slighy modifications)
Campbell Barton [Wed, 30 Dec 2009 18:39:02 +0000 (18:39 +0000)]
- deform types for copy, arm and leg, patch from Cessen (with slighy modifications)
- attribute

12 years agoFix for poor negliected Makefiles.
Kent Mein [Wed, 30 Dec 2009 16:18:06 +0000 (16:18 +0000)]
Fix for poor negliected Makefiles.


12 years agoFix for [#20430] Boids options for Flying and climbing do not work
Janne Karhu [Wed, 30 Dec 2009 15:58:59 +0000 (15:58 +0000)]
Fix for [#20430] Boids options for Flying and climbing do not work
* Boids didn't yet use global gravity

12 years agofix for scons
Campbell Barton [Wed, 30 Dec 2009 15:45:41 +0000 (15:45 +0000)]
fix for scons

12 years agobake is now modal like render and updates the image view while baking.
Campbell Barton [Wed, 30 Dec 2009 14:37:25 +0000 (14:37 +0000)]
bake is now modal like render and updates the image view while baking.
it also has an exec function which doesnt update (like render too)

12 years agoFloor Constraint: Evaluation space options are now available for this constraint too
Joshua Leung [Wed, 30 Dec 2009 10:29:26 +0000 (10:29 +0000)]
Floor Constraint: Evaluation space options are now available for this constraint too

12 years ago* Assorted comments/warnings fixes for animation code
Joshua Leung [Wed, 30 Dec 2009 10:21:45 +0000 (10:21 +0000)]
* Assorted comments/warnings fixes for animation code
* Made the dotted lines drawn for markers extend all the way to the top of the relevant views
* Shortened the default names for markers

12 years agoPush Pose Tool - Quaternion Rotation fixes:
Joshua Leung [Tue, 29 Dec 2009 23:25:46 +0000 (23:25 +0000)]
Push Pose Tool - Quaternion Rotation fixes:

This commit is an attempt at improving the behaviour of the Push Pose tool (Ctrl E) when dealing with quaternion rotations. Now the delta rotation from the previous keyframe to the current pose is taken and 'added' to the current pose. This may not be the best behaviour yet, but at least there are some visible results now (compared to before, when the method used resulted in minor twitching only).

Also, fixed a number of bugs that went unnoticed for a while due to various refactors:
- quaternion rotations were broken for the pose sliding tools, since the wrong RNA path was being used
- the wrong keyframes were being picked up due to float vs ints being passed to the searching functions

12 years agommb only cancels constraint if mouse isn't moved (was broken since early 2.5 code...
Martin Poirier [Tue, 29 Dec 2009 21:20:46 +0000 (21:20 +0000)]
mmb only cancels constraint if mouse isn't moved (was broken since early 2.5 code, selection code needed to be earlier in event handling).

12 years agoBugfix for [#20511]
Martin Poirier [Tue, 29 Dec 2009 20:44:51 +0000 (20:44 +0000)]
Bugfix for [#20511]

Shift-MMB for user orientation constraint selection didn't work for global orientation (the matrix wasn't initialized properly).

Also, MMB can be used to cancel a constraint again.

12 years agoview3d orbit and rotate operators now check for rv3d viewlock in their poll functions...
Martin Poirier [Tue, 29 Dec 2009 20:11:13 +0000 (20:11 +0000)]
view3d orbit and rotate operators now check for rv3d viewlock in their poll functions (this means you can also set mmb = pan later in the keymap to pan locked views with mmb only).

12 years agoneeded for win32's msvc.
Campbell Barton [Tue, 29 Dec 2009 18:57:59 +0000 (18:57 +0000)]
needed for win32's msvc.

12 years agobake operator and UI, no feedback while baking yet
Campbell Barton [Tue, 29 Dec 2009 18:55:38 +0000 (18:55 +0000)]
bake operator and UI, no feedback while baking yet

12 years agoBGE: stereoscopic settings changes: (1) eye separation is the UI (2) focallength...
Dalai Felinto [Tue, 29 Dec 2009 15:47:20 +0000 (15:47 +0000)]
BGE: stereoscopic settings changes: (1) eye separation is the UI (2) focallength uses camera focallength

Now the default eye separation value is 0.10 (reasonable for games with 1 meter == 1 B.U.
The focallength used is the camera focal length (DOF settings). It allow you to even use different focal lengths for different scenes (good for UI)

In order to change it you can change the camera focal length or use Rasterizer.setFocalLength.
If you use the Rasterizer method it will use this value for all the cameras.

- Blenderplayer settings
- Update wiki documentation (any volunteer)?

* Note to stereo fans:
I don't have a real stereo environment to test it (other than cheap cyan-red glasses). If you can give it a try in a more robust system and report bugs or problems with BGE current system please let me know. I would be glad to help to make it work 100% by the time Blender 2.5 is out.

For the record, BGE is using the method known as 'parallel axis asymmetric frustum perspective projection'. This method is well documented here:

12 years agoarg!, my secret testing keyword is exposed
Campbell Barton [Tue, 29 Dec 2009 15:47:16 +0000 (15:47 +0000)]
arg!, my secret testing keyword is exposed

12 years ago* speedup for animating bones, in one scene with sintel and a dragon animated its...
Campbell Barton [Tue, 29 Dec 2009 15:40:26 +0000 (15:40 +0000)]
* speedup for animating bones, in one scene with sintel and a dragon animated its over 4x faster.
* utility function BLI_findstring to avoid listbase lookup loops everywhere.
    ListBase *lb= objects= &CTX_data_main(C)->object;
    Object *ob= BLI_findstring(lb, name, offsetof(ID, name) + 2);

* made some more math functions use const's, (fix warnings I made in previous commits)

12 years ago* More small modifier tweaks.
Thomas Dinges [Tue, 29 Dec 2009 12:53:30 +0000 (12:53 +0000)]
* More small modifier tweaks.

12 years ago* Some layout tweaks for the Solidify Modifier.
Thomas Dinges [Tue, 29 Dec 2009 12:04:37 +0000 (12:04 +0000)]
* Some layout tweaks for the Solidify Modifier.

12 years agoBugfix #20503: Add constraint (with targets) menu lacks a window refresh
Joshua Leung [Tue, 29 Dec 2009 11:21:51 +0000 (11:21 +0000)]
Bugfix #20503: Add constraint (with targets) menu lacks a window refresh

12 years agoModifier Drawing Tweaks:
Joshua Leung [Tue, 29 Dec 2009 10:25:14 +0000 (10:25 +0000)]
Modifier Drawing Tweaks:

* Reorganised the (template) drawing code for modifiers, removing some old/commented out code, and grouping related sets of info to draw

* Separated the render/realtime/editmode toggles into a separate row below the modifier name so that the layout is less compressed with narrow properties windows (i.e. on the default setup).

12 years agoMakefiles: fix audaspace include paths
Stefan Gartner [Tue, 29 Dec 2009 09:56:11 +0000 (09:56 +0000)]
Makefiles: fix audaspace include paths

12 years agoMake manipulator axis fade away and become invisible when perpendicular to the screen.
Martin Poirier [Tue, 29 Dec 2009 01:12:54 +0000 (01:12 +0000)]
Make manipulator axis fade away and become invisible when perpendicular to the screen.

Move some more vars to RegionView3D from View3D

Also remove some code no longer used.

12 years agonetrender tab to spaces
Campbell Barton [Tue, 29 Dec 2009 00:04:57 +0000 (00:04 +0000)]
netrender tab to spaces

12 years agoAdd audaspace/fftw to Makefile system.
Guillermo S. Romero [Mon, 28 Dec 2009 23:40:20 +0000 (23:40 +0000)]
Add audaspace/fftw to Makefile system.

12 years agoflag to make rna props 'thick wrapped', so returning a property wont try maintain...
Campbell Barton [Mon, 28 Dec 2009 22:59:09 +0000 (22:59 +0000)]
flag to make rna props 'thick wrapped', so returning a property wont try maintain a reference to the original rna property with callbacks.
also needed for functions that return vectors/matrix's

12 years agonetrender: show web interface button in all modes. use rna decorator all the time...
Martin Poirier [Mon, 28 Dec 2009 22:49:22 +0000 (22:49 +0000)]
netrender: show web interface button in all modes. use rna decorator all the time (no need for special operator decorator)

12 years agoPython attribute lookup. Don't use RNA functions that don't have defined callbacks...
Martin Poirier [Mon, 28 Dec 2009 22:48:10 +0000 (22:48 +0000)]
Python attribute lookup. Don't use RNA functions that don't have defined callbacks (can happen for operator functions used for registration only).

12 years agoUtility function to get the view vector aligned with a specific 3d coordinate.
Martin Poirier [Mon, 28 Dec 2009 22:40:52 +0000 (22:40 +0000)]
Utility function to get the view vector aligned with a specific 3d coordinate.

12 years agoUpdate MSVC project files
Benoit Bolsee [Mon, 28 Dec 2009 22:16:13 +0000 (22:16 +0000)]
Update MSVC project files

12 years agodont register or undo 3D cursor setting
Campbell Barton [Mon, 28 Dec 2009 18:09:16 +0000 (18:09 +0000)]
dont register or undo 3D cursor setting

12 years ago- object.add_shape_key(name="Key", from_mix=True)
Campbell Barton [Mon, 28 Dec 2009 18:03:04 +0000 (18:03 +0000)]
- object.add_shape_key(name="Key", from_mix=True)
- ensure new shape key names are unique
- Transfer ShapeKey now can have its settings changes (redo operator)

12 years agomoved shape key insert function into BKE_object.h
Campbell Barton [Mon, 28 Dec 2009 15:26:36 +0000 (15:26 +0000)]
moved shape key insert function into BKE_object.h

12 years agoremove operators WM_OT_open_recentfile and WM_OT_open_recentfile_splash
Campbell Barton [Mon, 28 Dec 2009 10:44:02 +0000 (10:44 +0000)]
remove operators WM_OT_open_recentfile and WM_OT_open_recentfile_splash
use a python menu instead.

12 years agoSound:
Joerg Mueller [Mon, 28 Dec 2009 10:15:35 +0000 (10:15 +0000)]

* Fixed minor errors in AUD_BufferReader.cpp and AUD_LoopFactory.h
* Added a first version of a bandpass filter using fftw3

12 years agonew python module constants
Campbell Barton [Mon, 28 Dec 2009 10:00:04 +0000 (10:00 +0000)]
new python module constants
* bpy.home - result of BLI_gethome()
* bpy.version_string, as above, formatted: "%d.%02d (sub %d)"

12 years agoAdded 'Add New' buttons to key maps shown in filtered mode.
Matt Ebb [Mon, 28 Dec 2009 09:19:32 +0000 (09:19 +0000)]
Added 'Add New' buttons to key maps shown in filtered mode.

Also on adding new, it expands the key map category and clears the
filter so you can see the newly added item.

12 years agoFix for [#19519] Dope sheet scrollbar goes out of bounds
Matt Ebb [Mon, 28 Dec 2009 08:01:19 +0000 (08:01 +0000)]
Fix for [#19519] Dope sheet scrollbar goes out of bounds

12 years agoGot rid of some dead code
Matt Ebb [Mon, 28 Dec 2009 05:14:32 +0000 (05:14 +0000)]
Got rid of some dead code

12 years agoAdded location and rotation operator properties for adding objects. The Align to...
Matt Ebb [Mon, 28 Dec 2009 04:09:46 +0000 (04:09 +0000)]
Added location and rotation operator properties for adding objects. The Align to View boolean
is now just used to set the rotation property value during invoke.

This removes some reliance on 3d view info for non-interactive use, and also lets you specify
new object's locations/rotations explicitly when calling from Python.