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

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

10 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

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

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

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

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

10 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

10 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

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

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

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

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

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

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

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

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

10 years agoPyAPI
Campbell Barton [Sun, 11 Apr 2010 14:22:27 +0000 (14:22 +0000)]
 - 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.

10 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

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

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

10 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

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

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


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

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

10 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

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

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

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

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

10 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

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

10 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

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

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

10 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

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

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

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

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

10 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

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

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

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

10 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

10 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

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

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

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

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

10 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?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 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

10 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

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

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

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

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

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

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

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

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

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

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

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

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

10 years agoObject API changes so these functions now require a scene as first argument:
Brecht Van Lommel [Tue, 6 Apr 2010 01:28:39 +0000 (01:28 +0000)]
Object API changes so these functions now require a scene as first argument:
create_mesh, create_dupli_list, make_display_list and is_visible.

This is done in order to make these context independent as the RNA API should
be as much as possible, and to fix #21297 and #21719, where there was an
assumption from these functions that there is a scene in the context, which
does not work for external render engines exporting in a separate thread.

Also avoided using context in a number of other functions, ideally only UI/WM
type functions should use context.

I've updated the scripts in trunk, but the addons and external ones in
development will need updates too.

10 years agoFix compile error, missing semicolon.
Brecht Van Lommel [Tue, 6 Apr 2010 01:20:45 +0000 (01:20 +0000)]
Fix compile error, missing semicolon.

10 years agoFix #21577: incorrect camera selected when loading file without UI.
Brecht Van Lommel [Tue, 6 Apr 2010 01:18:52 +0000 (01:18 +0000)]
Fix #21577: incorrect camera selected when loading file without UI.

10 years agoFix #21383: appending a group would also instance it by default, which
Brecht Van Lommel [Tue, 6 Apr 2010 01:16:39 +0000 (01:16 +0000)]
Fix #21383: appending a group would also instance it by default, which
will give duplicate objects since the actual object are appended already,
so only enable this option by default for linking now.

10 years agoMaking sure updates are not lost.
Guillermo S. Romero [Tue, 6 Apr 2010 01:00:59 +0000 (01:00 +0000)]
Making sure updates are not lost.

10 years agodocument bpy.types.Struct methods C methods, currently only keyframe_delete() and...
Campbell Barton [Mon, 5 Apr 2010 22:37:09 +0000 (22:37 +0000)]
document bpy.types.Struct methods C methods, currently only keyframe_delete() and keyframe_insert() have useful docstrings.

10 years agoRequest: auto link to viewer node back. Used to be ctrl+click, is now
Ton Roosendaal [Mon, 5 Apr 2010 18:34:18 +0000 (18:34 +0000)]
Request: auto link to viewer node back. Used to be ctrl+click, is now
shift+ctrl+click, because the ctrl_click goes to knife cutting.

Implementation note: this is a macro, select + link.

10 years agoFix #21266: cyclic dependency checking for texture nodes was missing.
Brecht Van Lommel [Mon, 5 Apr 2010 17:30:11 +0000 (17:30 +0000)]
Fix #21266: cyclic dependency checking for texture nodes was missing.

10 years agoMerge -c 28014 from COLLADA branch into trunk.
Arystanbek Dyussenov [Mon, 5 Apr 2010 15:47:57 +0000 (15:47 +0000)]
Merge -c 28014 from COLLADA branch into trunk.

10 years agoFix #21641: crash when disabling active addon, removing operator
Brecht Van Lommel [Mon, 5 Apr 2010 14:21:57 +0000 (14:21 +0000)]
Fix #21641: crash when disabling active addon, removing operator
type could still leave it in the history stack.

10 years agoBugfix #21856: Empty F-Curves created when keyframing with 'auto keyframing mode...
Joshua Leung [Mon, 5 Apr 2010 12:17:33 +0000 (12:17 +0000)]
Bugfix #21856: Empty F-Curves created when keyframing with 'auto keyframing mode' set to 'replace' caused problems with bad rotations and scaling to a point.

Now, when the mode is 'replace', no F-Curves are created during keyframing (i.e. only existing F-Curves are used).


Also, fixed missing line in previous commit for Select Linked.

10 years agoAnimation Editors: Select Linked Operator
Joshua Leung [Mon, 5 Apr 2010 11:47:55 +0000 (11:47 +0000)]
Animation Editors: Select Linked Operator

This operator selects all the keyframes in the same F-Curve as a selected keyframe.

10 years agoFix #21828: vertex group remove function removes vertices from all groups.
Brecht Van Lommel [Mon, 5 Apr 2010 11:22:49 +0000 (11:22 +0000)]
Fix #21828: vertex group remove function removes vertices from all groups.