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

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

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

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

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

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

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

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

11 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

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

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

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

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

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

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

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

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

11 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):

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

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

11 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

11 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

11 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

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

11 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 ;)

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

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

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

11 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().

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

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

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

11 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

11 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

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

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

11 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

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

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

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

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

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

11 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().

11 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

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

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

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

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

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

11 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

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

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

11 years agooops forgot this!
Robert Holcomb [Tue, 23 Mar 2010 23:36:24 +0000 (23:36 +0000)]
oops forgot this!

11 years agoFixed disappearing of NURBS surface when it's created from to joined nurbs curves.
Sergey Sharybin [Tue, 23 Mar 2010 22:09:33 +0000 (22:09 +0000)]
Fixed disappearing of NURBS surface when it's created from to joined nurbs curves.

11 years agoAdded "Number of cuts" property to the bpy.ops.curve.subdivide operator.
Sergey Sharybin [Tue, 23 Mar 2010 22:09:23 +0000 (22:09 +0000)]
Added "Number of cuts" property to the bpy.ops.curve.subdivide operator.

11 years agoenable compiling without python again
Campbell Barton [Tue, 23 Mar 2010 21:37:02 +0000 (21:37 +0000)]
enable compiling without python again

11 years agofix: Curve point was added somewhere outside the universe
Andrea Weikert [Tue, 23 Mar 2010 20:41:19 +0000 (20:41 +0000)]
fix: Curve point was added somewhere outside the universe
- MSVC needed location initialized to zero.

11 years agoPanorama camera support for UV project modifier
Campbell Barton [Tue, 23 Mar 2010 20:04:05 +0000 (20:04 +0000)]
Panorama camera support for UV project modifier

11 years agoSVN maintenance.
Guillermo S. Romero [Tue, 23 Mar 2010 19:00:48 +0000 (19:00 +0000)]
SVN maintenance.

11 years agofix [#21666] selecting images in file browser before thumbnail is created deselects...
Andrea Weikert [Tue, 23 Mar 2010 18:46:21 +0000 (18:46 +0000)]
fix [#21666] selecting images in file browser before thumbnail is created deselects them when the thumb is created
- was overwriting the selection flag
- also fixed mismatching prototype (own eek!)

Also added small update of MSVC 9 projectfiles (blendkernel/image_gen.c)

11 years agomove uv project functions into their own files to be more re-usable.
Campbell Barton [Tue, 23 Mar 2010 18:28:38 +0000 (18:28 +0000)]
move uv project functions into their own files to be more re-usable.

11 years agoSpacebar to confirm Fly Mode
Daniel Salazar [Tue, 23 Mar 2010 16:40:46 +0000 (16:40 +0000)]
Spacebar to confirm Fly Mode

11 years agoMesh Edit mode keymap conflict: Shift F should be fly mode, remapped
Daniel Salazar [Tue, 23 Mar 2010 16:17:48 +0000 (16:17 +0000)]
Mesh Edit mode keymap conflict: Shift F should be fly mode, remapped
Fill to Alt F and Beautity Fill to Shift Alt F

first commit from PrimateFX headquarters!

11 years agofix for mistake in own recent commit.
Brecht Van Lommel [Tue, 23 Mar 2010 16:17:27 +0000 (16:17 +0000)]
fix for mistake in own recent commit.
(commit 27690 by Campbell from render25 branch)

11 years agofix for crash on loading some files with composite nodes.
Brecht Van Lommel [Tue, 23 Mar 2010 16:16:32 +0000 (16:16 +0000)]
fix for crash on loading some files with composite nodes.
(commit 27689 by Campbell from render25 branch)

11 years agoworkaround for compositor threading copying actions every time.
Brecht Van Lommel [Tue, 23 Mar 2010 15:34:07 +0000 (15:34 +0000)]
workaround for compositor threading copying actions every time.
(commit 27684 by Campbell from render25 branch)

11 years agorna/py-api fix.
Brecht Van Lommel [Tue, 23 Mar 2010 15:31:12 +0000 (15:31 +0000)]
rna/py-api fix.
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument.

next commit will make order of arguments consistant (currently only changed order that rna wrapped).
(commit 27674 and 27683 by Campbell from render25 branch)

11 years agorna/py-api fix.
Brecht Van Lommel [Tue, 23 Mar 2010 15:25:33 +0000 (15:25 +0000)]
rna/py-api fix.
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument.

next commit will make order of arguments consistant (currently only changed order that rna wrapped).
(commit 27674 by Campbell from render25 branch)

11 years agoreport an error parsing args, will try fix properly but this involves many changes...
Brecht Van Lommel [Tue, 23 Mar 2010 15:21:08 +0000 (15:21 +0000)]
report an error parsing args, will try fix properly but this involves many changes so do this for now.
(commit 27671 by Campbell from render25 branch)

11 years agofix for parsing python args to rna functions, was using allocated size as argument...
Brecht Van Lommel [Tue, 23 Mar 2010 15:04:06 +0000 (15:04 +0000)]
fix for parsing python args to rna functions, was using allocated size as argument count.
(commit 27670 by Campbell from render25 branch)

11 years agopy/rna functions for adding and removing curve data.
Brecht Van Lommel [Tue, 23 Mar 2010 14:58:36 +0000 (14:58 +0000)]
py/rna functions for adding and removing curve data.
(commit 27666 by Campbell from render25 branch)

11 years agogetting an item from a collection wasnt being checked correctly.
Brecht Van Lommel [Tue, 23 Mar 2010 14:48:32 +0000 (14:48 +0000)]
getting an item from a collection wasnt being checked correctly.
(commit 27665 by Campbell from render25 branch)