blender.git
8 years agobugfix [#24907] bone roll z up broken and python script showing correct method to...
Campbell Barton [Thu, 25 Nov 2010 19:49:07 +0000 (19:49 +0000)]
bugfix [#24907] bone roll z up broken and python script showing correct method to roll bones
from Josh Wedlake (joshwedlake), who provided a reference script used to apply changes in ED_rollBoneToVector().

- Obvious bug fixed where Z-Up didnt work right.
- More align axis options to Recalculate Roll operator: X/Y/Z/View Axis & Negate.
- Axis Only option, ignore the axis direction, use shortest rotation to align bones.

ED_rollBoneToVector() changes:
- would give bad roll when the axis wasn't normalized or perpendicular to the bone.
  some callers accounted for this but not all.
- option to align to the axis but not the direction.

8 years agoFixed bug with Text menu in font edit mode
Sergey Sharybin [Thu, 25 Nov 2010 18:22:59 +0000 (18:22 +0000)]
Fixed bug with Text menu in font edit mode

8 years agofix for https://projects.blender.org/tracker/index.php?func=detail&aid=24442&group_id...
Lukas Steiblys [Thu, 25 Nov 2010 17:36:03 +0000 (17:36 +0000)]
fix for https://projects.blender.org/tracker/index.php?func=detail&aid=24442&group_id=9&atid=498
[#24442] GLSL + VBOs

8 years agonew vectors that were the result of functions or operators were not using the same...
Campbell Barton [Thu, 25 Nov 2010 16:00:06 +0000 (16:00 +0000)]
new vectors that were the result of functions or operators were not using the same subclass as the vectors they were derived from.

8 years agobugfix [#24916] Blender Crash after inappropriate Merge-Command
Campbell Barton [Thu, 25 Nov 2010 15:03:36 +0000 (15:03 +0000)]
bugfix [#24916] Blender Crash after inappropriate Merge-Command

8 years agoRedraw 3d view when new object was added (NC_OBJECT|NA_ADDED notifier)
Sergey Sharybin [Thu, 25 Nov 2010 14:56:02 +0000 (14:56 +0000)]
Redraw 3d view when new object was added (NC_OBJECT|NA_ADDED notifier)

This fixes one issue from #24914: 3D text glitch and crash ("delayed" 3d view refresh)

8 years ago== console ==
Luca Bonavita [Thu, 25 Nov 2010 14:55:03 +0000 (14:55 +0000)]
== console ==

- banner formatting

== sphinx doc ==

- bpy.data: put the example below the documentation itself

8 years agofound some errors while looking into bug #24909, in exceptional cases where the PNG...
Campbell Barton [Thu, 25 Nov 2010 14:00:11 +0000 (14:00 +0000)]
found some errors while looking into bug #24909, in exceptional cases where the PNG could not be saved it could leak memory and not close the file.

8 years agoPossible fix for the issue that came up in [#24890] Vector Blur node is Buggy
Janne Karhu [Thu, 25 Nov 2010 11:38:55 +0000 (11:38 +0000)]
Possible fix for the issue that came up in [#24890] Vector Blur node is Buggy
* Apparently some compilers don't respect proper operator precedence, so added some parentheses around to make inline conditionals unambiguous.

8 years agoFix polling order for ui panels in netrender.
Martin Poirier [Thu, 25 Nov 2010 01:25:47 +0000 (01:25 +0000)]
Fix polling order for ui panels in netrender.

Was broken by r33071 but order wasn't optimal even before. Should be snappier now (at least only check if correct render engine is selected).

8 years agoSpline IK Bugfix:
Joshua Leung [Wed, 24 Nov 2010 23:36:36 +0000 (23:36 +0000)]
Spline IK Bugfix:

Binding code had off-by-1 error, which meant that when "Even Divisions" was disabled the length of the wrong bone would get used.

This error was most noticeable when the lengths of the bones were quite different - for example, a chain with 3 bones of increasing length. Thanks to "Julius" on BlenderArtists for catching this. Cheers!

---

Also, simplified the binding code loop a bit to prevent this sort of error in future.

8 years agoOSX: Patch associated with Python update to 3.1.2.
Damien Plisson [Wed, 24 Nov 2010 21:39:07 +0000 (21:39 +0000)]
OSX: Patch associated with Python update to 3.1.2.
Thanks to Jens Verwiebe for making the build and the patch to make the Game Engine build again with it.

8 years agodrivers could reference invalid index values outside the bounds of the array.
Campbell Barton [Wed, 24 Nov 2010 21:33:07 +0000 (21:33 +0000)]
drivers could reference invalid index values outside the bounds of the array.

8 years agodefine UNUSED() locally for mmap_win
Campbell Barton [Wed, 24 Nov 2010 20:56:25 +0000 (20:56 +0000)]
define UNUSED() locally for mmap_win

8 years agofix for crash introduced r33257, also tag some vars as unused.
Campbell Barton [Wed, 24 Nov 2010 20:13:37 +0000 (20:13 +0000)]
fix for crash introduced r33257, also tag some vars as unused.

8 years agofix [#24893] Minor error message glitch
Campbell Barton [Wed, 24 Nov 2010 19:06:56 +0000 (19:06 +0000)]
fix [#24893] Minor error message glitch

8 years agobugfix [#24884] Loading any preset leads to crash
Campbell Barton [Wed, 24 Nov 2010 18:37:54 +0000 (18:37 +0000)]
bugfix [#24884] Loading any preset leads to crash
caused by own recent commit. update uv operator template too.

8 years agobugfix [#24887] Crash on snapping verts on other object
Campbell Barton [Wed, 24 Nov 2010 18:02:35 +0000 (18:02 +0000)]
bugfix [#24887] Crash on snapping verts on other object
now the derived mesh and the editmesh will always have matching faces.

8 years agoclose addon files, Py3.2 now complains when files are left open.
Campbell Barton [Wed, 24 Nov 2010 17:29:22 +0000 (17:29 +0000)]
close addon files, Py3.2 now complains when files are left open.

8 years agoBugfix #24887
Ton Roosendaal [Wed, 24 Nov 2010 17:13:02 +0000 (17:13 +0000)]
Bugfix #24887

Crash in snapping, bvh tree. Wrong check for numFaces here.
Fixed the crash by adding test for face pointer, but not sure
what the coder intended here. Needs investigation, left XXX remark.

8 years agofix for crash canceling fly mode.
Campbell Barton [Wed, 24 Nov 2010 16:54:18 +0000 (16:54 +0000)]
fix for crash canceling fly mode.

8 years agoBugfix #24847
Ton Roosendaal [Wed, 24 Nov 2010 16:34:38 +0000 (16:34 +0000)]
Bugfix #24847

When report error was drawn in info header, using border select
or paint brushes flickered. Was caused by Triple Buffer method
not checking for correct redraw case.

Also made report redraws less aggressive, it was drawing the info
header all over with 50 FPS for 10 seconds. Made it 20 FPS, and
added code to only send notifiers for actual changes.

As todo note for future: animated UI options could get better
caching to cope with slower refreshes.

8 years agobugfix [#24882] fbx exporter Krash, screw objects and animations
Campbell Barton [Wed, 24 Nov 2010 15:57:59 +0000 (15:57 +0000)]
bugfix [#24882] fbx exporter Krash, screw objects and animations
fixed remaining issue with win32 paths.

8 years agoTypo in commit... for some reason rna_xx.c files compile without warning?
Ton Roosendaal [Wed, 24 Nov 2010 15:05:54 +0000 (15:05 +0000)]
Typo in commit... for some reason rna_xx.c files compile without warning?

8 years agoadd a window manager to files loaded from 2.4x in background mode. (partial fix for...
Campbell Barton [Wed, 24 Nov 2010 14:40:03 +0000 (14:40 +0000)]
add a window manager to files loaded from 2.4x in background mode. (partial fix for [#24882]).

8 years agoBugfix #23576
Ton Roosendaal [Wed, 24 Nov 2010 14:34:16 +0000 (14:34 +0000)]
Bugfix #23576

Logic Window: Actuator type options in menu didn't show special options
for Armature or Mesh when 'show selected' was used.

Dalai proposed a nice new RNA feature for inherited types, but with
only two exceptions handled, it was easy to code this check.

8 years agoFix #24782: proxy armature Layer state not saved with file. Was in 2.4x but
Brecht Van Lommel [Wed, 24 Nov 2010 14:05:53 +0000 (14:05 +0000)]
Fix #24782: proxy armature Layer state not saved with file. Was in 2.4x but
not ported to 2.5x, implemented a bit different now to fit RNA better.

8 years agocorrection while looking into another bug, setup_app_data() will always free window...
Campbell Barton [Wed, 24 Nov 2010 14:05:09 +0000 (14:05 +0000)]
correction while looking into another bug, setup_app_data() will always free window manages if mode==0, but had left the contexts manager variable which could be used later.

8 years agofix [#24879] "Feather" symmetry option in sculpt mode crashes.
Campbell Barton [Wed, 24 Nov 2010 12:38:18 +0000 (12:38 +0000)]
fix [#24879] "Feather" symmetry option in sculpt mode crashes.
rotate_m4() was being called with axis=0

8 years agowhen fail to read a blend, report the filepath too, less confusing when chaining...
Campbell Barton [Wed, 24 Nov 2010 12:17:26 +0000 (12:17 +0000)]
when fail to read a blend, report the filepath too, less confusing when chaining together multiple blends.

8 years agoFix for [#24877] Cloth + hair bug
Janne Karhu [Wed, 24 Nov 2010 11:37:09 +0000 (11:37 +0000)]
Fix for [#24877] Cloth + hair bug
* Particles needed the original index layer, but didn't ask for it.

8 years agoFixes for [#24862] Fluid Simulator issues
Janne Karhu [Wed, 24 Nov 2010 10:56:15 +0000 (10:56 +0000)]
Fixes for [#24862] Fluid Simulator issues
* Fluid baking (using the job system) didn't update the "lastgoodframe" anymore, so reversing the frames didn't work. Now the last valid frame is checked by going through all fluid bake files when "reverse frames" is selected.
* There was all kinds of fancy checks done in the fluid modifier for reading a different frame in different cases, but as the "lastgoodframe" was really not working I don't see the point of this whole code, so removed it for now. The new functionality is: if the fluid data for current frame exists use it, otherwise just return unmodified domain mesh without any fancy backup plans.
* There were also some errors on reading uncompleted files (scrubbing timeline while bake was running), so I made the fluid file reader just return null if the number of faces didn't correspond to to actually read data. Previously this just printed an error to the console.

8 years agobugfix [#23871] OSX panel button bug (Python Namespace issue)
Campbell Barton [Wed, 24 Nov 2010 10:23:23 +0000 (10:23 +0000)]
bugfix [#23871] OSX panel button bug (Python Namespace issue)

This is an annoying but which isn't a problem for Python because they don't execute multiple scripts, one after another (there is one __main__ and everything else is a module).

So when the __main__ module in sys.modules is overwritten, it decref's the module and clears the dictionary with _PyModule_Clear(), even though the modules dictionary is still in use.

Strangely this problem only happens with Python3.1.1 and Python3.2x svn but not 3.1.2

This commit restores the namespace after _PyModule_Clear() sets all its values to None.

8 years agoRemove library specification.
Nathan Letwory [Wed, 24 Nov 2010 09:13:59 +0000 (09:13 +0000)]
Remove library specification.

8 years agoReverting revision 33120, which added vram monitoring. The method used had some probl...
Mitchell Stokes [Wed, 24 Nov 2010 06:27:07 +0000 (06:27 +0000)]
Reverting revision 33120, which added vram monitoring. The method used had some problems (especially in the freeing function). I will research an alternative solution and submit it to the tracker.

8 years agoWhen exporting images also add the string name (attribute). This is optional, but...
Nathan Letwory [Tue, 23 Nov 2010 23:58:12 +0000 (23:58 +0000)]
When exporting images also add the string name (attribute). This is optional, but it helps other viewers importing from Blender .dae exports.

Small request by factor in IRC.

8 years agoFix #24834: curves extrude + bevel gave bad normals on rendering.
Brecht Van Lommel [Tue, 23 Nov 2010 20:32:15 +0000 (20:32 +0000)]
Fix #24834: curves extrude + bevel gave bad normals on rendering.

This happened when removing vertex normal flipping in the render engine. But
actually the normal of the first face in the curve was flipped on rendering,
because it used a different vertex order than other places. Also removed the
hack that computes a face normal only from a triangle instead of a quad.

8 years agoSmall feature fix: zero-user blocks get indicated with "0" again in
Ton Roosendaal [Tue, 23 Nov 2010 19:06:54 +0000 (19:06 +0000)]
Small feature fix: zero-user blocks get indicated with "0" again in
browsing.

8 years agoBugfix #24860
Ton Roosendaal [Tue, 23 Nov 2010 17:28:41 +0000 (17:28 +0000)]
Bugfix #24860

On entering editmode Curve/Nurbs, the undo buffer was not
correct; storing old Curve/Nurbs object name. This caused
for example the Operator tool redo options to fail; it added
another curve on first use (with user pref "enter editmode).

Solved with adding good undo push + nicer code for curve and
nurbs naming.

8 years agouse unit system for the grid floor (was only ortho before).
Campbell Barton [Tue, 23 Nov 2010 17:14:03 +0000 (17:14 +0000)]
use unit system for the grid floor (was only ortho before).

8 years agominor edits to exception formatting (remove ... or \n from suffix)
Campbell Barton [Tue, 23 Nov 2010 16:45:17 +0000 (16:45 +0000)]
minor edits to exception formatting (remove ... or \n from suffix)

8 years agobugfix [#24871] Unwrapping with Smart Project give a bad result.
Campbell Barton [Tue, 23 Nov 2010 16:10:20 +0000 (16:10 +0000)]
bugfix [#24871] Unwrapping with Smart Project give a bad result.

8 years agofix for typo in mathutils vec.to_track_quat() argument parsing.
Campbell Barton [Tue, 23 Nov 2010 16:07:51 +0000 (16:07 +0000)]
fix for typo in mathutils vec.to_track_quat() argument parsing.

8 years agoChanged some ui names for smoke parameters to make things less ambiguous.
Janne Karhu [Tue, 23 Nov 2010 15:16:19 +0000 (15:16 +0000)]
Changed some ui names for smoke parameters to make things less ambiguous.

8 years agoFix for [#19706] Smoke 'sticks' to Collision objects initial position
Janne Karhu [Tue, 23 Nov 2010 14:40:27 +0000 (14:40 +0000)]
Fix for [#19706] Smoke 'sticks' to Collision objects initial position
* Smoke got emitted inside collision cells, so it got stuck there.

8 years agochanges in own recent commit broke MSVC building.
Campbell Barton [Tue, 23 Nov 2010 14:38:02 +0000 (14:38 +0000)]
changes in own recent commit broke MSVC building.

8 years agoChanges to the ortho grid drawing based on discussion with Ton.
Campbell Barton [Tue, 23 Nov 2010 14:14:06 +0000 (14:14 +0000)]
Changes to the ortho grid drawing based on discussion with Ton.
- ortho grid now draws scaled by the view3d 'Scale' setting, venomgfx noticed this was missing.
- so as not to confuse add scale next to unit display text, so rather then "Metres" it shows "Metres x 1.5" otherwise its confusing that grid lines are not in exact units.
- changed grid spacing to grid scale (needed for more logical behavior with units)
- when units are enabled grey out subdivisions.

8 years agoCached smoke wasn't being drawn on file load before going to simulation start frame.
Janne Karhu [Tue, 23 Nov 2010 14:04:05 +0000 (14:04 +0000)]
Cached smoke wasn't being drawn on file load before going to simulation start frame.

8 years agotransform snapping to a unit scaled grid was broken.
Campbell Barton [Tue, 23 Nov 2010 13:28:13 +0000 (13:28 +0000)]
transform snapping to a unit scaled grid was broken.

8 years agofix [#24870] ObjectActuator.offset_rotation in radians
Campbell Barton [Tue, 23 Nov 2010 12:23:19 +0000 (12:23 +0000)]
fix [#24870] ObjectActuator.offset_rotation in radians

8 years agopartial fix for [#23532]
Campbell Barton [Tue, 23 Nov 2010 12:05:35 +0000 (12:05 +0000)]
partial fix for [#23532]
- Python calling operators didn't run WM_operator_properties_sanitize() so enum functions called from python were given a NULL context.
- PROP_ENUM_NO_CONTEXT and PROP_NEVER_NULL used the same value in the enum (possible conflict).

8 years agoParticle fluid and boid settings didn't have a valid rna path, so they couldn't be...
Janne Karhu [Tue, 23 Nov 2010 11:15:38 +0000 (11:15 +0000)]
Particle fluid and boid settings didn't have a valid rna path, so they couldn't be animated.

8 years agouse zero initializers instead of memset(), also change PointerRNA_NULL from an extern...
Campbell Barton [Tue, 23 Nov 2010 08:44:21 +0000 (08:44 +0000)]
use zero initializers instead of memset(), also change PointerRNA_NULL from an extern into a define.

8 years agoextensions_framework: fix UI drawing logic
Doug Hammond [Tue, 23 Nov 2010 00:23:57 +0000 (00:23 +0000)]
extensions_framework: fix UI  drawing logic

8 years agoextensions_framework: fix UI drawing bug and some redundant code
Doug Hammond [Tue, 23 Nov 2010 00:06:09 +0000 (00:06 +0000)]
extensions_framework: fix UI  drawing bug and some redundant code

8 years agoPartial fix for #24773: Material Nodes - there isn't able to set keys on Mapping...
Joshua Leung [Mon, 22 Nov 2010 23:59:00 +0000 (23:59 +0000)]
Partial fix for #24773: Material Nodes - there isn't able to set keys on Mapping coordinates

Playback now works. The problem was that material/texture nodetrees were getting ignored completely, as I was assuming that all of these existed in the main->nodetree collection when in fact only the "group" nodetrees lived there. I don't really agree with this, but that's the way it is...

TODO: animation editor support still to come

8 years agofix for player with recent update.
Campbell Barton [Mon, 22 Nov 2010 23:47:00 +0000 (23:47 +0000)]
fix for player with recent update.

8 years agoerror in own recent commit
Campbell Barton [Mon, 22 Nov 2010 23:41:00 +0000 (23:41 +0000)]
error in own recent commit

8 years agofix for building with mingw/cmake
Campbell Barton [Mon, 22 Nov 2010 23:25:21 +0000 (23:25 +0000)]
fix for building with mingw/cmake

8 years agofix for cmake if build flags are not defined.
Campbell Barton [Mon, 22 Nov 2010 23:06:57 +0000 (23:06 +0000)]
fix for cmake if build flags are not defined.

8 years agoFix #24596: specular toggle on material didn't work correct.
Brecht Van Lommel [Mon, 22 Nov 2010 22:23:50 +0000 (22:23 +0000)]
Fix #24596: specular toggle on material didn't work correct.

8 years agofix [#24866] object/transform/align objects error
Campbell Barton [Mon, 22 Nov 2010 20:54:26 +0000 (20:54 +0000)]
fix [#24866] object/transform/align objects error

8 years agobugfix [#23609] Lamp PointerProperty
Campbell Barton [Mon, 22 Nov 2010 20:44:59 +0000 (20:44 +0000)]
bugfix [#23609] Lamp PointerProperty

8 years agoBugfix #24823
Ton Roosendaal [Mon, 22 Nov 2010 18:51:40 +0000 (18:51 +0000)]
Bugfix #24823

Color picker: RMB "insert single value" was inserting all three values.
Same case as yesterday, made code recurse into open menu to check for
active button there.

8 years agoMore button alignment stuff: campbell had a script that was
Ton Roosendaal [Mon, 22 Nov 2010 18:41:08 +0000 (18:41 +0000)]
More button alignment stuff: campbell had a script that was
drawing various cases. Fixed another one. :)

8 years agoBugfix #24856
Ton Roosendaal [Mon, 22 Nov 2010 18:11:40 +0000 (18:11 +0000)]
Bugfix #24856

Button aligning revisited. Now layer buttons draw OK too, and even
better than before (missed a rounded corner!)

8 years agobugfix [#24805] bpy operator runs in wrong order or is ignored at all
Campbell Barton [Mon, 22 Nov 2010 17:21:18 +0000 (17:21 +0000)]
bugfix [#24805] bpy operator runs in wrong order or is ignored at all

8 years agofix for triangulate OBJ export option.
Campbell Barton [Mon, 22 Nov 2010 16:20:59 +0000 (16:20 +0000)]
fix for triangulate OBJ export option.
reworked fix from Radu Danciu

8 years agobugfix [#20768] Project Snap Broken
Campbell Barton [Mon, 22 Nov 2010 14:16:11 +0000 (14:16 +0000)]
bugfix [#20768] Project Snap Broken

8 years agorna invoke function wm.invoke_confirm() for python access.
Campbell Barton [Mon, 22 Nov 2010 13:43:51 +0000 (13:43 +0000)]
rna invoke function wm.invoke_confirm() for python access.

8 years agofind filepaths operator had blend file and search path swapped.
Campbell Barton [Mon, 22 Nov 2010 13:32:43 +0000 (13:32 +0000)]
find filepaths operator had blend file and search path swapped.

8 years agoReverting fix for yesterday's commit that broke Undo.
Ton Roosendaal [Mon, 22 Nov 2010 11:21:33 +0000 (11:21 +0000)]
Reverting fix for yesterday's commit that broke Undo.

8 years ago- blend_m3_m3m3 and blend_m4_m4m4 now support matrices with negative scales.
Campbell Barton [Mon, 22 Nov 2010 10:39:28 +0000 (10:39 +0000)]
- blend_m3_m3m3 and blend_m4_m4m4 now support matrices with negative scales.
- python/mathutils api matrix.lerp(other, factor)
- new function mat3_to_rot_size(), like mat4_to_loc_rot_size but with no location.

8 years agofix for fix r33219, reports. Set a valid WM after running UNDO.
Campbell Barton [Mon, 22 Nov 2010 06:18:49 +0000 (06:18 +0000)]
fix for fix r33219, reports. Set a valid WM after running UNDO.
[#24849] changing objects to another layer causes segmentation fault
[#24848] Using an operator outside of edit mode crashes blender
[#24844] Crash related to the subdivision (aka subsurf) modifier
[#24843] ctrl+z crashes blender

8 years agorename hide_tooltips_python to show_ ..., tag unused variable with recent sequencer...
Campbell Barton [Mon, 22 Nov 2010 05:36:49 +0000 (05:36 +0000)]
rename hide_tooltips_python to show_ ..., tag unused variable with recent sequencer commits.

8 years agoUser preference to hide Python references in Tooltips.
Elia Sarti [Mon, 22 Nov 2010 00:10:32 +0000 (00:10 +0000)]
User preference to hide Python references in Tooltips.

8 years agoFix: 8bit raw and 'blender voxel' voxel data texture formats didn't support relative...
Matt Ebb [Sun, 21 Nov 2010 23:36:29 +0000 (23:36 +0000)]
Fix: 8bit raw and 'blender voxel' voxel data texture formats didn't support relative paths

8 years ago== Sequencer ==
Peter Schlaile [Sun, 21 Nov 2010 20:00:31 +0000 (20:00 +0000)]
== Sequencer ==

* documented and rewrote the render interface of the sequencer.
  (now, the geometry / render_type / etc. settings are stored within a
  seperate structure called SeqRenderData that is passed within the code.)

* that fixes
  * cache problems, since the caching system didn't keep track of
    proxy files vs. final renders.
  * is a necessary step, to bring back frame blending in speed effect
    (the SeqRenderData structure elements are already there)
  * will make motion blur render options available within the sequencer!

* this patch also fixes:
  * "easy retiming" using speed effects. (in Blender 2.49, you could
    add a speed effect and resize the source track to retime it to that
    length)
  * adds labels for the Original dimensions for Image + Movie tracks
    (worked in 2.49, too)

8 years agoToggle cyclic on when creating segment between first and last points of non-cyclic...
Sergey Sharybin [Sun, 21 Nov 2010 19:29:08 +0000 (19:29 +0000)]
Toggle cyclic on when creating segment between first and last points of non-cyclic bezier

8 years agoRecalc handles after toggling bezier's cyclic flag when deleting segment
Sergey Sharybin [Sun, 21 Nov 2010 19:01:18 +0000 (19:01 +0000)]
Recalc handles after toggling bezier's cyclic flag when deleting segment

8 years agoApplying patch #24822: Select linked for curves as for meshes, CTRL + L version
Sergey Sharybin [Sun, 21 Nov 2010 18:50:53 +0000 (18:50 +0000)]
Applying patch #24822: Select linked for curves as for meshes, CTRL + L version

With some own changes:
- Select pick moved to invoke()
- Used editsurfcurve_region_view3d as poll function for this operator
  due to ogl dependency

Thanks to Elia Sarti (vekoon)!

8 years agoBugfix #22611
Ton Roosendaal [Sun, 21 Nov 2010 18:46:50 +0000 (18:46 +0000)]
Bugfix #22611

(Well, while testing this report I found this fix!)
Blender could crash after rendering a 2.4 or 2.5 file

The context before/during/after file reads is still fishy.
Need a more clear & clean mind to really check it from
scratch again.

8 years ago[#22854] Objects lag behind mouse pointer when transformed (translated)
Martin Poirier [Sun, 21 Nov 2010 18:31:00 +0000 (18:31 +0000)]
[#22854] Objects lag behind mouse pointer when transformed (translated)

[#24652] Project vertices button showing in object mode and leads to wrong behavior.

Removing soft redraw (code is still there in case we need it eventually) on mouse move, now that events are compressed.

8 years agoBugfix #24837
Ton Roosendaal [Sun, 21 Nov 2010 17:32:57 +0000 (17:32 +0000)]
Bugfix #24837

Small typo, EXR option PIZ was typed as PIX

8 years agoBugfix #24825
Ton Roosendaal [Sun, 21 Nov 2010 17:23:55 +0000 (17:23 +0000)]
Bugfix #24825

Error in alignment code caused some buttons to draw not nicely
aligned, like the Frame rate buttons in Render properties.

8 years agodisallow disabling WITH_SAMPLERATE if any audio outputs are enabled.
Campbell Barton [Sun, 21 Nov 2010 16:32:11 +0000 (16:32 +0000)]
disallow disabling WITH_SAMPLERATE if any audio outputs are enabled.

8 years agoWITH_SAMPLERATE option for cmake, without this playback wont behave right so this...
Campbell Barton [Sun, 21 Nov 2010 14:32:55 +0000 (14:32 +0000)]
WITH_SAMPLERATE option for cmake, without this playback wont behave right so this is mainly intended for developers who build without audio enabled.

8 years agoFixed missed selection oulines for curves/surfaces/fonts/armature when texture shadin...
Sergey Sharybin [Sun, 21 Nov 2010 14:05:18 +0000 (14:05 +0000)]
Fixed missed selection oulines for curves/surfaces/fonts/armature when texture shading is active

8 years ago- check IF WIN32 AND NOT UNIX (for cygwin)
Campbell Barton [Sun, 21 Nov 2010 13:41:43 +0000 (13:41 +0000)]
- check IF WIN32 AND NOT UNIX (for cygwin)
- patch from Mike S to enable OpenMP and xcode

8 years agoBugfix #24824
Ton Roosendaal [Sun, 21 Nov 2010 13:01:22 +0000 (13:01 +0000)]
Bugfix #24824

Color Picker: when inserting keys (right mouse menu), the colors didn't
change for buttons to indicate such. The function that sets the flags
returned too early.

8 years ago- include pthreads for win32 globally (as with opengl).
Campbell Barton [Sun, 21 Nov 2010 09:10:50 +0000 (09:10 +0000)]
- include pthreads for win32 globally (as with opengl).
- MSVC CFLAGS were being set by only checking WIN32, (breaking non-msvc win32 builds)

8 years ago- some more rna range corrections
Campbell Barton [Sun, 21 Nov 2010 09:06:27 +0000 (09:06 +0000)]
- some more rna range corrections
- correct exception messages for mathutils constructors.

8 years agoincorrect argument parsing for python opengl module bgl.
Campbell Barton [Sun, 21 Nov 2010 05:35:29 +0000 (05:35 +0000)]
incorrect argument parsing for python opengl module bgl.
unsigned byte/short/int were being passes as signed values which would raise an overflow error if a range greater then the signed value was used.

8 years agofix for RNA ranges exceeding the range of the type (INT_MAX used on short's for eg).
Campbell Barton [Sun, 21 Nov 2010 03:45:35 +0000 (03:45 +0000)]
fix for RNA ranges exceeding the range of the type (INT_MAX used on short's for eg).

8 years agoChanging KX_Camera.perspective didn't actually change the camera's perspective becaus...
Mitchell Stokes [Sun, 21 Nov 2010 01:55:08 +0000 (01:55 +0000)]
Changing KX_Camera.perspective didn't actually change the camera's perspective because the camera's matrix was cached. The setter for KX_Camera.perspective now invalidates the camera's matrix so it's recomputed with the change.

8 years ago[#24827] Crash when auto-keyframing while playing animation
Martin Poirier [Sat, 20 Nov 2010 21:43:16 +0000 (21:43 +0000)]
[#24827] Crash when auto-keyframing while playing animation

Reported by AndrĂ© Oliveira

Need to pass valid context to autokeying callback function.

8 years agoBugfix #24792
Ton Roosendaal [Sat, 20 Nov 2010 19:20:27 +0000 (19:20 +0000)]
Bugfix #24792

On file save, the 3d view thumbnail creation caused changes in lighting
enables. Solved with a glPushAttrib() and pop.

8 years ago== Multires ==
Nicholas Bishop [Sat, 20 Nov 2010 18:54:58 +0000 (18:54 +0000)]
== Multires ==

Fixed bug #20620, "VertColors and Flat/Soft imported from 2.49 are wrong
(MultiRes)" reported by Manuel R.

* Added function to load level-0 vertex colors
* Added function to load level-0 face flags
* Warning: the 2.5 multires modifier doesn't support multires vertex colors
  or multires face flags; that data will be lost if you import it into 2.5.

8 years agoCancel edge slide on invalid selection.
Martin Poirier [Sat, 20 Nov 2010 18:46:36 +0000 (18:46 +0000)]
Cancel edge slide on invalid selection.

Patch by Shane Ambler

8 years agoBugfix #21028
Ton Roosendaal [Sat, 20 Nov 2010 17:31:59 +0000 (17:31 +0000)]
Bugfix #21028

- Image Editor, "New", gave for each tweak in redo menu a new Image
  when Object is in Editmode. This is a limitation of our current
  undo system. Marked this issue in the wiki todo.
  Solved by adding a poll in operator that prevents this to be called.
  (a bit annoying, but the error is worse!)

- On assigning a new image texture to faces in Editmode, no redraw
  happened in 3D window. Added notifier for it.