blender.git
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 - www.opengl.org/sdk/docs/man/xhtml/glCopyTexImage2D.xml

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):
http://blenderecia.orgfree.com/blender/tmp/dome_bgl_copytex2d.jpg

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:
<code>
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
    ks.remove_all_paths()

    # 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)
</code>

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

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

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

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

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

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

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

9 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

9 years agobugfix for loading objects saved with the dupli pointer set.
Brecht Van Lommel [Tue, 23 Mar 2010 14:47:40 +0000 (14:47 +0000)]
bugfix for loading objects saved with the dupli pointer set.
(commit 27662 by Campbell from render25 branch)

9 years agomore lint includes
Campbell Barton [Tue, 23 Mar 2010 14:09:09 +0000 (14:09 +0000)]
more lint includes
Only source/blender/editors/ dir, should not give errors on different platforms
Only removing:  UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h

9 years agoKeying Sets: BuiltIn vs Absolute Tweaks
Joshua Leung [Tue, 23 Mar 2010 11:59:34 +0000 (11:59 +0000)]
Keying Sets: BuiltIn vs Absolute Tweaks

This commit clarifies the somewhat "murky" separation between "builtin" and "absolute" KeyingSets as a result of discussions with Cessen.

* "Builtin" Keying Sets are now just the Keying Sets which in the past have been known as PyKeyingSets or Relative KeyingSets. These are registered from Py Scripts at startup, and will use the context info to determine what data they should be keyframing. These are stored per Blender session, independent of files, since usually these will be coded specific to sets of rigs used at a studio.

* "Absolute" Keying Sets are the ones that you can create from the Scene buttons and/or KKEY or RMB over any property. They specify the exact set of properties which should always get keyframed together. These are stored in the scene.

In relation to this, I've made it possible to now set one of the builtin Keying Set types as the active Keying Set.
* For now, this can only be done via the box beside the insert/delete key operator buttons on the TimeLine header (now complete with an recycled icon - HINT TO ICON DESIGNERS, to make this a bit more obvious). Later on I'll commit an operator to set this via a hotkey.
* The "IKEY" menu will only show up when there is no active Keying Set. When there is one, keying will happen silently (with info notice at the top of the screen). Later on, I'll hook this menu up to a hotkey, so that that active Keying Set can be changed without inserting keyframes or clearing active Keying Set...
* By default, there isn't any default Keying Set enabled. IMO, this is probably a good default, though some might like to have LocRotScale instead.
* I'm not terribly impressed with the search menu for the items being SORTED (and of all things, alphabetically!) currently, since this does break muscle-memory with the menu (and jumbles up order of closely related vs not closely related).
* The Scene buttons for KeyingSets still need some changes to fully cope with users setting builtin KeyingSets as active sometimes. Controls which are useless or shouldn't be used when a builtin set is shown are being shown.

Builtin set registrations have been tweaked a bit:
* Renamed "bl_idname" to "bl_label" for consistency with rest of API. Note that this is the identifier used by Blender internally when searching for the KeyingSet, and is also what the user sees.

9 years agoAdded a line sampler to the histogram panel in the image space.
Robert Holcomb [Tue, 23 Mar 2010 01:22:33 +0000 (01:22 +0000)]
Added a line sampler to the histogram panel in the image space.
Patch #21712 from Xavier Thomas.
now updates in real time as you pull the line.

9 years agoFix for child drawing bug reported in the comments of [#21103] Updating bugs in Parti...
Janne Karhu [Mon, 22 Mar 2010 19:38:40 +0000 (19:38 +0000)]
Fix for child drawing bug reported in the comments of [#21103] Updating bugs in Particle Mode

9 years agoFix #20548: flat shading not drawing right in sculpt mode.
Brecht Van Lommel [Mon, 22 Mar 2010 17:17:36 +0000 (17:17 +0000)]
Fix #20548: flat shading not drawing right in sculpt mode.

9 years agoFix for [#21103] Updating bugs in Particle Mode
Janne Karhu [Mon, 22 Mar 2010 17:12:08 +0000 (17:12 +0000)]
Fix for [#21103] Updating bugs in Particle Mode

9 years agoMath Lib: make some more vector functions use const arguments.
Brecht Van Lommel [Mon, 22 Mar 2010 15:55:12 +0000 (15:55 +0000)]
Math Lib: make some more vector functions use const arguments.

9 years agoFix node material properties not showing correct, the code here should not
Brecht Van Lommel [Mon, 22 Mar 2010 15:50:16 +0000 (15:50 +0000)]
Fix node material properties not showing correct, the code here should not
be removed, because some panels use the parent materials while others use
the nested materials.

9 years agoSculpt: fix memory leak with anchored stroke option.
Brecht Van Lommel [Mon, 22 Mar 2010 13:24:41 +0000 (13:24 +0000)]
Sculpt: fix memory leak with anchored stroke option.