Sergey Sharybin [Tue, 5 Oct 2010 16:43:01 +0000 (16:43 +0000)]
Scons options for static linking to libsamplerate, sndfile and fftw3
Campbell Barton [Tue, 5 Oct 2010 15:44:58 +0000 (15:44 +0000)]
patch [#24125] Fix for Slider Widget (UI)
from Alexander Kuznetsov (alexk)
Campbell Barton [Tue, 5 Oct 2010 15:29:06 +0000 (15:29 +0000)]
patch [#24146] UV layout selection menu in UV editor ala CTRL+TAB in edit mode
Nathan Letwory [Tue, 5 Oct 2010 13:39:45 +0000 (13:39 +0000)]
Enable lcms support on Windows.
Campbell Barton [Tue, 5 Oct 2010 13:15:58 +0000 (13:15 +0000)]
bugfix [#24122] Shift-C doesn't work in "Camera View"
also fixed some glitches with smoothview.
Sergey Sharybin [Tue, 5 Oct 2010 11:55:54 +0000 (11:55 +0000)]
Fix #24135: Material modification not immediately updated in Outliner
Also fixed outliner update when changing active_material_index from Py and
when selecting texture from UI
Campbell Barton [Tue, 5 Oct 2010 11:25:34 +0000 (11:25 +0000)]
bugfix [#23506] Bevel Modifier display problem
This is a more general problem that drawing functions would skip faces when the original index could not be found, screw result for example wasnt visible in editmode too.
Fixed by adding a material set argument to DerivedMesh->drawMappedFaces(), this was already being done in some of the other drawing functions.
Campbell Barton [Tue, 5 Oct 2010 11:16:07 +0000 (11:16 +0000)]
- fix for crash when drawing a subsurf after a modifier that lost original indices (bevel/screw/decimate)
- fix for own mistake used madd_v3_v3fl rather then mul_v3_v3fl, r32241.
Janne Karhu [Tue, 5 Oct 2010 10:45:54 +0000 (10:45 +0000)]
"Fix" for [#24115] Offset animation on object with particules system doesn't work like 2.49
* Object time offset is not supported for particles anymore, something that enables similar functionality will have to be coded later.
Campbell Barton [Tue, 5 Oct 2010 10:23:25 +0000 (10:23 +0000)]
build-fix [#24142] path changes break osx
Janne Karhu [Tue, 5 Oct 2010 09:32:35 +0000 (09:32 +0000)]
Fix for [#24107] Hair/General particle glitch- Presets
Sergey Sharybin [Tue, 5 Oct 2010 07:22:44 +0000 (07:22 +0000)]
Fixed own typo in last commit to curve RNA
Nathan Letwory [Tue, 5 Oct 2010 06:10:17 +0000 (06:10 +0000)]
TextureCoordinateBinding.getName() -> TextureCoordinateBinding.getSemantic(); as per my own patch on OpenCOLLADA issue tracker.
Mitchell Stokes [Tue, 5 Oct 2010 05:44:15 +0000 (05:44 +0000)]
A bit of bge.events work:
* A few places in the bge.events docs mentioned bge.keys, when it should have been bge.events
* Created two aliases to bge.events.RETKEY: ENTERKEY and RETURNKEY
* ENTERKEY and RETURNKEY have been added to the docs and RETKEY marked as deprecated
* Added an example of using bge.logic.keyboard to the bge.events docs
Guillermo S. Romero [Tue, 5 Oct 2010 00:49:39 +0000 (00:49 +0000)]
SVN maintenance.
Nathan Letwory [Tue, 5 Oct 2010 00:05:14 +0000 (00:05 +0000)]
Reorganisation of COLLADA import code. Classes have been split into their own files.
No functional changes.
Where necessary extern "C" {} blocks have been added.
Nathan Letwory [Mon, 4 Oct 2010 23:52:53 +0000 (23:52 +0000)]
Update stubs for recent changes (BKE_utildefines.h and header printing).
Campbell Barton [Mon, 4 Oct 2010 19:01:25 +0000 (19:01 +0000)]
bugfix [#24133] r32303, Mirror Modifier + EditMode + VBO's Problem.
drawing the triangle arrays were only broken up by hidden faces, but switches in material were ignored.
now check for materual context changes.
Campbell Barton [Mon, 4 Oct 2010 15:31:04 +0000 (15:31 +0000)]
[#22825] Copy Scenes with Audio Strip Crash.
Campbell Barton [Mon, 4 Oct 2010 12:02:18 +0000 (12:02 +0000)]
fix for copy in the console (wasnt taking the prompt into account)
Campbell Barton [Mon, 4 Oct 2010 11:42:39 +0000 (11:42 +0000)]
revert r32284, turns out OpenSuse needs this for forkpty(), also fixed missing import with 3ds export.
Sergey Sharybin [Mon, 4 Oct 2010 10:06:18 +0000 (10:06 +0000)]
Recalc knots when toggling nurb cyclic flags
Janne Karhu [Mon, 4 Oct 2010 08:48:50 +0000 (08:48 +0000)]
Fix for [#24118] Hair particles can not be edited
* Own mistake from a previous fix.
Arystanbek Dyussenov [Mon, 4 Oct 2010 03:38:37 +0000 (03:38 +0000)]
COLLADA exporter fix: do not create a duplicate <polylist> if an object has NULL materials linked along with normal materials.
Campbell Barton [Mon, 4 Oct 2010 01:18:47 +0000 (01:18 +0000)]
- use own string conversion function over PyUnicode_FromString when converting the argv
- report errors when files dont load when given from the command line but not running in background mode.
Campbell Barton [Mon, 4 Oct 2010 00:40:48 +0000 (00:40 +0000)]
fix for building over samba /w cmake+mingw
Campbell Barton [Sun, 3 Oct 2010 23:29:43 +0000 (23:29 +0000)]
typo in function prefix.
Campbell Barton [Sun, 3 Oct 2010 23:27:33 +0000 (23:27 +0000)]
cmake/mingw was missing defines.
Campbell Barton [Sun, 3 Oct 2010 21:13:52 +0000 (21:13 +0000)]
changes to path searching
- don't search CWD/foldername anymore, only CWD/2.54/foldername, since this is the new default build systems use.
- local source paths (./release/scripts) are now treated as system path, otherwise when this is used you cant test ~/.blender/2.54/scripts at the same time.
Campbell Barton [Sun, 3 Oct 2010 20:00:22 +0000 (20:00 +0000)]
bugfix [#24087] Blender can not install add-ons unless running with root priviledges
now addon path is created using the same path functions and selecting where to save the startup.blend
also made some minor changes to path handling funcs.
Campbell Barton [Sun, 3 Oct 2010 18:45:27 +0000 (18:45 +0000)]
linking libutil isnt needed on my system, possibly this is deprecated?,
testing this on other linux systems isnt so easy but will hear about it if this breaks.
Guillermo S. Romero [Sun, 3 Oct 2010 16:39:07 +0000 (16:39 +0000)]
Fix attribution, as noticed by Dalai Felinto.
Guillermo S. Romero [Sun, 3 Oct 2010 16:30:10 +0000 (16:30 +0000)]
Add include directive so buildinfo compilation can find defines, see r32271.
Campbell Barton [Sun, 3 Oct 2010 16:16:00 +0000 (16:16 +0000)]
build systems have been updated, remove use of ~/.blender/ directly, ~/.blender/*version*/ instead.
Campbell Barton [Sun, 3 Oct 2010 14:16:27 +0000 (14:16 +0000)]
added len_squared_v2v2, use instead of len_v3v3 for font handle tests, also fixed some warnings.
Campbell Barton [Sun, 3 Oct 2010 12:22:33 +0000 (12:22 +0000)]
bugfix [#24116] UV layout exporting doesnt work
in-fact this is unrelated to UV Layout script, just a missing check for an bad state.
Campbell Barton [Sun, 3 Oct 2010 11:33:44 +0000 (11:33 +0000)]
fix for scons with recent buildinfo change
Campbell Barton [Sun, 3 Oct 2010 01:44:00 +0000 (01:44 +0000)]
- rna bugfix where ints were not clamped and would overflow, now raise an error and print valid range.
- fixed WM_OT_context_cycle_int was causing problems with int overflow, now it cycles properly.
- rename QUOTE macro to STRINGIFY_ARG, and added STRINGIFY, which is used more often since it gives the value as a string.
Mitchell Stokes [Sun, 3 Oct 2010 01:32:01 +0000 (01:32 +0000)]
Making the docs for bge.types.KX_SCA_AddObjectActuator.instantAddObject() more clear. Thanks to delaney for pointing this out.
Campbell Barton [Sat, 2 Oct 2010 22:31:48 +0000 (22:31 +0000)]
python console prompt + edit line is how selectable.
Campbell Barton [Sat, 2 Oct 2010 21:02:40 +0000 (21:02 +0000)]
py/rna access to setting the header text - can be used in modal operators.
eg: context.area.header_text_set("Some Text")
included example in the view3d modal operator template.
Nathan Letwory [Sat, 2 Oct 2010 20:31:54 +0000 (20:31 +0000)]
Redraw object buttons on next/previous frame in 3dview, otherwise for instance
Transform panel won't get updated for keyed objects.
Campbell Barton [Sat, 2 Oct 2010 19:45:53 +0000 (19:45 +0000)]
set the view3d used layer to be an unsigned int, mask out localview layers to avoid flag mismatch when checking if it changed.
Campbell Barton [Sat, 2 Oct 2010 19:38:09 +0000 (19:38 +0000)]
for view layer calculation, only break early if all layers are set, was breaking if any layer was set.
Brecht Van Lommel [Sat, 2 Oct 2010 19:31:58 +0000 (19:31 +0000)]
Fix #22348: disabled image editor curves on non-float images, this never
worked correct, only got enabled accidentally in 2.5 port.
Campbell Barton [Sat, 2 Oct 2010 19:31:23 +0000 (19:31 +0000)]
make fly mode border draw into a area drawing callback rather then using a flag (no functional change).
Campbell Barton [Sat, 2 Oct 2010 19:06:20 +0000 (19:06 +0000)]
move window matrix translation into its own function. (no functional changes)
Campbell Barton [Sat, 2 Oct 2010 17:10:28 +0000 (17:10 +0000)]
Anti-Aliasing support for opengl render (belated durian todo),
Simple FSA accumulation method means no fancy opengl features needed.
Fixed at 5 samples per pixel for now.
Brecht Van Lommel [Sat, 2 Oct 2010 16:42:12 +0000 (16:42 +0000)]
Fix #23785: in the game engine, if an object had an armature modifier + another
modifier, it would apply the armature deformation twice.
Thomas Dinges [Sat, 2 Oct 2010 16:29:58 +0000 (16:29 +0000)]
Small CMAKE Fix, discovered by freakabcd in IRC.
Thomas Dinges [Sat, 2 Oct 2010 16:19:33 +0000 (16:19 +0000)]
* Script wasn't updated after "Load Factory Settings" Operator decoupling.
Joerg Mueller [Sat, 2 Oct 2010 15:27:55 +0000 (15:27 +0000)]
Fix for [#24051] Scrubbing Timeline in VSE with Jack Audio doesn't scrub just plays the audio track
There were actually two bugs, the one reported and that the Sync Callback never has been called after someone had to add #ifdefs around the call without checking that the build systems are even configured to add the needed definition, am I right Cam? :P
Brecht Van Lommel [Sat, 2 Oct 2010 14:45:56 +0000 (14:45 +0000)]
Fix for last fix, should have checked it actually worked :)
Brecht Van Lommel [Sat, 2 Oct 2010 14:40:53 +0000 (14:40 +0000)]
Fix #24077: convert operator not updating outliner. Note about notifiers:
NC_SCENE|NC_OBJECT does not work, you can only have one NC/ND/NA in a
single notifier, if you need to do both, use two notifiers.
Brecht Van Lommel [Sat, 2 Oct 2010 14:32:03 +0000 (14:32 +0000)]
Most likely fix for #23420: viewer node: loses viewer nodes forever.
Related to another bug fixed recently, both viewer + split viewer
could be set to output to the same image. That also could make node
tree localization/sync go wrong.
Brecht Van Lommel [Sat, 2 Oct 2010 14:17:20 +0000 (14:17 +0000)]
Fix #24095: user preferences theme colors didn't match exactly with what
was drawn. Problem was that these were not set to be in gamma space. Also
needed to fix automatic 0..255 to 0..1 range conversion for PROP_COLOR_GAMMA,
was only working for PROP_COLOR.
Brecht Van Lommel [Sat, 2 Oct 2010 14:08:09 +0000 (14:08 +0000)]
Fix #24103: copy logic bricks to objects with the same data didn't work.
Don't know why this check was here, it wasn't there in 2.49 and it's not
necessary.
Brecht Van Lommel [Sat, 2 Oct 2010 13:57:38 +0000 (13:57 +0000)]
Fix #24096: shift+A add menu not working in pose mode. Useful to have it
here too for rigging.
Brecht Van Lommel [Sat, 2 Oct 2010 13:52:46 +0000 (13:52 +0000)]
Fix warning in collada operator after a recent commit.
Brecht Van Lommel [Sat, 2 Oct 2010 13:45:26 +0000 (13:45 +0000)]
Fix #24098: new file and load factory settings sharing same hotkey.
Made these separate operators now, less confusing.
Sergey Sharybin [Sat, 2 Oct 2010 11:39:11 +0000 (11:39 +0000)]
Fix #24094: Multiresolution sculpt mode undo crash
Brecht Van Lommel [Sat, 2 Oct 2010 10:39:53 +0000 (10:39 +0000)]
Fix #24097: halfway shadow buffer rendererd incorrectly with spot halo. This
trick can't work with any volumetric effect, so disabled it in case halo is
enabled.
Nathan Letwory [Sat, 2 Oct 2010 09:42:35 +0000 (09:42 +0000)]
Patch [#23589] Use Author field from User Preferences for COLLADA export.
Submitted by Imran Syed.
When U.author is set, it'll be used instead of default "Blender User".
Sergey Sharybin [Sat, 2 Oct 2010 09:28:41 +0000 (09:28 +0000)]
Fix #23629: Layers doesn't sign there are objects on them, only if the object is selected
Also fixed layer buttons update when changing scene/screen
Damien Plisson [Sat, 2 Oct 2010 09:17:32 +0000 (09:17 +0000)]
OSX/Cocoa: Fix [#24068] for correct handling of .blend file names with accented nordic characters
Damien Plisson [Sat, 2 Oct 2010 09:15:32 +0000 (09:15 +0000)]
OSX/Cocoa: Mouse up was not sent to WM after window resize
Campbell Barton [Sat, 2 Oct 2010 06:34:04 +0000 (06:34 +0000)]
- spec hardness was missing redraw update
- missed rna rename in image ui
- use BLI_math functions in gpu_draw.c (no functional changes)
Brecht Van Lommel [Fri, 1 Oct 2010 21:56:36 +0000 (21:56 +0000)]
Fix #23932: compositing nodes with viewer and split viewer node could
crash, with two threads writing to the same image.
Nathan Letwory [Fri, 1 Oct 2010 19:46:42 +0000 (19:46 +0000)]
Fix [#21084] Collada messing up geometry on import and renaming uvlayers
Reported by Michael Williamson
Add support to write the uvlayer name as found in <bind_vertex_input> semantic attribute (Blender
exports in this one too, so reimport goes ok now).
I have created a patch for OpenCOLLADA to be applied against r769, which is needed
for this fix to work: http://code.google.com/p/opencollada/issues/detail?id=117
The Windows OpenCOLLADA updated builds (r769+patches) will be committed after this.
Note: This means that linux and osx users will have to patch OpenCOLLADA themselves, until
it's committed (or in case of OSX the libs updated in lib/darwinXXX).
Campbell Barton [Fri, 1 Oct 2010 17:55:35 +0000 (17:55 +0000)]
fix for crash when using the console to load a file, when the UI changes dont attempt to add to the console's buffer.
Campbell Barton [Fri, 1 Oct 2010 15:59:34 +0000 (15:59 +0000)]
stop dna from parsing structs that aren't used needed.
Campbell Barton [Fri, 1 Oct 2010 13:51:48 +0000 (13:51 +0000)]
fix [#24083] Crash when opening a certain file
own error in recent commit.
Campbell Barton [Fri, 1 Oct 2010 13:30:09 +0000 (13:30 +0000)]
minor bugfix [#24085] NULL character is last
so "blah.blend" comes before "blah 1.blend"
Campbell Barton [Fri, 1 Oct 2010 13:27:59 +0000 (13:27 +0000)]
minor adjustment to camera object drawing so arrow stays same size independent of aspect.
Campbell Barton [Fri, 1 Oct 2010 12:25:18 +0000 (12:25 +0000)]
3d text added with the view align option didnt work.
Janne Karhu [Fri, 1 Oct 2010 09:54:07 +0000 (09:54 +0000)]
Added RNA conversions to the fcurve/driver fix script from my sequencer speed effect commit.
Nathan Letwory [Fri, 1 Oct 2010 08:29:27 +0000 (08:29 +0000)]
Change <UNKNOWN> to -UNKNOWN- so exporters can be happy too, when a build was created without svnversion (or from export).
Nathan Letwory [Fri, 1 Oct 2010 08:12:37 +0000 (08:12 +0000)]
Add distance check in lasso generation to get a smoother lasso.
Hopefully this helps with lasso select troubles [#21179].
Campbell Barton [Fri, 1 Oct 2010 07:49:00 +0000 (07:49 +0000)]
attempt to fix [#21179] r26939 - Lasso tool does not work when drawing counter clock wise
can't test this so guessing this is caused by face culling.
Campbell Barton [Fri, 1 Oct 2010 05:19:40 +0000 (05:19 +0000)]
bugfix [#24065] obj export (mtl image path)
Brecht Van Lommel [Thu, 30 Sep 2010 22:27:37 +0000 (22:27 +0000)]
Fix #23186: use of unitialized memory when creating new faces on a mesh
with a multires modifier.
Brecht Van Lommel [Thu, 30 Sep 2010 21:07:42 +0000 (21:07 +0000)]
Fix #24074: shift+MMB didn't pan in image editor like other 2d views.
Brecht Van Lommel [Thu, 30 Sep 2010 20:19:54 +0000 (20:19 +0000)]
Fix #23540: smoke preview shading only used point lamps, now it uses other
lamps to if no point lamp is available.
Brecht Van Lommel [Thu, 30 Sep 2010 18:35:54 +0000 (18:35 +0000)]
Fix #24067: sculpt brush/texture preview would disappear when overlapping
with the region boundary. Use glaDrawPixelsSafe like e.g. the image editor
to prevent this.
Campbell Barton [Thu, 30 Sep 2010 17:23:39 +0000 (17:23 +0000)]
2d grease pencil thickness was double with width it should have been.
Campbell Barton [Thu, 30 Sep 2010 15:07:22 +0000 (15:07 +0000)]
[#24066] Menu_Items_Greyed
revert fix for bug #24009, this made menu items fail poll()
Joshua Leung [Thu, 30 Sep 2010 12:42:45 +0000 (12:42 +0000)]
Action/Shapekey Editor Bugfixes:
* Shapekey editor now shows ID-box for showing and editing the action assigned here. This should help alleviate the misconceptions arising to #23823, where user tries to load shapekey action into Action Editor (context there is ob-action only).
There are still a few minor update bugs that I still need to fix here (i.e. post keyframing) though. Those shouldn't take too long I think.
* Changing the action used in the Action Editor properly decrements the user counts now. This solves the bug where you could get actions with a high usercount, but not that many actual users.
Joshua Leung [Thu, 30 Sep 2010 12:10:18 +0000 (12:10 +0000)]
Patch #24056: Indicate keyed status of swatches
Submitted by: Shane Ambler (sambler)
<quote>
From blenderstorm idea# 169 this patch changes the swatch button to display a border showing the keyed status colour
of the colour.
I chose to go with showing the keyed colour in a border around the swatch, insetting the size of the swatch colour to
prevent altering the sizing of the swatch. An un-keyed swatch is not altered visually, only a keyed colour swatch is
changed to have the keyed colour around the outside of the swatch button.
I think a border of 3 pixels is sufficient to make the keyed colour visible without taking too much of the colour area
away.
</quote>
Joshua Leung [Thu, 30 Sep 2010 11:56:39 +0000 (11:56 +0000)]
Cleanup of Auto-Keyframing code:
Moved duplicated code out to a special new function so that this doesn't need to be copied all over for each transform op that needs this.
Nathan Letwory [Thu, 30 Sep 2010 11:49:48 +0000 (11:49 +0000)]
Prevent crash if image for image texture is not set, part II.
Nathan Letwory [Thu, 30 Sep 2010 11:42:02 +0000 (11:42 +0000)]
Prevent crash if image for image texture is not set.
Joshua Leung [Thu, 30 Sep 2010 11:27:47 +0000 (11:27 +0000)]
Bugfix #23707: Autokey Available is ignored on a Clear Transform
Second attempt at fixing. Last time, I missed the case where the "Only Insert Available" userpref was enabled, which was why the bugreport was reopened. Hopefully I haven't missed anything else...
Campbell Barton [Thu, 30 Sep 2010 10:51:36 +0000 (10:51 +0000)]
[#23673] Modifier construction gives correct result in viewport but incorrect in render.
When there are 2+ consecutive deform modifiers, the second modifier was getting incorrect normals, this only showed up for the displace modifier since its the only deform modifier that uses vertex normals.
It would have been easy to fix this by always calculating normals on deform modifiers, but slow.
To fix this I added a function to check if a deform modifier needs normals, so the normal calculation function only runs if there are 2 modifiers in a row and the second uses normals.
Joshua Leung [Thu, 30 Sep 2010 10:39:05 +0000 (10:39 +0000)]
Bugfix #23031: adding a driver ontop of keyframe makes driver undeletable
Now drivers cannot be added to properties that have been animated (and visa versa). Previously, the check was only checking if there was a keyframe, not whether the property was animated.
Janne Karhu [Thu, 30 Sep 2010 09:34:22 +0000 (09:34 +0000)]
Sequence effect scale to length should work with the original (non-extruded) length of the target strip.
Nathan Letwory [Thu, 30 Sep 2010 07:39:00 +0000 (07:39 +0000)]
Set IB_multilayer flag, so can use multilayer exr as texture too.
Campbell Barton [Thu, 30 Sep 2010 07:31:37 +0000 (07:31 +0000)]
bugfix [#24062] draw_view_icon() broken
icons needed adding to the new theme
Campbell Barton [Thu, 30 Sep 2010 07:06:00 +0000 (07:06 +0000)]
use constant rather then sqrt(2.0)
Campbell Barton [Thu, 30 Sep 2010 06:51:32 +0000 (06:51 +0000)]
rename makeknots to nurbs_knot_calc_u/v
Campbell Barton [Thu, 30 Sep 2010 05:26:36 +0000 (05:26 +0000)]
cleanup of nurb spin function, was very confusing. no functional changes.