blender.git
9 years agofixed make local bug; it was only looking at editable objects, which of course lib...
Joseph Eagar [Tue, 13 Apr 2010 16:52:18 +0000 (16:52 +0000)]
fixed make local bug; it was only looking at editable objects, which of course lib objects are not.

9 years agoprevent images from freeing gpu buffers if not run within the main thread, instead...
Joseph Eagar [Tue, 13 Apr 2010 12:51:03 +0000 (12:51 +0000)]
prevent images from freeing gpu buffers if not run within the main thread, instead they are queued to be freed the next time GPU_image_free() is run from the main thread.

9 years agoFix for hue correct node, was clamping value of hsv unnecessarily.
Matt Ebb [Tue, 13 Apr 2010 08:30:53 +0000 (08:30 +0000)]
Fix for hue correct node, was clamping value of hsv unnecessarily.

9 years agoTodo #21831: Deform modifier is applied to base mesh instead of
Sergey Sharybin [Tue, 13 Apr 2010 06:06:49 +0000 (06:06 +0000)]
Todo #21831: Deform modifier is applied to base mesh instead of
             multires modifier if both are in the stack (patch #21965)

This patch also removes limitation of multires reshaping when
destination object has got modifiers after multires modifier.

9 years agoBGE: stubs update (bplayer)
Dalai Felinto [Mon, 12 Apr 2010 23:02:14 +0000 (23:02 +0000)]
BGE: stubs update (bplayer)

9 years ago[#21993] Edge Slide operator should disable projection snapping
Martin Poirier [Mon, 12 Apr 2010 22:42:09 +0000 (22:42 +0000)]
[#21993] Edge Slide operator should disable projection snapping

Adding proper flag.

If there are others like that, other people can fix them too, it's easy peasy.

9 years agomodifier include cleanup, this might need fixes on other systems but hard to avoid.
Campbell Barton [Mon, 12 Apr 2010 22:33:43 +0000 (22:33 +0000)]
modifier include cleanup, this might need fixes on other systems but hard to avoid.
also removed unused stuff from cmake modifier file

9 years agoButton panels need to get handlers and keymaps... but for now sneaked
Ton Roosendaal [Mon, 12 Apr 2010 17:45:51 +0000 (17:45 +0000)]
Button panels need to get handlers and keymaps... but for now sneaked
in a handy key : Akey in buttons window on a panel will
open or close it.

9 years agoSubframe calculations for particles, original patch by Raul Fernandez Hernandez
Janne Karhu [Mon, 12 Apr 2010 17:34:06 +0000 (17:34 +0000)]
Subframe calculations for particles, original patch by Raul Fernandez Hernandez
* Increasing subframe count increases stability for SPH fluid and Newtonian particles
* Also small tweaks into physics ui panel to better fit new subframes value
* This commit also fixes the moving fluid emitter problem as described by Raul in the mailinglist

9 years agoRearrange the includes a bit.
Guillermo S. Romero [Mon, 12 Apr 2010 16:15:38 +0000 (16:15 +0000)]
Rearrange the includes a bit.

9 years agoMerge -c 28147 from COLLADA branch into trunk.
Arystanbek Dyussenov [Mon, 12 Apr 2010 15:32:59 +0000 (15:32 +0000)]
Merge -c 28147 from COLLADA branch into trunk.

9 years agoFix [#21953] Texture space size seems not updated constantly
Matt Ebb [Mon, 12 Apr 2010 05:04:49 +0000 (05:04 +0000)]
Fix [#21953] Texture space size seems not updated constantly

9 years agoBGE: TexFace panel (from patch #21780 from Mitchell Stokes + some changes)
Dalai Felinto [Mon, 12 Apr 2010 03:06:49 +0000 (03:06 +0000)]
BGE: TexFace panel (from patch #21780 from Mitchell Stokes + some changes)
the patch exposes a rna property to get the active edit mode face. This is a hack.
However it's a small patch (a.k.a. easy to revert later if needed).

The official plan is to wait for BMesh before tackling it properly. Nevertheless TexFace panel is really important for BGE.

Missing: operators to copy the current parameters to other selected faces.

* note: what I changed from the original patch is the UI script. The pool wasn't defined and it was using tabs.

9 years agoWork around to keep compiler going with zlib.h:
Guillermo S. Romero [Mon, 12 Apr 2010 02:56:41 +0000 (02:56 +0000)]
Work around to keep compiler going with zlib.h:
In file included from MOD_fluidsim_util.c:62:
/usr/include/zlib.h:1440: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gzseek64’

TODO: string.h appears twice and "" vs <> seems arbitrary.

9 years agoFix external image editor (needs to be a list, otherwise extends adds each character...
Martin Poirier [Mon, 12 Apr 2010 02:43:17 +0000 (02:43 +0000)]
Fix external image editor (needs to be a list, otherwise extends adds each character as a list item).

Note: The default value ("start") on windows doesn't work. Start is not a real program.

9 years agoFix [#21972] Inclusive selection doesn't work for Faces
Matt Ebb [Mon, 12 Apr 2010 02:10:50 +0000 (02:10 +0000)]
Fix [#21972] Inclusive selection doesn't work for Faces

9 years agoFix many compile errors in fluidsim modifier.
Matt Ebb [Mon, 12 Apr 2010 01:26:56 +0000 (01:26 +0000)]
Fix many compile errors in fluidsim modifier.

Please enable+compile before committing!

9 years agoModifiers moved, adjust accordingly.
Guillermo S. Romero [Mon, 12 Apr 2010 01:23:55 +0000 (01:23 +0000)]
Modifiers moved, adjust accordingly.

9 years agomore header cleanups
Campbell Barton [Mon, 12 Apr 2010 01:09:59 +0000 (01:09 +0000)]
more header cleanups

9 years agoFix [#21982] Operator bug: Edit mode
Matt Ebb [Mon, 12 Apr 2010 00:40:56 +0000 (00:40 +0000)]
Fix [#21982] Operator bug: Edit mode

Hid the 'Enter Edit Mode' property when adding an object, not necessary anyway.

9 years ago- use more inline math funcitons where possible
Campbell Barton [Mon, 12 Apr 2010 00:36:50 +0000 (00:36 +0000)]
- use more inline math funcitons where possible
- swapped in less verbose math functons
- modifier include cleanup

9 years agoPatch from Xavier Thomas, tweaks/fixes to FFMPEG YUV conversion code
Matt Ebb [Sun, 11 Apr 2010 23:52:47 +0000 (23:52 +0000)]
Patch from Xavier Thomas, tweaks/fixes to FFMPEG YUV conversion code

9 years agoSVN maintenance.
Guillermo S. Romero [Sun, 11 Apr 2010 23:20:03 +0000 (23:20 +0000)]
SVN maintenance.

9 years agobooleanops.c was moved to MOD_boolean_util.c, remove empty file.
Campbell Barton [Sun, 11 Apr 2010 22:20:02 +0000 (22:20 +0000)]
booleanops.c was moved to MOD_boolean_util.c, remove empty file.

9 years ago[#14437] Modifier Stack Refactor
Campbell Barton [Sun, 11 Apr 2010 22:12:30 +0000 (22:12 +0000)]
[#14437] Modifier Stack Refactor
patch by Ben Batt (artificer)

Updated patch for 6 or so modifiers added since the patch was written.

- tested with CMake and SCons
- fixed one error were flags were being added to the fluids type.
- remove BKE_simple_deform.h, simple_deform.c, move functions into MOD_simpledeform.c since there were problems with circular deps.
- moved some fluid and boolean functions used by modifiers too.

9 years agoCopy Constraints Operator
Dalai Felinto [Sun, 11 Apr 2010 22:08:58 +0000 (22:08 +0000)]
Copy Constraints Operator
the C code to copy the constraint was already there (same as 2.49) so this operator simply exposes it.
I'm using the name Copy Constraints to Others based on what we have in material operators (e.g. Copy Material to Others).

If we bring back the whole Copy Attributes menu (old Ctrl+C) having the individual operators is still important for scripts. Nevertheless I'm not comfortable with the name (to Others sounds unnecessary verbose) but so far having the functionality back is important (request from Caju Studio). I'll be glad to make any change later if needed.
(no shortcut for that, to use it go to userpref->keymap and assign a shortcut for this operator or add it to the toolshelf)

9 years ago== Sequencer ==
Peter Schlaile [Sun, 11 Apr 2010 19:26:46 +0000 (19:26 +0000)]
== Sequencer ==

Made custom proxy files a lot more sensible to select
(upgraded to filepath get/setters)

Changed semantics, since custom files don't make much
sense without custom directories...

9 years ago== Sequencer ==
Peter Schlaile [Sun, 11 Apr 2010 18:37:49 +0000 (18:37 +0000)]
== Sequencer ==

Proxy render size settings is now back. (Maybe still in need of some sensible
icons, though...)

Also: waveform color seperation works in N-keys dialog again.

9 years agoSVN maintenance.
Guillermo S. Romero [Sun, 11 Apr 2010 16:41:43 +0000 (16:41 +0000)]
SVN maintenance.

9 years agoSpecific operator for Push/Pull (no need to go through the generic operator and it...
Martin Poirier [Sun, 11 Apr 2010 16:04:11 +0000 (16:04 +0000)]
Specific operator for Push/Pull (no need to go through the generic operator and it makes it available in the operator search)

9 years agoPyAPI
Campbell Barton [Sun, 11 Apr 2010 14:22:27 +0000 (14:22 +0000)]
PyAPI
 - added new mathutils.Color() type, use with rna so we can do for eg:
 material.diffuse_color.r = 1.0
 # also has hsv access
 material.diffuse_color.s = 0.6

 - made Mathutils and Geometry module names lowercase.

9 years agomindrones reports cmake 2.4 doesnt work anymore, since 2.8 is current, bumping the...
Campbell Barton [Sun, 11 Apr 2010 12:20:30 +0000 (12:20 +0000)]
mindrones reports cmake 2.4 doesnt work anymore, since 2.8 is current, bumping the minimum version requiired

9 years agopy api file rename
Campbell Barton [Sun, 11 Apr 2010 12:05:27 +0000 (12:05 +0000)]
py api file rename
- prefix mathutils api.
- 2 blf.c files (annoying for debugging)
- py api docs ignore keying sets as with operators.

9 years agoLong outstanding panel feature: press ENTER with mouse on header will
Ton Roosendaal [Sun, 11 Apr 2010 11:52:39 +0000 (11:52 +0000)]
Long outstanding panel feature: press ENTER with mouse on header will
open/close it. Will allow quicker inspections without mouse strains.

9 years agoCocoa fix [#21866] : force mouse move event to be sent upon cursor position set request
Damien Plisson [Sun, 11 Apr 2010 11:19:30 +0000 (11:19 +0000)]
Cocoa fix [#21866] : force mouse move event to be sent upon cursor position set request

9 years agoZoom in/out for Composite Node backdrop is (temp?) Vkey and SHIFT+V.
Ton Roosendaal [Sun, 11 Apr 2010 10:49:47 +0000 (10:49 +0000)]
Zoom in/out for Composite Node backdrop is (temp?) Vkey and SHIFT+V.
Scrollwheel is being fully swallowed there now...

9 years agopython function to remove drivers.
Campbell Barton [Sun, 11 Apr 2010 09:13:37 +0000 (09:13 +0000)]
python function to remove drivers.

eg:
 bpy.context.object.driver_remove("location")

ANIM_remove_driver now accepts -1 as an index for removing all drivers from one path.

9 years agoBGE fix #20456 - 2.5: mouse position problem (offseted by 1 vertically)
Dalai Felinto [Sun, 11 Apr 2010 01:53:21 +0000 (01:53 +0000)]
BGE fix #20456 - 2.5: mouse position problem (offseted by 1 vertically)

In Blender 2.49 the win width and height were been calculated including an extra pixel (e.g. a fullscreen editor would be (width + 1) by (height + 1) )
In opposite to that, Blender 2.5 window/editor code were fixed to have the exact width,height size.
So although the BGE canvas code was still the same as 2.49 it was producing a wrong result.

I'm also adding some commentaries in the setViewport code. BGE is setting the viewports 1 pixel larger.
the setViewport command is been used as if one should pass (minx, miny, width, height), while it should be (minx, miny, maxx, maxy). I will take care of that later, if any one has extra comments on that, please let me know.

9 years agoSolidify Modifier
Campbell Barton [Sat, 10 Apr 2010 22:12:10 +0000 (22:12 +0000)]
Solidify Modifier
- vertex normals were not being flipped (though faces are)
- rim faces didnt influence edge vertex normals

apply solidify on top of solidify modifier now works correctly

9 years agobpy.app was writing members more then once.
Campbell Barton [Sat, 10 Apr 2010 19:06:18 +0000 (19:06 +0000)]
bpy.app was writing members more then once.

9 years agorna/py/reference doc improvements..
Campbell Barton [Sat, 10 Apr 2010 18:35:50 +0000 (18:35 +0000)]
rna/py/reference doc improvements..
- vectors now respect min/max settings.
- keyframing and adding drivers raises an error in an index is set on a non array, keyframing raises an error if it fails.

reference docs...
- added docstrings for remaining python bpy_struct functions
- added fake class for docs, bpy_struct, which is the base class of everything in bpy.types
- improved inherictance references for struct classes, include bpy_struct members.

9 years agoQTKit (OSX 64bit): Add audio export to Quicktime
Damien Plisson [Sat, 10 Apr 2010 09:31:41 +0000 (09:31 +0000)]
QTKit (OSX 64bit): Add audio export to Quicktime

Supports default OSX codecs : Linear PCM, Apple Lossless and AAC

Note that AAC codec doesn't support sample rates above 48kHz. If a python/rna guru knows how to easily enforce this limit, he is welcome!

Enjoy making Quicktime movies now with audio!

9 years agorna reference docs, list inherited properties and functions at the bottom of each...
Campbell Barton [Fri, 9 Apr 2010 20:43:58 +0000 (20:43 +0000)]
rna reference docs, list inherited properties and functions at the bottom of each type.

9 years agodont document parent classes funcs and properties
Campbell Barton [Fri, 9 Apr 2010 20:04:37 +0000 (20:04 +0000)]
dont document parent classes funcs and properties

9 years agoReversion of commit that changes order for keymaps. I thought it
Ton Roosendaal [Fri, 9 Apr 2010 13:16:17 +0000 (13:16 +0000)]
Reversion of commit that changes order for keymaps. I thought it
would work for all cases, but greasepencil broke! Needs to get
a bit more thinking or design.

9 years agoFix for previous commit - better to just use NewRender rather than GetRender
Matt Ebb [Fri, 9 Apr 2010 07:47:57 +0000 (07:47 +0000)]
Fix for previous commit - better to just use NewRender rather than GetRender

9 years agoFix [#21529] Operator.report() has inconsistent behaviour with newlines
Matt Ebb [Fri, 9 Apr 2010 07:00:27 +0000 (07:00 +0000)]
Fix [#21529] Operator.report() has inconsistent behaviour with newlines

9 years agoAttempted fix for [#21491] rendering from the api does not work
Matt Ebb [Fri, 9 Apr 2010 04:57:50 +0000 (04:57 +0000)]
Attempted fix for [#21491] rendering from the api does not work

Render was hanging on to old callbacks from interactive wmJob render when used
as a blocking render from py API.

9 years agoFix [#21949] View center seg fault
Matt Ebb [Fri, 9 Apr 2010 01:44:24 +0000 (01:44 +0000)]
Fix [#21949] View center seg fault

Operator needed a better poll function

9 years agoPatch from Xavier Thomas: Use vertex arrays for drawing image editor vector scope
Matt Ebb [Fri, 9 Apr 2010 00:44:35 +0000 (00:44 +0000)]
Patch from Xavier Thomas: Use vertex arrays for drawing image editor vector scope
too, making it a lot more efficient.

Also fixed issue with scopes height not being stored in file properly.

9 years agoBugfix: 21586 - UI problems with Tiled Textures (animatable for GE)
Dalai Felinto [Thu, 8 Apr 2010 20:58:18 +0000 (20:58 +0000)]
Bugfix: 21586 - UI problems with Tiled Textures (animatable for GE)
The problem was present in Blender 2.49, but it didn't produce any side effect.
glScale was changing the texture matrix and the matrix was never been reset. That messes up with UI drawing.

9 years agothree things:
Ton Roosendaal [Thu, 8 Apr 2010 16:36:50 +0000 (16:36 +0000)]
three things:

- ALT+Scrollwheel zooms backdrop in node editor
- Blender -d debug print will also print every event except mouse moves
  (needed to debug WM, some events are catched by OS)
- Changed order of keymaps... the default maps now are evaluated *after*
  the own custom maps, so you can make overrides or defaults.

9 years agono functional change
Campbell Barton [Thu, 8 Apr 2010 16:08:06 +0000 (16:08 +0000)]
no functional change
- convert solidify edge crease values into chars once rather then for each edge.
- sort vertex was checking the array all the time when it wasnt needed.

9 years agobugfix [#21812] Crash with -b -P on blend files saved with older blender versions.
Campbell Barton [Thu, 8 Apr 2010 14:39:16 +0000 (14:39 +0000)]
bugfix [#21812] Crash with -b -P on blend files saved with older blender versions.
from Elia Sarti

9 years agoBringing back code style to how WM was made.
Ton Roosendaal [Thu, 8 Apr 2010 13:12:53 +0000 (13:12 +0000)]
Bringing back code style to how WM was made.
Check this diff to see difference... mixed styles in 1 file are not OK!

9 years agoMerge -c 28089 from COLLADA branch into trunk.
Arystanbek Dyussenov [Thu, 8 Apr 2010 11:57:23 +0000 (11:57 +0000)]
Merge -c 28089 from COLLADA branch into trunk.

9 years agobugfix [#21929] linking in groups into a linked in scene is possible and those groups...
Campbell Barton [Thu, 8 Apr 2010 11:46:52 +0000 (11:46 +0000)]
bugfix [#21929] linking in groups into a linked in scene is possible and those groups can't be deleted
 - Disallow this and report a warning in the console when it happens.
 - File selector operators now report in the global report console.
 - Cleared some warnings.

9 years agoFix 'Region to Loop' not updating mesh selection modes properly
Matt Ebb [Thu, 8 Apr 2010 11:26:10 +0000 (11:26 +0000)]
Fix 'Region to Loop' not updating mesh selection modes properly

9 years agoFix for previous FFMPEG commit, needs extra version ifdefs
Matt Ebb [Thu, 8 Apr 2010 06:10:41 +0000 (06:10 +0000)]
Fix for previous FFMPEG commit, needs extra version ifdefs

9 years agoFix [#21890] YUV->RGB: Color clamping 16-235 in all motion pictures (ffmpeg)
Matt Ebb [Thu, 8 Apr 2010 03:26:49 +0000 (03:26 +0000)]
Fix [#21890] YUV->RGB: Color clamping 16-235 in all motion pictures (ffmpeg)

Patch by Troy James Sobotka - this uses options in newer FFMPEG versions to
convert the full 0-255 YUV range of imported imagery to RGB, rather than
clipping at 16-235.

This functionality is not available yet in an official FFMPEG release
(current precompiled version in /lib for osx at least is v0.5.1 from 2009) so this
won't take effect in that situation, but if you've got a newer ffmpeg on your system
it will work.

9 years ago* Texture Mapping Panel could raise an error, missed check for an active texture...
Thomas Dinges [Wed, 7 Apr 2010 18:08:30 +0000 (18:08 +0000)]
* Texture Mapping Panel could raise an error, missed check for an active texture slot.

9 years agoThe daily node commit: brought back panning background image.
Ton Roosendaal [Wed, 7 Apr 2010 17:06:22 +0000 (17:06 +0000)]
The daily node commit: brought back panning background image.
For now it is on ALT+MiddleMouse. The view2d code eats the shift+mmb,
which is not necessary, but will have to ask Joshua to be sure.

Probably tomorrow it's shift+mmb as for 2.49.

9 years agoAdded tongue and neck rigs. The neck rig is quite solid, I think, and is working...
Nathan Vegdahl [Wed, 7 Apr 2010 14:46:06 +0000 (14:46 +0000)]
Added tongue and neck rigs.  The neck rig is quite solid, I think, and is working well in production on Durian.  The tongue rig is a bit hacky, but I'm adding it for now since we're using it in Durian.
Also added pupil dilation to the eye rig type, and made the finger rig type work with two-digit fingers.

9 years agoAuto Keyframing:
Joshua Leung [Wed, 7 Apr 2010 11:27:59 +0000 (11:27 +0000)]
Auto Keyframing:

Made 'PoseLib', 'Pose Paste', and 'Transforms' use the active KeyingSet instead of a hardcoded one if there is an active KeyingSet and the 'Only Insert for Keying Set' option is enabled in the User Prefs.

Also, made sure that for transforms, the active KeyingSet is provided with the data being modified instead of having them retrieve this from the context (which may miss a few items).

---

While making the changes for pose paste, made pasting poses not destroy the existing properties on the bones if the buffer bones didn't have any properties to replace the old ones with. IMO, this seems a bit too destructive if they don't get replaced, but perhaps in some cases not removing causes some problems with bad poses?

9 years agoDisable part of commit #28064, this also clears the path on any file giving
Brecht Van Lommel [Wed, 7 Apr 2010 10:25:43 +0000 (10:25 +0000)]
Disable part of commit #28064, this also clears the path on any file giving
problems with file saving, proper fix will come later.

9 years agoFix crash in file with image editor that was saved after using scopes.
Brecht Van Lommel [Wed, 7 Apr 2010 10:12:24 +0000 (10:12 +0000)]
Fix crash in file with image editor that was saved after using scopes.

9 years agoFix [#21940] Hotkeys conflict in Edit mode between (fill, beauty fill) and (make...
Matt Ebb [Wed, 7 Apr 2010 09:35:14 +0000 (09:35 +0000)]
Fix [#21940] Hotkeys conflict in Edit mode between (fill, beauty fill) and (make/clear F-gon)

Removed make/clear f-gon hotkeys, rarely used and people who want them can bind it
themselves anyway.

9 years agoFix [#21756] Texture paint "quick edit" sending wrong path on unsaved scenes
Matt Ebb [Wed, 7 Apr 2010 09:07:06 +0000 (09:07 +0000)]
Fix [#21756] Texture paint "quick edit" sending wrong path on unsaved scenes

* Made it use the temp directory in user preferences when the .blend file hasn't been saved yet
* Made bmain->name (wrapped as bpy.data.filename) contain an empty string when
there's no .B25.blend and no file saved, rather than "<memory2>".

This is a good candidate for consistent file path api, retrieving temp dirs / project-
specific temp dirs / etc...

9 years agoModes are now toggled on using operators on load if the file was saved in
Brecht Van Lommel [Wed, 7 Apr 2010 08:27:13 +0000 (08:27 +0000)]
Modes are now toggled on using operators on load if the file was saved in
that mode. This ensures proper initialization happens like creating the
cursor or building an acceleration structure. It also means edit and
particle mode are now saveable.

Not sure yet if this is a good feature, though personally I like being able
to load my exact state again after saving, but maybe entering edit mode is
too slow in some cases? It's easy to make it work only for the sculpt/paint
modes again if wanted.

This fixes bug #21004 about a missing sculpt cursor on load.

9 years agoRevert a crappy line from revision 28060.
Thomas Dinges [Wed, 7 Apr 2010 05:48:52 +0000 (05:48 +0000)]
Revert a crappy line from revision 28060.

9 years agoFix [#21677] mouse dragging the translated object doesn't release the object
Matt Ebb [Wed, 7 Apr 2010 05:39:24 +0000 (05:39 +0000)]
Fix [#21677] mouse dragging the translated object doesn't release the object
after a while

Drag code was inadvertently changing the eventstate->type, which isn't
necessary. Patch #21723 by Anthony Edlin fixes this. Thanks!

9 years agomore functions to stubs.c
Tom Musgrove [Wed, 7 Apr 2010 02:14:46 +0000 (02:14 +0000)]
more functions to stubs.c

9 years agoClarify tooltip for 'Align to View' option for adding objects -
Matt Ebb [Wed, 7 Apr 2010 01:51:32 +0000 (01:51 +0000)]
Clarify tooltip for 'Align to View' option for adding objects -
It can only align to 3D view when adding the object from a 3d View (eg. shift A),
not the top level add menu.

9 years agoFix [#21257] Renders blank images when audio clip is present.
Matt Ebb [Wed, 7 Apr 2010 01:21:10 +0000 (01:21 +0000)]
Fix [#21257] Renders blank images when audio clip is present.

Only render sequencer when there are non-audio strips on the timeline.

9 years ago[#21931] Rotate Edge CW inverted with CCW
Matt Ebb [Wed, 7 Apr 2010 00:54:13 +0000 (00:54 +0000)]
[#21931] Rotate Edge CW inverted with CCW

Edge rotate directions were seemingly switched (when looking at geometry with face
normal pointing at view), so flipped them.

9 years agoFix [#21760] Snap to Origin doesn't work
Matt Ebb [Wed, 7 Apr 2010 00:43:06 +0000 (00:43 +0000)]
Fix [#21760] Snap to Origin doesn't work

Removed the 'Snap selected to origin' operator, it was dysfunctional and other operators
contain better functionality to do the same things.

9 years agoBrought back:
Ton Roosendaal [Tue, 6 Apr 2010 17:47:21 +0000 (17:47 +0000)]
Brought back:

Node R-key: read scene layers (from temp buffers)
     SHIFT+R: read full sample layers.

9 years agoFix #20365: new render window does not respect Windows taskbar at top of screen.
Brecht Van Lommel [Tue, 6 Apr 2010 17:11:38 +0000 (17:11 +0000)]
Fix #20365: new render window does not respect Windows taskbar at top of screen.

9 years agoFix #21166: changing image file path does not update texture preview. I've
Brecht Van Lommel [Tue, 6 Apr 2010 16:53:48 +0000 (16:53 +0000)]
Fix #21166: changing image file path does not update texture preview. I've
made it regenerate previews and icons now for this case. Depsgraph for all
datablocks could solve this much nicer..

9 years agoFix #20911: automatic bone weights work poorly when vertex lies
Brecht Van Lommel [Tue, 6 Apr 2010 16:25:06 +0000 (16:25 +0000)]
Fix #20911: automatic bone weights work poorly when vertex lies
exactly on a bone, tweak epsilons to make this work better.

9 years agoFix #21545: geometry node front/back incorrectly depended on camera angle, can
Brecht Van Lommel [Tue, 6 Apr 2010 10:24:57 +0000 (10:24 +0000)]
Fix #21545: geometry node front/back incorrectly depended on camera angle, can
actually be implemented simpler now.

9 years agoQuick fix to NLA-Baking for Beorn:
Joshua Leung [Tue, 6 Apr 2010 10:07:24 +0000 (10:07 +0000)]
Quick fix to NLA-Baking for Beorn:
Group baked F-Curves by bones instead of by transform type.

9 years agoArea Swap: fix memory leak and access to freed memory.
Brecht Van Lommel [Tue, 6 Apr 2010 09:36:35 +0000 (09:36 +0000)]
Area Swap: fix memory leak and access to freed memory.

9 years agoFix, python changes to array properties were not yet calling update
Brecht Van Lommel [Tue, 6 Apr 2010 09:11:33 +0000 (09:11 +0000)]
Fix, python changes to array properties were not yet calling update
and notifiers like other properties.

9 years agoFix #21402: python operator redo properties not refreshed. Now sends a
Brecht Van Lommel [Tue, 6 Apr 2010 09:07:39 +0000 (09:07 +0000)]
Fix #21402: python operator redo properties not refreshed. Now sends a
NC_WM|ND_HISTORY notifier on registering an operator.

9 years agoTweak/code shuffle to make disabled buttons draw nicer on nodes.
Matt Ebb [Tue, 6 Apr 2010 09:05:00 +0000 (09:05 +0000)]
Tweak/code shuffle to make disabled buttons draw nicer on nodes.

9 years agoFix #21393: some render error messages were not passed to the user.
Brecht Van Lommel [Tue, 6 Apr 2010 08:47:20 +0000 (08:47 +0000)]
Fix #21393: some render error messages were not passed to the user.

9 years ago"Fix" for [#21591] Explode modifier bug
Janne Karhu [Tue, 6 Apr 2010 08:43:52 +0000 (08:43 +0000)]
"Fix" for [#21591] Explode modifier bug
* The new default particle size is quite small, so exploded pieces didn't match the original pieces
* There's now an option to use the particle size (useful for some effects), but it isn't used by default
* This commit will change how some old files look (explode modifier and not 1.0 particle size), but the exact old behavior is achieved with the new "size" option

9 years agoFix for [#21928] Can't assign hair
Janne Karhu [Tue, 6 Apr 2010 08:23:28 +0000 (08:23 +0000)]
Fix for [#21928] Can't assign hair

9 years agoFix [#21194] Swap regions stopped working
Matt Ebb [Tue, 6 Apr 2010 08:11:37 +0000 (08:11 +0000)]
Fix [#21194] Swap regions stopped working

Cleaned up a code mismatch that I think got there by accident before.
Now area swap is assigned to Ctrl LMB drag to prevent any 'emulate mmb' conflicts.

9 years ago- new docstrings for bpy.type.Struct methods & some corrections.
Campbell Barton [Tue, 6 Apr 2010 07:49:10 +0000 (07:49 +0000)]
- new docstrings for bpy.type.Struct methods & some corrections.
- struct.path_to_id() --> path_from_id().

9 years agoFix [#21516] UI artifacts in array modifier
Matt Ebb [Tue, 6 Apr 2010 07:02:16 +0000 (07:02 +0000)]
Fix [#21516] UI artifacts in array modifier

Modify the glClearColor used to draw disabled buttons, when creating a ROUNDBOX
ui element. Made a convenience function and rippled it though, too.

9 years agoFix [#21440] Bug or loose feature? Texture painting brushes
Matt Ebb [Tue, 6 Apr 2010 05:52:52 +0000 (05:52 +0000)]
Fix [#21440] Bug or loose feature? Texture painting brushes

Removed extra brush features that aren't applicable in some painting modes from the UI.
Would be great to have this properly cleaned up and made consistent.

Also tweak to startup blend, hiding brush tools panel.

9 years agoPatch #21911: Uppercase Windows Drive Letters in File Open Window
Joshua Leung [Tue, 6 Apr 2010 05:02:59 +0000 (05:02 +0000)]
Patch #21911: Uppercase Windows Drive Letters in File Open Window
Submitted by: Harley Acheson

Harley writes:
The normal convention in Windows is to show drive letters in uppercase, as in "C:\", not "c:\" as
seen in the File window.

Although Windows file paths are generally case insensitive, drive letters have been shown as uppercase since the early
DOS days.  Seeing them in lowercase in the Blender File window looks a bit strange.

9 years agoBugfix #21552: Alt S Envelope scaling key conflict
Joshua Leung [Tue, 6 Apr 2010 04:45:49 +0000 (04:45 +0000)]
Bugfix #21552: Alt S Envelope scaling key conflict

Keymap conflict. Remapped all shrink/fatten or 'fatness' resizing tools to use Ctrl-Alt-S instead of Alt-S, since Alt-S needs to be kept for consistency with clear transforms operators.

9 years agoBugfix #21916: Baking NLA strips doesn't group transforms
Joshua Leung [Tue, 6 Apr 2010 04:25:48 +0000 (04:25 +0000)]
Bugfix #21916: Baking NLA strips doesn't group transforms

- Added an optional string arg to struct.keyframe_insert() and struct.keyframe_delete() for the name of the group to add the keyframes to (for newly created F-Curves), instead of doing this as post process.

- Added error prints to the RNA function for setting an F-Curve's group. The old way of setting the groups afterwards couldn't be used anymore, since there was no way to find the action the F-Curve belonged to. This is necessary if the F-Curve list is to be kept in a valid state, since adding to any random group that may not be in the same Action does not work well. There were other issues with the list being iterated over changing while it was still being iterated over too...

TODO:
Find a way to allow the iterator there to still work ok?

9 years agoFix [#21678] Crease color cannot be adjusted
Matt Ebb [Tue, 6 Apr 2010 02:36:37 +0000 (02:36 +0000)]
Fix [#21678] Crease color cannot be adjusted

Gave edge crease a unique theme colour.

9 years agoPatch [#21750] Add luma waveform and vectorscope to image view
Matt Ebb [Tue, 6 Apr 2010 02:05:54 +0000 (02:05 +0000)]
Patch [#21750] Add luma waveform and vectorscope to image view
by Xavier Thomas

This adds the waveform monitor and vectorscope to the image editor 'scopes'
region, bringing it inline (plus a bit more) with sequence editor functionality,
and a big step closer to the end goal of unifying the display code for image/
comp/sequence editor. It's non-intrusive, using the same code paths as
the histogram.

There's still room for more tweaks - I modified the original patch, changing
the openGL immediate mode drawing of the waveform display to vertex arrays for
speed optimisation. Xavier can look at doing this for the vectorscope now too.

Thanks very much Xavier!

9 years agoCompile fix to collada after ED_object_apply_obmat() was removed.
Matt Ebb [Tue, 6 Apr 2010 02:05:02 +0000 (02:05 +0000)]
Compile fix to collada after ED_object_apply_obmat() was removed.

Arystanbek, please feel free to fix if it's not ok :)

9 years agoPatch #21697: GLSL shadows work again, by Matthias Fauconneau, thanks!
Brecht Van Lommel [Tue, 6 Apr 2010 01:34:55 +0000 (01:34 +0000)]
Patch #21697: GLSL shadows work again, by Matthias Fauconneau, thanks!