9 years ago* Assign weight from bones in weight paint mode now respects paint face
Brecht Van Lommel [Tue, 30 Mar 2010 12:01:17 +0000 (12:01 +0000)]
* Assign weight from bones in weight paint mode now respects paint face
  mask, also avoid making vertex groups if they will not be filled.
* Add back image pin option in image editor header.
* Fix deep shadow not respecting Cast Buffer Shadows option.
* Tangent space normal map baking should work again now.
* Fix a problem with particle duplis, due to own bugfix for #20350,
  the problem for that seems to be in dupliverts, not particles.
* Fix external multires data link getting lost on exiting editmode.

(commits 27776,27777,27830,27840,27841,27862 by Brecht from render25 branch)

9 years agoRest shape key for cloth option, this makes it possible
Brecht Van Lommel [Tue, 30 Mar 2010 11:49:07 +0000 (11:49 +0000)]
Rest shape key for cloth option, this makes it possible
to specify different spring lengths.

Implementation is quite ugly because the shape key has to be pulled
through the modifier stack somehow, need a more flexible data mask
system to solve this properly.

(commits 27773,27775,27778 by Brecht from render25 branch)

9 years agoFix a few warning in editors/ module.
Brecht Van Lommel [Tue, 30 Mar 2010 11:38:06 +0000 (11:38 +0000)]
Fix a few warning in editors/ module.

