blender.git
8 years agofor view layer calculation, only break early if all layers are set, was breaking...
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.

8 years agoFix #22348: disabled image editor curves on non-float images, this never
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.

8 years agomake fly mode border draw into a area drawing callback rather then using a flag ...
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).

8 years agomove window matrix translation into its own function. (no functional changes)
Campbell Barton [Sat, 2 Oct 2010 19:06:20 +0000 (19:06 +0000)]
move window matrix translation into its own function. (no functional changes)

8 years agoAnti-Aliasing support for opengl render (belated durian todo),
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.

8 years agoFix #23785: in the game engine, if an object had an armature modifier + another
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.

8 years agoSmall CMAKE Fix, discovered by freakabcd in IRC.
Thomas Dinges [Sat, 2 Oct 2010 16:29:58 +0000 (16:29 +0000)]
Small CMAKE Fix, discovered by freakabcd in IRC.

8 years ago* Script wasn't updated after "Load Factory Settings" Operator decoupling.
Thomas Dinges [Sat, 2 Oct 2010 16:19:33 +0000 (16:19 +0000)]
* Script wasn't updated after "Load Factory Settings" Operator decoupling.

8 years agoFix for [#24051] Scrubbing Timeline in VSE with Jack Audio doesn't scrub just plays...
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

8 years agoFix for last fix, should have checked it actually worked :)
Brecht Van Lommel [Sat, 2 Oct 2010 14:45:56 +0000 (14:45 +0000)]
Fix for last fix, should have checked it actually worked :)

8 years agoFix #24077: convert operator not updating outliner. Note about notifiers:
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.

8 years agoMost likely fix for #23420: viewer node: loses viewer nodes forever.
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.

8 years agoFix #24095: user preferences theme colors didn't match exactly with what
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.

8 years agoFix #24103: copy logic bricks to objects with the same data didn't work.
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.

8 years agoFix #24096: shift+A add menu not working in pose mode. Useful to have it
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.

8 years agoFix warning in collada operator after a recent commit.
Brecht Van Lommel [Sat, 2 Oct 2010 13:52:46 +0000 (13:52 +0000)]
Fix warning in collada operator after a recent commit.

8 years agoFix #24098: new file and load factory settings sharing same hotkey.
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.

8 years agoFix #24094: Multiresolution sculpt mode undo crash
Sergey Sharybin [Sat, 2 Oct 2010 11:39:11 +0000 (11:39 +0000)]
Fix #24094: Multiresolution sculpt mode undo crash

8 years agoFix #24097: halfway shadow buffer rendererd incorrectly with spot halo. This
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.