9 years agoBugfix for [#21582] Adjusting material color (color picker) crashes
Elia Sarti [Tue, 30 Mar 2010 10:13:55 +0000 (10:13 +0000)]
Bugfix for [#21582] Adjusting material color (color picker) crashes

This fixes only the crash, which was due to buffer overrun for col Hex char buffer. It doesn't actually fix the real issue of overflowing the color values up to infinity.

9 years agoFix #21827: Outer portions of extruded 2D curves do not render correctly
Sergey Sharybin [Tue, 30 Mar 2010 09:57:58 +0000 (09:57 +0000)]
Fix #21827: Outer portions of extruded 2D curves do not render correctly

DispList->rt is used by render stuff to set vlak flags. This rt field is setting
to nurbs's flags in displist creation function. Possible flags for nurbs are
CU_SMOOTH and CU_2D. CU_SMOOTH is ok, but CU_2D conflicts with R_NOPUNOFLIP.

I cleared rt's CU_2D flag. Don't forget about possible conflicts if new
nurbs flags will be added.

9 years agoPerformance tweak - on region pan/scale, only redraw the region itself
Matt Ebb [Tue, 30 Mar 2010 07:57:07 +0000 (07:57 +0000)]
Performance tweak - on region pan/scale, only redraw the region itself
instead of the entire area (eg. so panning tool shelf doesn't lag when 3d view
redrawing is slow).

9 years agoBGE API DOC: a guide on how to build epydoc for windows
Dalai Felinto [Tue, 30 Mar 2010 06:37:44 +0000 (06:37 +0000)]
BGE API DOC: a guide on how to build epydoc for windows
We have already a .sh file to build epydocs from Linux, so why not to have it in Windows as well ;) I think that this guide can help people interested in help with the API documentation to test their work.

I'm actually already in touch with at least one volunteer helping with PhysicsConstraints module. VideoTexture may not be a one man job though, for I hope this document can also help.

9 years agoFix [#21711] Position of 2d cursor is not displayed correctly and cannot be set
Matt Ebb [Tue, 30 Mar 2010 05:52:05 +0000 (05:52 +0000)]
Fix [#21711] Position of 2d cursor is not displayed correctly and cannot be set
in uv/image editor properties panel

Note: Moved UV editor 2d cursor to SpaceImage rather than View2d, so it's
more accessible to RNA.

9 years agoBGE PyDoc: fix for KX_Object not linked to the class in some actuators API page
Dalai Felinto [Tue, 30 Mar 2010 04:59:24 +0000 (04:59 +0000)]
BGE PyDoc: fix for KX_Object not linked to the class in some actuators API page

9 years agoFix [#20115] Some theme settings are not saved
Matt Ebb [Tue, 30 Mar 2010 04:27:13 +0000 (04:27 +0000)]
Fix [#20115] Some theme settings are not saved

Theme colours were getting overwritten on startup with defaults (as in 2.4
system). Changed this to allow changing the default theme, and added a
'Reset to defaults' operator in user prefs. Perhaps next step to look into the
py presets system for themes too (nice and easy to share).

If you're using a custom B.blend you may get some strange theme colours on
startup if they weren't saved properly before. 'Reset to default' button in theme
preferences should fix it back to defaults.

9 years agoFix [#21814] 3D Curves and Caps Confusion
Matt Ebb [Tue, 30 Mar 2010 00:57:54 +0000 (00:57 +0000)]
Fix [#21814] 3D Curves and Caps Confusion

Stopped curves 'caps' properties from being greyed out when the curve is 3D -
there's the totally obscure feature where turning off 'Front' and 'Back' turns the
3D curve into a tube.

Would really like this feature to be implemented in a less bizarre way, but
for now it should be enabled in the UI at least.

9 years agoMirror clipping for curves and surfaces.
Sergey Sharybin [Mon, 29 Mar 2010 09:29:50 +0000 (09:29 +0000)]
Mirror clipping for curves and surfaces.

9 years agoFix [#21083] Collada exporter defaults to ".blend" extension...
Matt Ebb [Mon, 29 Mar 2010 08:33:35 +0000 (08:33 +0000)]
Fix [#21083] Collada exporter defaults to ".blend" extension...

Also added a filter category for COLLADA files to the file selector.

9 years agoAdded splash screen item in the Help menu. Not sure why it wasn't there in the first...
Elia Sarti [Mon, 29 Mar 2010 08:27:04 +0000 (08:27 +0000)]
Added splash screen item in the Help menu. Not sure why it wasn't there in the first place? It's used to get the revision number and if the intention was to add a more adequate "About" window it can be replaced later.

9 years agoTweak to set default ui range for color/color_gamma properties
Matt Ebb [Mon, 29 Mar 2010 07:15:51 +0000 (07:15 +0000)]
Tweak to set default ui range for color/color_gamma properties

9 years agoFix [#21706] edit field in nodegroup which overlaps a node, edits the field of the...
Matt Ebb [Mon, 29 Mar 2010 07:15:12 +0000 (07:15 +0000)]
Fix [#21706] edit field in nodegroup which overlaps a node, edits the field of the overlapped node

9 years agoFix [#21542] Clear origin shortkey Alt+O in object mode doesn't work
Matt Ebb [Mon, 29 Mar 2010 07:07:20 +0000 (07:07 +0000)]
Fix [#21542] Clear origin shortkey Alt+O in object mode doesn't work

9 years agoFix [#21708] Copy/Paste Texture channels for Lamps/World not working
Matt Ebb [Mon, 29 Mar 2010 05:37:34 +0000 (05:37 +0000)]
Fix [#21708] Copy/Paste Texture channels for Lamps/World not working

9 years agoFix [#21679] add_grid "operator's subdivison" Change Dimensions
Matt Ebb [Mon, 29 Mar 2010 05:00:04 +0000 (05:00 +0000)]
Fix [#21679] add_grid "operator's subdivison" Change Dimensions

9 years ago* Update histogram on frame change and image swap
Matt Ebb [Sun, 28 Mar 2010 23:30:00 +0000 (23:30 +0000)]
* Update histogram on frame change and image swap

9 years agoCMake fix for GCC 4.4.1 crash (on ubuntu 9.10 ) reported (on IRC) and fixed by Elia...
Dalai Felinto [Sun, 28 Mar 2010 21:38:22 +0000 (21:38 +0000)]
CMake fix for GCC 4.4.1 crash (on ubuntu 9.10 ) reported (on IRC) and fixed by Elia Sarti (vekoon)
(it was broken since rev. 27257.)

9 years ago[#21807] Import Key Configuration problems
Martin Poirier [Sun, 28 Mar 2010 21:10:48 +0000 (21:10 +0000)]
[#21807] Import Key Configuration problems

For some reason, __import__ doesn't recognize the cfg folder as part of the part.

Using exec("import " ... fixes that, but should be investigated further.

9 years agoBGE patch [#21019]: Python function for Scene suspend/resume.
Benoit Bolsee [Sun, 28 Mar 2010 20:50:20 +0000 (20:50 +0000)]
BGE patch [#21019]: Python function for Scene suspend/resume.

9 years agoNetrender: Fix for API changes (it would be nice if people at least fixed built-in...
Martin Poirier [Sun, 28 Mar 2010 20:46:25 +0000 (20:46 +0000)]
Netrender: Fix for API changes (it would be nice if people at least fixed built-in script when breaking things)

Also force post process off.

This is a partial fix for Bug [#21410], there is still the problem that loading back multilayer exr as render results doesn't load the composited result correctly (bug is assigned to Brecht). The results are still ok when downloaded outside of the render engine, so there's a work around for now.

9 years agoVideoTexture: more PyDoc.
Benoit Bolsee [Sun, 28 Mar 2010 20:15:45 +0000 (20:15 +0000)]
VideoTexture: more PyDoc.

9 years agoVideoTexture: clean previous commit.
Benoit Bolsee [Sun, 28 Mar 2010 20:12:28 +0000 (20:12 +0000)]
VideoTexture: clean previous commit.

9 years agoBGE: repair armature animation. Was broken since commit 27766.
Benoit Bolsee [Sun, 28 Mar 2010 20:08:16 +0000 (20:08 +0000)]
BGE: repair armature animation. Was broken since commit 27766.

9 years agoFix [#21689] for coordinate issue (y flipped) when setting mouse cursor position
Damien Plisson [Sun, 28 Mar 2010 19:42:08 +0000 (19:42 +0000)]
Fix [#21689] for coordinate issue (y flipped) when setting mouse cursor position

Mem leak when using BGE fixed too.

9 years ago[#21802] UVProject Modifier Crash
Campbell Barton [Sun, 28 Mar 2010 18:41:49 +0000 (18:41 +0000)]
[#21802] UVProject Modifier Crash
fix for bug in recent addition of panorama support

9 years agoVideoTexture: fix video capture lagging when CPU is busy. This problem was caused...
Benoit Bolsee [Sun, 28 Mar 2010 17:50:45 +0000 (17:50 +0000)]
VideoTexture: fix video capture lagging when CPU is busy. This problem was caused by special frame handling that was appropriate for video streaming but not for video capture: drift compensation and no frame skipping.  Disable that for video capture to take into account the realtime nature of video.

9 years agoChange \n to more strict \r\n in HTTP headers (plus misc cleanups).
Guillermo S. Romero [Sun, 28 Mar 2010 17:01:46 +0000 (17:01 +0000)]
Change \n to more strict \r\n in HTTP headers (plus misc cleanups).
Reported by Ralph Giles via bug 21797.

9 years agoCompile fix for scons:
Thomas Dinges [Sun, 28 Mar 2010 15:00:43 +0000 (15:00 +0000)]
Compile fix for scons:
Missing pthread include for recent image_draw.c commit. (27799)

9 years agoExternal render engines now have option bl_postprocess to determine
Brecht Van Lommel [Sun, 28 Mar 2010 14:45:09 +0000 (14:45 +0000)]
External render engines now have option bl_postprocess to determine
if compositing, sequencer, fields, etc should be rendered, or if the
render does that itself. The weak point is that this only applies to
rendering, so if you open the compositor, it will still run on the
rendered result. Enabled by default, set to False to disable.

9 years ago[#21767] Project Vert. on the Surf. of Other Obj. enabled causes crash when trying...
Martin Poirier [Sun, 28 Mar 2010 13:59:33 +0000 (13:59 +0000)]
[#21767] Project Vert. on the Surf. of Other Obj. enabled causes crash when trying to Crease some edges

Don't want to project for Crease (and others).

9 years agoExternal render engines can now render previews as well, disabled by
Brecht Van Lommel [Sun, 28 Mar 2010 13:48:11 +0000 (13:48 +0000)]
External render engines can now render previews as well, disabled by
default, set RenderEngine property bl_preview = True to enable it.

9 years agoAttempt to fix #21796: render crash on windows after slots commit.
Brecht Van Lommel [Sun, 28 Mar 2010 13:45:19 +0000 (13:45 +0000)]
Attempt to fix #21796: render crash on windows after slots commit.

9 years agoBugfix for [#21798] Submit description doesn't work.
Thomas Dinges [Sun, 28 Mar 2010 10:52:24 +0000 (10:52 +0000)]
Bugfix for [#21798] Submit description doesn't work.

9 years agobgl/BGE: glCopyTexImage2D + bgl.buffer creation error more verbose + dome post_draw...
Dalai Felinto [Sun, 28 Mar 2010 10:20:26 +0000 (10:20 +0000)]
bgl/BGE: glCopyTexImage2D + bgl.buffer creation error more verbose + dome post_draw (it draw only for the last overlayed scene)

1) glCopyTexImage2D -

2) dome post_draw. Now dome mode can also use scene.post_draw. It only runs for the last scene. It's really useful. I'm working on a nice showcase for this (a dome visualizer for the dome mode running with bgl. In the mean time this is a (lame) example of both working together (the buffer is being copied and draw on top of the window):

9 years agoFix for a possible deadlock with render result drawing.
Brecht Van Lommel [Sat, 27 Mar 2010 22:48:18 +0000 (22:48 +0000)]
Fix for a possible deadlock with render result drawing.

9 years agofix for writing out of buffer bounds when drawing to a buffer (most obvious with...
Campbell Barton [Sat, 27 Mar 2010 22:23:23 +0000 (22:23 +0000)]
fix for writing out of buffer bounds when drawing to a buffer (most obvious with new grid type but could probably crash with stamp render option too)

9 years agofix bad level call so blendplayer builds
Tom Musgrove [Sat, 27 Mar 2010 18:08:57 +0000 (18:08 +0000)]
fix bad level call so blendplayer builds

9 years agoSecond attempt at committing the different render slot implementation. This
Brecht Van Lommel [Sat, 27 Mar 2010 15:35:34 +0000 (15:35 +0000)]
Second attempt at committing the different render slot implementation. This
has a fix that hopefully solves the problem on mac/win. Also fixes #21322,
render slots not working well with FSA.

9 years agoFix #21561: .ply exporter doesn't export normals.
Brecht Van Lommel [Sat, 27 Mar 2010 14:54:22 +0000 (14:54 +0000)]
Fix #21561: .ply exporter doesn't export normals.

9 years agoThe version in this file was not updated to alpha2, resulted in alpha1
Brecht Van Lommel [Sat, 27 Mar 2010 14:38:46 +0000 (14:38 +0000)]
The version in this file was not updated to alpha2, resulted in alpha1
still showing up in e.g. the Mac about dialog.

9 years agoFix #21543: running python script from command line would lose active
Brecht Van Lommel [Sat, 27 Mar 2010 12:42:01 +0000 (12:42 +0000)]
Fix #21543: running python script from command line would lose active
scene from context for background render. Ideally this should not be
using the context to get the scene but currently the active scene is
not stored anywhere, as it's a concept we tried to get rid of.. just
did a simple fix for now.

9 years agoFix #20717: sculpt not working with ortho view + certain object scale.
Brecht Van Lommel [Sat, 27 Mar 2010 12:35:14 +0000 (12:35 +0000)]
Fix #20717: sculpt not working with ortho view + certain object scale.

9 years agoFix #21700: particles do not collide with linked objects.
Brecht Van Lommel [Sat, 27 Mar 2010 12:16:24 +0000 (12:16 +0000)]
Fix #21700: particles do not collide with linked objects.

9 years agoFix [#21765] File-Dialog: "New Directory" gives no visual feedback
Andrea Weikert [Sat, 27 Mar 2010 12:14:51 +0000 (12:14 +0000)]
Fix [#21765] File-Dialog: "New Directory" gives no visual feedback
- was missing to clear the filelist which was previously done in the notifier (removed from there with the new thumbnail job handling).

9 years agoFix #21792: changed subdivide operator properties order to reflect
Brecht Van Lommel [Sat, 27 Mar 2010 11:59:42 +0000 (11:59 +0000)]
Fix #21792: changed subdivide operator properties order to reflect
the order in which smooth and fractal are applied.

9 years agoFix #21741: changing scenes didn't update layers in 3d view, patch by Elia Sarti.
Brecht Van Lommel [Sat, 27 Mar 2010 11:54:38 +0000 (11:54 +0000)]
Fix #21741: changing scenes didn't update layers in 3d view, patch by Elia Sarti.

9 years agoFix #20716: using wavefront .obj exporter multiple times could crash
Brecht Van Lommel [Sat, 27 Mar 2010 11:20:27 +0000 (11:20 +0000)]
Fix #20716: using wavefront .obj exporter multiple times could crash
because references to materials from previous exports were not cleared.

9 years agoMSVC 9 projectfiles
Andrea Weikert [Sat, 27 Mar 2010 10:48:49 +0000 (10:48 +0000)]
MSVC 9 projectfiles
Updated RNA project to generate the files in the build directory rather than inside the source tree. This removes the need to manually deleting those files when building from the same tree with scons or cmake.

9 years agoFix #21667: smoke drawing crashes calling glTexImage3D on graphics card that do
Brecht Van Lommel [Sat, 27 Mar 2010 10:48:01 +0000 (10:48 +0000)]
Fix #21667: smoke drawing crashes calling glTexImage3D on graphics card that do
not support it.

9 years agoCheck result of object_add_duplicate_internal() before using it.
Sergey Sharybin [Sat, 27 Mar 2010 10:43:04 +0000 (10:43 +0000)]
Check result of object_add_duplicate_internal() before using it.

This prevents segmentation fault when object in pose mode is duplicating.

9 years agoFix for [#21773] Cast Modifier cant use empties as centers
Elia Sarti [Fri, 26 Mar 2010 18:15:06 +0000 (18:15 +0000)]
Fix for [#21773] Cast Modifier cant use empties as centers

Based on the assumption that requiring object targets to be OB_EMPTY makes any other object compatible as a target. If the assumption is wrong can be reverted. Only the Cast modifier uses this at the moment and to me it looks like Cast only uses object transform so should be fine.

9 years agoFixed incorrect rendering result when bevel object has got modifiers
Sergey Sharybin [Fri, 26 Mar 2010 15:06:30 +0000 (15:06 +0000)]
Fixed incorrect rendering result when bevel object has got modifiers
enabled only for realtime display or only for rendering

9 years agoButtons Window Notifier Listener:
Thomas Dinges [Fri, 26 Mar 2010 14:16:35 +0000 (14:16 +0000)]
Buttons Window Notifier Listener:

* Update several Property Windows for Physic Modifiers in the Physic Tab.
* Update several Property Windows for ND_DRAW Notifier, used by Camera Data, Object Force, and general Object settings.

9 years ago* Single Column UI for Screw Modifier.
Thomas Dinges [Fri, 26 Mar 2010 13:47:16 +0000 (13:47 +0000)]
* Single Column UI for Screw Modifier.

9 years ago- game engine checking for autoexec was using the wrong global flag.
Campbell Barton [Fri, 26 Mar 2010 11:35:57 +0000 (11:35 +0000)]
- game engine checking for autoexec was using the wrong global flag.
- 'Trusted Source' option was being overwritten on read making it usless.

9 years agoFix vertex paint not getting restored after exiting editmode,
Brecht Van Lommel [Fri, 26 Mar 2010 11:05:22 +0000 (11:05 +0000)]
Fix vertex paint not getting restored after exiting editmode,
and fix the opposite problem when going to object mode from the menu.
(commit 27747 by Brecht from render25 branch)

9 years agoCloth simulation can now use a group to specify which objects
Brecht Van Lommel [Fri, 26 Mar 2010 10:52:55 +0000 (10:52 +0000)]
Cloth simulation can now use a group to specify which objects
to collide with, in addition to the effectors group.
(commit 27746 by Brecht from render25 branch)

9 years agofix rendering another scene from the compositor not working.
Brecht Van Lommel [Fri, 26 Mar 2010 10:41:48 +0000 (10:41 +0000)]
fix rendering another scene from the compositor not working.
(commit 27745 by Brecht from render25 branch)

9 years agoOptimization for pose channel name lookups using a hash, makes
Brecht Van Lommel [Fri, 26 Mar 2010 10:33:53 +0000 (10:33 +0000)]
Optimization for pose channel name lookups using a hash, makes
playback in one particular scene with 3 characters go from 10 to 13 fps.
(commit 27728 by Brecht from render25 branch)

9 years agoFix [#21759] Toggle all layers doesn't work
Matt Ebb [Fri, 26 Mar 2010 08:32:54 +0000 (08:32 +0000)]
Fix [#21759] Toggle all layers doesn't work

Toggling all layers will revert back to the active layer.

9 years agoBGE: fix for [#21180] - missing min and max values in the API + mode fix (interval...
Dalai Felinto [Fri, 26 Mar 2010 07:21:48 +0000 (07:21 +0000)]
BGE: fix for [#21180] - missing min and max values in the API + mode fix (interval wasn't working)
of course it wasn't only a matter of adding the properties in the api :)

The code of validValueForIntervalProperty and modeChange are the same BUT in the future they shouldn't be, for I think it's fine to keep them as separated functions.

Bonus fix: Also we are now checking if the new mode is interval and update the range expression.

9 years agoFix [#20829] "Select Vertex Path" EDGE LENGTH not selecting the proper
Matt Ebb [Fri, 26 Mar 2010 07:17:54 +0000 (07:17 +0000)]
Fix [#20829] "Select Vertex Path" EDGE LENGTH not selecting the proper
vertices (as it did in 2.49b)

Removed popup and fixed code to actually use the operator properties.

9 years agoFix [#21745] file that opens in 2.4* crashes 2.5 while trying to open
Matt Ebb [Fri, 26 Mar 2010 06:10:21 +0000 (06:10 +0000)]
Fix [#21745] file that opens in 2.4* crashes 2.5 while trying to open

Only convert old multires data to multires modifier if there are actually subdivisions stored.

Patch by Elia Sarti, thanks!

9 years agoFix [#21744] cannot open old file 1 1/2 year old with 2.49 and 2.5 v670
Matt Ebb [Fri, 26 Mar 2010 05:55:55 +0000 (05:55 +0000)]
Fix [#21744] cannot open old file 1 1/2 year old with 2.49 and 2.5 v670

Works around a bizarre situation when an object is it's own parent.
Patch by Elia Sarti, thanks!

9 years ago#21728: Grease pencil at cursor gives wrong results when the object is not at locatio...
Joshua Leung [Fri, 26 Mar 2010 03:26:17 +0000 (03:26 +0000)]
#21728: Grease pencil at cursor gives wrong results when the object is not at location 0,0,0.

Removed some code that I never finished working on to try and make the sketches get added relative to the owner. Perhaps will come back to that someday, but maybe we can just do without.

9 years agoPurging compiler warnings
Joshua Leung [Fri, 26 Mar 2010 03:10:58 +0000 (03:10 +0000)]
Purging compiler warnings

9 years ago4 Devs in Agreement - End of the Road for Old Track
Joshua Leung [Fri, 26 Mar 2010 02:57:49 +0000 (02:57 +0000)]
4 Devs in Agreement - End of the Road for Old Track

This commit removes the Old Track method (used to be found under Object -> Animation -> Track), with all existing instances of this being converted to Track To Constraints. In fact, while performing this removal, I found that this was supposed to have happened in version 2.27 already, but for some reason the options were left in, and this function managed to survive for a further decade.

I've left the tracking axes around still, since it seems some curve tools still use that. However, that usage should probably get faded out in future too?

Misc notes:
* Fixed compiling error with constaints from harkyman's Maintain Volume patch.
* Subversion of 2.52 now bumped up to .2

9 years agoFix for ben dansie, incorrect gamma with render baking.
Matt Ebb [Fri, 26 Mar 2010 01:31:43 +0000 (01:31 +0000)]
Fix for ben dansie, incorrect gamma with render baking.
Linear/gamma issues weren't really considered in baking yet.

9 years agoBugfix #21757: Crash when setting up cyclic tracking dependencies (with old tracking)
Joshua Leung [Fri, 26 Mar 2010 01:11:03 +0000 (01:11 +0000)]
Bugfix #21757: Crash when setting up cyclic tracking dependencies (with old tracking)

Note that users should not be doing this anyway (and to some degree, I wish that they have to learn this the hard way - i.e. a crash as was before) since it is always bound to cause troubles of various sorts.

Having said this, the old tracking code was previously crashing if this sort of setup was created since a stack overflow would happen while bouncing between each object being recursively recalculated. I've fixed this by commenting out that recursive recalculation (solving the cyclic problems for n >= 2, while n=1 should still be fine without this pre-depsgraph hack), and also removing such cyclic dependencies in the n=2 case.

(PS: Perhaps this is just a good opportunity to just remove this old feature instead ;)

9 years agoBugfix #21739: Extend in the NLA crashes (Ekey)
Joshua Leung [Fri, 26 Mar 2010 00:25:14 +0000 (00:25 +0000)]
Bugfix #21739: Extend in the NLA crashes (Ekey)

9 years agoBGE: [#19836] Recursive Parenting in game crashes Blender. Added parenting loop detec...
Benoit Bolsee [Thu, 25 Mar 2010 21:43:36 +0000 (21:43 +0000)]
BGE: [#19836] Recursive Parenting in game crashes Blender. Added parenting loop detection.

9 years agoFix #21764: bezier curve render resolution slider min value 1
Sergey Sharybin [Thu, 25 Mar 2010 18:59:50 +0000 (18:59 +0000)]
Fix #21764: bezier curve render resolution slider min value 1

Render resolution set to 0 is correct in both of U and V cases
(if render resolution is set to 0 values from resolution_* will
be used while rendering)

9 years agoFix #21761: Curve+"Fill deformed"+modifier ( not all)= not rendered
Sergey Sharybin [Thu, 25 Mar 2010 18:41:57 +0000 (18:41 +0000)]
Fix #21761: Curve+"Fill deformed"+modifier ( not all)= not rendered

Incorrect displist base was passed to curve_to_filledpoly().

9 years agofix for incorrect args, before pyapi fixes these were ignored.
Brecht Van Lommel [Thu, 25 Mar 2010 13:53:24 +0000 (13:53 +0000)]
fix for incorrect args, before pyapi fixes these were ignored.
(commit 27723 by Campbell from render25 branch)

9 years agoBugfix #21738: Flatten keys doesn't work
Joshua Leung [Thu, 25 Mar 2010 12:35:53 +0000 (12:35 +0000)]
Bugfix #21738: Flatten keys doesn't work

Flatten handles option was an ugly mix of snap to nearest integer values and set the handles to have the same values as the key. Removed the nearest integer snapping from this, since it doesn't seem that useful in retrospect. It could be restored later if there's any demand for it.

9 years agoAdding menu entries for the new hotkeys (change keying set)
Joshua Leung [Thu, 25 Mar 2010 11:42:02 +0000 (11:42 +0000)]
Adding menu entries for the new hotkeys (change keying set)

9 years agoMore assorted Keying Sets changes for Cessen (mainly api stuff):
Joshua Leung [Thu, 25 Mar 2010 11:34:18 +0000 (11:34 +0000)]
More assorted Keying Sets changes for Cessen (mainly api stuff):

* Added operator (Ctrl Shift Alt I) to show menu for changing the active Keying Set in the 3D view (todo item from last commit)

* KeyingSetInfo (i.e. the Builtin Keying Set classes) can now be accessed from Keying Set instances with  ks.type_info
* Added ks.remove_all_paths() function to remove all the paths for a Keying Set.


These two changes mean that builtin Keying Sets could be refreshed in response to context changes by doing:
ks = bpy.context.scene.active_keying_set
if ks.absolute==False and ks.type_info:
    ksi = ks.type_info

    # remove existing paths to fill with new

    # check if Keying Set can be used in current context
    if ksi.poll(bpy.context):
        # call iterator() which calls generate() and re-populates paths list
        ksi.iterator(bpy.context, ks)

And then, once this has been done, the paths that the Keying Set will operate on can be accessed as
paths = bpy.context.scene.active_keying_set.paths

9 years agoRemove object type check in Cast Modifier deformation, was wrong now that Curves...
Elia Sarti [Thu, 25 Mar 2010 10:43:55 +0000 (10:43 +0000)]
Remove object type check in Cast Modifier deformation, was wrong now that Curves support modifiers.
Also fixes [#21742] Crashes when adding a Cast mod after a Screw mod on a Curve Object

9 years agoFix compilation error in MinGW with my last commit.
Benoit Bolsee [Thu, 25 Mar 2010 08:48:31 +0000 (08:48 +0000)]
Fix compilation error in MinGW with my last commit.

9 years agoRestored Fluid Sim baking
Matt Ebb [Thu, 25 Mar 2010 06:27:25 +0000 (06:27 +0000)]
Restored Fluid Sim baking

This commit restores fluid sim baking functionality in 2.5, it's been on the todo for
a while, and was previously almost completely non-functional. The old
code was quite complicated and specific to the 2.4 animation system, so I've
pretty much rewritten most of it.

This includes:
* Animated variables work again - just key them in the UI. Non-animateable values
should be already set non-animateable in RNA, hopefully I got them all.

Available are: Domain Gravity / Domain Viscosity / Object loc/rot/scale /
Object initial velocity / Deforming meshes / Fluid control Attract strength /
Fluid control Attract radius / Fluid control Velocity strength /
Fluid control Velocity radius / Object Active status (checkbox next to fluid type)

The Domain time scale is still not yet implemented.

* Fluid sim now use global scene units data by default - when enabled, the
scene's global gravity value is used and when units are set (metric/imperial)
the simulation real world size is taken from the object's actual measurements.

* The baking process is now done in the background, using the nifty threaded
Jobs system. It's non-blocking and your domain object will show the simulated
fluid as it becomes available for that frame.

A nice extra thing for the future would be to improve the visualisation of the
object's state while baking, and also the jobs system/ui could do with some
touchups - currently it has to share a bit from the 'render' job, and appears as
'Render' in the header. Progress bars for jobs in the header would be great too.

9 years agotemporary comment out for matt_e
Tom Musgrove [Thu, 25 Mar 2010 00:46:08 +0000 (00:46 +0000)]
temporary comment out for matt_e

9 years agoPatch from Francois Tarlier: extend colour balance node 'lift' value to 0.0-2.0 range
Matt Ebb [Thu, 25 Mar 2010 00:10:41 +0000 (00:10 +0000)]
Patch from Francois Tarlier: extend colour balance node 'lift' value to 0.0-2.0 range
(default 1.0), like the other controls. Thanks!

9 years agoBGE: bug #21684 fixed: multiple material with static modifier now supported with...
Benoit Bolsee [Wed, 24 Mar 2010 22:55:45 +0000 (22:55 +0000)]
BGE: bug #21684 fixed: multiple material with static modifier now supported with display list.

9 years agoFixed incorrect memcpy in subdivide operator.
Sergey Sharybin [Wed, 24 Mar 2010 19:14:10 +0000 (19:14 +0000)]
Fixed incorrect memcpy in subdivide operator.

9 years agoFixed bug with incorrect cyclic beizer curve subdivision.
Sergey Sharybin [Wed, 24 Mar 2010 19:04:32 +0000 (19:04 +0000)]
Fixed bug with incorrect cyclic beizer curve subdivision.

9 years agoMSVC 9 projectfiles
Andrea Weikert [Wed, 24 Mar 2010 19:04:17 +0000 (19:04 +0000)]
MSVC 9 projectfiles
- small update

9 years ago- Use vector interpolation functions from math_vector module in
Sergey Sharybin [Wed, 24 Mar 2010 17:52:51 +0000 (17:52 +0000)]
- Use vector interpolation functions from math_vector module in
  curve subdivision operator.
- Added function interp_v4_v4v4().

9 years agohopefully fix reported problems with include remove r27712
Campbell Barton [Wed, 24 Mar 2010 16:23:42 +0000 (16:23 +0000)]
hopefully fix reported problems with include remove r27712

9 years agoxaspect and yaspect were not working with uv project modifier & panorama, also remove...
Campbell Barton [Wed, 24 Mar 2010 16:20:13 +0000 (16:20 +0000)]
xaspect and yaspect were not working with uv project modifier & panorama, also removed some includes.

9 years agoreplace exceptions with getattr() fallback
Campbell Barton [Wed, 24 Mar 2010 15:17:11 +0000 (15:17 +0000)]
replace exceptions with getattr() fallback

9 years agofix for keying set rna path attribute and object select menu incorrect args to UI...
Campbell Barton [Wed, 24 Mar 2010 15:08:15 +0000 (15:08 +0000)]
fix for keying set rna path attribute and object select menu incorrect args to UI func.

9 years agoKeying Sets - PyAPI consistency issues:
Joshua Leung [Wed, 24 Mar 2010 12:48:03 +0000 (12:48 +0000)]
Keying Sets - PyAPI consistency issues:
* Added 'id_name' property, which is used as the "typeinfo_name" by Keying Set instances. This is simply the name of the relevant KeyingSetInfo classes.

* Renamed the 'array_index' arg for ks.add_path() to 'index'. Also removed the 'entire array' toggle arg in favour of just passing -1 to index. However, Keying Sets in general still maintain their 'entire array' toggle flags for now, it's just that the API function does conversion between the two.

9 years agoAdded Set VIsibility (V key) to Graph Editor menu.
William Reynish [Wed, 24 Mar 2010 12:39:51 +0000 (12:39 +0000)]
Added Set VIsibility (V key) to Graph Editor menu.

9 years agoremove unused includes UI_*.h, WM_*.h, ED_*.h
Campbell Barton [Wed, 24 Mar 2010 10:56:37 +0000 (10:56 +0000)]
remove unused includes UI_*.h, WM_*.h, ED_*.h

9 years agoremove unused rna includes
Campbell Barton [Wed, 24 Mar 2010 09:51:32 +0000 (09:51 +0000)]
remove unused rna includes

9 years agofix bad level calls
Tom Musgrove [Wed, 24 Mar 2010 03:48:25 +0000 (03:48 +0000)]
fix bad level calls