8 years agoPatch [#23589] Use Author field from User Preferences for COLLADA export.
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".

8 years agoFix #23629: Layers doesn't sign there are objects on them, only if the object is...
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

8 years agoOSX/Cocoa: Fix [#24068] for correct handling of .blend file names with accented nordi...
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

8 years agoOSX/Cocoa: Mouse up was not sent to WM after window resize
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

8 years ago- spec hardness was missing redraw update
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)

8 years agoFix #23932: compositing nodes with viewer and split viewer node could
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.

8 years agoFix [#21084] Collada messing up geometry on import and renaming uvlayers
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).

8 years agofix for crash when using the console to load a file, when the UI changes dont attempt...
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.

8 years agostop dna from parsing structs that aren't used needed.
Campbell Barton [Fri, 1 Oct 2010 15:59:34 +0000 (15:59 +0000)]
stop dna from parsing structs that aren't used needed.

8 years agofix [#24083] Crash when opening a certain file
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.

8 years agominor bugfix [#24085] NULL character is last
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"

8 years agominor adjustment to camera object drawing so arrow stays same size independent of...
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.

8 years ago3d text added with the view align option didnt work.
Campbell Barton [Fri, 1 Oct 2010 12:25:18 +0000 (12:25 +0000)]
3d text added with the view align option didnt work.

8 years agoAdded RNA conversions to the fcurve/driver fix script from my sequencer speed effect...
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.

8 years agoChange <UNKNOWN> to -UNKNOWN- so exporters can be happy too, when a build was created...
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).

8 years agoAdd distance check in lasso generation to get a smoother lasso.
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].

8 years agoattempt to fix [#21179] r26939 - Lasso tool does not work when drawing counter clock...
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.

8 years agobugfix [#24065] obj export (mtl image path)
Campbell Barton [Fri, 1 Oct 2010 05:19:40 +0000 (05:19 +0000)]
bugfix [#24065] obj export (mtl image path)

8 years agoFix #23186: use of unitialized memory when creating new faces on a mesh
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.

8 years agoFix #24074: shift+MMB didn't pan in image editor like other 2d views.
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.

8 years agoFix #23540: smoke preview shading only used point lamps, now it uses other
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.

8 years agoFix #24067: sculpt brush/texture preview would disappear when overlapping
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.

8 years ago2d grease pencil thickness was double with width it should have been.
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.

8 years ago[#24066] Menu_Items_Greyed
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()

8 years agoAction/Shapekey Editor Bugfixes:
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.

8 years agoPatch #24056: Indicate keyed status of swatches
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>

8 years agoCleanup of Auto-Keyframing code:
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.

8 years agoPrevent crash if image for image texture is not set, part II.
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.

8 years agoPrevent crash if image for image texture is not set.
Nathan Letwory [Thu, 30 Sep 2010 11:42:02 +0000 (11:42 +0000)]
Prevent crash if image for image texture is not set.

8 years agoBugfix #23707: Autokey Available is ignored on a Clear Transform
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...

8 years ago[#23673] Modifier construction gives correct result in viewport but incorrect in...
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.

8 years agoBugfix #23031: adding a driver ontop of keyframe makes driver undeletable
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.

8 years agoSequence effect scale to length should work with the original (non-extruded) length...
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.

8 years agoSet IB_multilayer flag, so can use multilayer exr as texture too.
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.

8 years agobugfix [#24062] draw_view_icon() broken
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

8 years agouse constant rather then sqrt(2.0)
Campbell Barton [Thu, 30 Sep 2010 07:06:00 +0000 (07:06 +0000)]
use constant rather then sqrt(2.0)

8 years agorename makeknots to nurbs_knot_calc_u/v
Campbell Barton [Thu, 30 Sep 2010 06:51:32 +0000 (06:51 +0000)]
rename makeknots to nurbs_knot_calc_u/v

8 years agocleanup of nurb spin function, was very confusing. no functional changes.
Campbell Barton [Thu, 30 Sep 2010 05:26:36 +0000 (05:26 +0000)]
cleanup of nurb spin function, was very confusing. no functional changes.

8 years agoFix #24018: moving backdrop in node editor not working anymore after thread
Brecht Van Lommel [Wed, 29 Sep 2010 22:13:24 +0000 (22:13 +0000)]
Fix #24018: moving backdrop in node editor not working anymore after thread
safety fixes, was one case where it was still using get_ibuf instead of
acquire/release_ibuf, this is required for render and compositing results
which are modified by other threads.

8 years agofix for nurbs spin tool (broken since being moved to 2.5x).
Campbell Barton [Wed, 29 Sep 2010 16:18:39 +0000 (16:18 +0000)]
fix for nurbs spin tool (broken since being moved to 2.5x).

8 years agobugfix [#24041] Adding NURBS Sphere and NURBS Donut problem
Campbell Barton [Wed, 29 Sep 2010 15:19:16 +0000 (15:19 +0000)]
bugfix [#24041] Adding NURBS Sphere and NURBS Donut problem

8 years agoCleanup of code and ui of sequencer speed effect.
Janne Karhu [Wed, 29 Sep 2010 13:38:43 +0000 (13:38 +0000)]
Cleanup of code and ui of sequencer speed effect.
* Sequence speed effect was functional in theory, but very difficult to actually use.
* Now the effect works as follows:
  - "Speed Factor" (formerly "speed fade") controls the current speed of the sequence (can be animated).
  - "Use as speed" (formerly "f-curve velocity") is now the default behavior so that the "speed effect" by default changes the "speed" of the sequence.
  - "Multiply Speed" (formerly "global speed") is a scale factor that's applied to the calculated frame (can't be animated).
  - Without animation "Speed Factor" and "Multiply Speed" work exactly the same (in this case "multiply speed" could perhaps be disabled in ui, but currently there's no easy way to check this).
  - If "Use as speed" is not checked the effect simply remaps the current frame to the given "Frame Number" (can be animated).
  - "Scale to length" (formerly "f-curve compress y")scales "Frame numbers" from 0.0-1.0 to the length of the target strip to allow easy animation.
* Tooltips added for all values and options.
* Code for frame blending was nowhere to be seen, so I commented the option out from ui.
* This should fix at least bugs #20979 and #21309.

8 years agoown changes in recent commit broke curve loading because the curve type checking...
Campbell Barton [Wed, 29 Sep 2010 12:46:26 +0000 (12:46 +0000)]
own changes in recent commit broke curve loading because the curve type checking function looked in the curves listbase.

8 years agoFix [#24046] Keyframe display in Timeline isn't updated
Nathan Letwory [Wed, 29 Sep 2010 12:34:32 +0000 (12:34 +0000)]
Fix [#24046] Keyframe display in Timeline isn't updated
Reported by Alex Glawion

Add necessary object selecction notifier handling to redraw timeline properly.

8 years agoFix #24054: Shift+A add menu in Surface editmode shows curve items.
Sergey Sharybin [Wed, 29 Sep 2010 11:48:03 +0000 (11:48 +0000)]
Fix #24054: Shift+A add menu in Surface editmode shows curve items.

8 years agoCMake on Windows for project files will now copy correct python dll and correct pytho...
Nathan Letwory [Wed, 29 Sep 2010 11:09:11 +0000 (11:09 +0000)]
CMake on Windows for project files will now copy correct python dll and correct python modules in place.

8 years agoForgot to remove these ancient project files :)
Nathan Letwory [Wed, 29 Sep 2010 08:27:03 +0000 (08:27 +0000)]
Forgot to remove these ancient project files :)

8 years agoRemove the project files in favor of CMake, so we won't be maintaining now two ways...
Nathan Letwory [Wed, 29 Sep 2010 08:24:43 +0000 (08:24 +0000)]
Remove the project files in favor of CMake, so we won't be maintaining now two ways of using project files.

8 years agomoved mathutils Euler.rotate(angle, axis) --> Euler.rotate_axis(axis, angle)
Campbell Barton [Wed, 29 Sep 2010 08:07:58 +0000 (08:07 +0000)]
moved mathutils Euler.rotate(angle, axis) --> Euler.rotate_axis(axis, angle)
since it can only rotate about a single axis dont confuse with vector.rotate() which takes an axis vector.

8 years agobugfix [#24050] Frame Rate buttons look strange
Campbell Barton [Wed, 29 Sep 2010 07:55:13 +0000 (07:55 +0000)]
bugfix [#24050] Frame Rate buttons look strange

8 years agofix for user counts with text3d bold/italic fonts.
Campbell Barton [Wed, 29 Sep 2010 06:24:05 +0000 (06:24 +0000)]
fix for user counts with text3d bold/italic fonts.

8 years agopatch from Dan Eicher with some edirts.
Campbell Barton [Wed, 29 Sep 2010 05:15:55 +0000 (05:15 +0000)]
patch from Dan Eicher with some edirts.
  vec.rotate(axis, angle)
equivalent to...
  vec[:] = vec * mathutils.Quaternion(axis, angle)

8 years agobugfix pointed out by Kris Salaah (own mistake)
Campbell Barton [Tue, 28 Sep 2010 19:57:47 +0000 (19:57 +0000)]
bugfix pointed out by Kris Salaah (own mistake)

8 years agobugfix [#24040] loop select -> delete edge loop crashes blender
Campbell Barton [Tue, 28 Sep 2010 19:53:45 +0000 (19:53 +0000)]
bugfix [#24040] loop select -> delete edge loop crashes blender

8 years ago[#24028] Minor fixes to BLI_math_vector
Campbell Barton [Tue, 28 Sep 2010 11:48:13 +0000 (11:48 +0000)]
[#24028] Minor fixes to BLI_math_vector
+ minor warning fixes.

8 years agopatch [#24034] Fix for [#24010] in 3D view; updates material
Campbell Barton [Tue, 28 Sep 2010 11:27:42 +0000 (11:27 +0000)]
patch [#24034] Fix for [#24010] in 3D view; updates material
from Alexander Kuznetsov (alexk)
fixes [#24010] specular color not updated in 3D window until object selected

8 years agoneed to set GL_SHININESS to the default value for weight painting.
Campbell Barton [Tue, 28 Sep 2010 11:08:45 +0000 (11:08 +0000)]
need to set GL_SHININESS to the default value for weight painting.

8 years agoFix for [#23732] Smoke / load external cache doesn't work
Janne Karhu [Tue, 28 Sep 2010 10:04:41 +0000 (10:04 +0000)]
Fix for [#23732] Smoke / load external cache doesn't work

8 years agoimages bigger then 32k no longer crash blender, use unsigned int for image size rathe...
Campbell Barton [Tue, 28 Sep 2010 10:03:56 +0000 (10:03 +0000)]
images bigger then 32k no longer crash blender, use unsigned int for image size rather then short.
also check if jpeg fails to allocate an imbuf.

8 years agoFix for own recent commit 32147
Janne Karhu [Tue, 28 Sep 2010 09:27:35 +0000 (09:27 +0000)]
Fix for own recent commit 32147
* Pointcache wasn't checked to be valid before allocating the cached frames array

8 years agoFix for [#23961] Object hair particles do not render if turned off in viewport
Janne Karhu [Tue, 28 Sep 2010 09:11:24 +0000 (09:11 +0000)]
Fix for [#23961] Object hair particles do not render if turned off in viewport

8 years agoFix for [#24031] Baked Physics with Phsics set to NO can't be freed
Janne Karhu [Tue, 28 Sep 2010 08:47:59 +0000 (08:47 +0000)]
Fix for [#24031] Baked Physics with Phsics set to NO can't be freed
* Should fix the cause ("no physics" gets baked) and old files that are effected (ui allows freeing if cache isn't really used)

8 years agoCOLLADA: Better import and export of cameras.
Nathan Letwory [Tue, 28 Sep 2010 08:01:20 +0000 (08:01 +0000)]
COLLADA: Better import and export of cameras.

8 years agobugfix [#23908] Irratic manipulator scale at far out distances
Campbell Barton [Tue, 28 Sep 2010 04:25:16 +0000 (04:25 +0000)]
bugfix [#23908] Irratic manipulator scale at far out distances

8 years agoMake Cycle Render Slot actually cycle through all slots.
Nathan Letwory [Tue, 28 Sep 2010 03:26:17 +0000 (03:26 +0000)]
Make Cycle Render Slot actually cycle through all slots.

8 years agoFix [#24038] keyboard navigation not working in second level menus
Nathan Letwory [Tue, 28 Sep 2010 01:20:36 +0000 (01:20 +0000)]
Fix [#24038] keyboard navigation not working in second level menus
Reported by David Sullivan

Commit #32066 applying patch [#23675] broke keyboard and mouse wheel navigation in menu in deeper levels.

8 years agoMove copying of %TEMP% to U.tempdir after slash adding. Otherwise path is handled...
Nathan Letwory [Tue, 28 Sep 2010 00:14:02 +0000 (00:14 +0000)]
Move copying of %TEMP% to U.tempdir after slash adding. Otherwise path is handled wrong when opening filebrowser for it.

8 years ago.B25.blend -> startup.blend
Nathan Letwory [Mon, 27 Sep 2010 23:33:10 +0000 (23:33 +0000)]
.B25.blend -> startup.blend

8 years agoUse content of %TEMP% also in U.temp_dir instead of /tmp/ on Windows. Internal btempd...
Nathan Letwory [Mon, 27 Sep 2010 23:28:45 +0000 (23:28 +0000)]
Use content of %TEMP% also in U.temp_dir instead of /tmp/ on Windows. Internal btempdir uses that anyway, so less confusing.

8 years agoSequencer timeline didn't update on FPS or FPS Base changes in render settings. Misse...
Nathan Letwory [Mon, 27 Sep 2010 22:01:06 +0000 (22:01 +0000)]
Sequencer timeline didn't update on FPS or FPS Base changes in render settings. Missed notifier handling.

8 years agoFix [#23977] toggle back to object mode not working (outliner issue)
Nathan Letwory [Mon, 27 Sep 2010 21:22:20 +0000 (21:22 +0000)]
Fix [#23977] toggle back to object mode not working (outliner issue)
Reported by Roland Kramer

There was already code to prevent visibility toggle through restrict column from working when in edit mode. Reshuffled
code somewhat so it works also for object operations in outliner. Also ensure operator poll for visibility and selectability toggle
checks object is not in edit mode. So this also works for selectability toggling, so no more toggling when in edit mode - it's confusing otherwise.

Added notifier and handling for it for renderability toggle in outliner. No edit mode restriction here.

8 years agobugfix, screw modifier was overwriting its own calculated normals of the original...
Campbell Barton [Mon, 27 Sep 2010 20:48:50 +0000 (20:48 +0000)]
bugfix, screw modifier was overwriting its own calculated normals of the original verts.

8 years agominor console fixes
Campbell Barton [Mon, 27 Sep 2010 17:22:59 +0000 (17:22 +0000)]
minor console fixes
- selection doesnt mess up alignment when text is added to the buffer.
- tab key is now alligned to 4 (rather then adding 4 spaces).

8 years agobugfix, console text selection /w wrapped lines now works.
Campbell Barton [Mon, 27 Sep 2010 16:35:14 +0000 (16:35 +0000)]
bugfix, console text selection /w wrapped lines now works.

8 years agofix for interactive console selection drawing with wrapped lines.
Campbell Barton [Mon, 27 Sep 2010 15:14:58 +0000 (15:14 +0000)]
fix for interactive console selection drawing with wrapped lines.

8 years agoconsole now stores selection internally with 0 index starting at the end of the line...
Campbell Barton [Mon, 27 Sep 2010 14:01:16 +0000 (14:01 +0000)]
console now stores selection internally with 0 index starting at the end of the line. makes internal logic much less confusing. no functional changes.

8 years agoFix: Smoke wasn't using pointcache properly.
Janne Karhu [Mon, 27 Sep 2010 12:24:12 +0000 (12:24 +0000)]
Fix: Smoke wasn't using pointcache properly.
* The cache was reset almost constantly because smoke didn't save the first frame into cache. Although not necessary for smoke, it's vital to pointcache.
* Added info message to smoke cache panel for non saved files.
* Now smoke also only updates with a framestep of 1, so that scrubbing the timeline doesn't mess up the simulation.
* Among other things fixes report #23731.

8 years agoadded CTX_wm_operator_poll_msg_get/set so failing poll functions can set messages...
Campbell Barton [Mon, 27 Sep 2010 12:21:23 +0000 (12:21 +0000)]
added CTX_wm_operator_poll_msg_get/set so failing poll functions can set messages when poll fails, at the moment only python uses this but theres nothing python specific.

only added 1 message to a poll function, so messages still need to be set in many more places to be useful.

8 years agobugfix [#24009] Crash when switching area types and performing ops
Campbell Barton [Mon, 27 Sep 2010 10:44:46 +0000 (10:44 +0000)]
bugfix [#24009] Crash when switching area types and performing ops
tested every view3d operator to make sure none crash.

8 years agoFixed: Showing pointcached frames in the timeline was terribly slow when using disk...
Janne Karhu [Mon, 27 Sep 2010 09:58:37 +0000 (09:58 +0000)]
Fixed: Showing pointcached frames in the timeline was terribly slow when using disk cache.
* The existence of cached frames was checked each frame causing hundreds of disk operations per frame update.
* Pointcache now keeps an updated array of the cached frames for fast "frame exists in cache" queries.
* This fix also speeds up some other pointcache operations nicely.

8 years agobugfix [#23447] wrong vertices/edges selected in UV editor
Campbell Barton [Mon, 27 Sep 2010 09:50:20 +0000 (09:50 +0000)]
bugfix [#23447] wrong vertices/edges selected in UV editor