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

- banner formatting

== sphinx doc ==

- put the example below the documentation itself

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

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

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

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

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

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

10 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

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

10 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

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

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

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

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

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

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

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

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

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

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

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

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

10 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

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

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

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

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

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

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

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

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

10 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

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

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

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

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

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

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

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

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

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

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

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

10 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

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

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

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

10 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

10 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

10 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

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

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

10 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

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

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

10 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

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

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

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

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

10 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

10 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

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

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

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

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

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

10 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

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

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

10 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

10 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
  * adds labels for the Original dimensions for Image + Movie tracks
    (worked in 2.49, too)

10 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

10 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

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

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

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

10 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

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

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

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

10 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

10 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

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

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

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

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

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

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

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

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

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

10 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

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

10 years agoAllow keyframing editmode curve values, also fix a bug where adding a new curve would...
Campbell Barton [Sat, 20 Nov 2010 17:28:05 +0000 (17:28 +0000)]
Allow keyframing editmode curve values, also fix a bug where adding a new curve would always use object mode spline list but removing would use editmode when set.

10 years ago- report python script errors to blender report system, or through operators reports...
Campbell Barton [Sat, 20 Nov 2010 16:39:15 +0000 (16:39 +0000)]
- report python script errors to blender report system, or through operators reports (when using operator callbacks).
- when python operators fail to execute they were returning RUNNING_MODAL, now return CANCELLED

now when an operator fails it gives an error popup as well as a message in the terminal.

10 years agoBugfix #24801
Ton Roosendaal [Sat, 20 Nov 2010 16:00:36 +0000 (16:00 +0000)]
Bugfix #24801

- Reading 2.4x files could cause print "missing region type".
  Appeared the 2.50 do_versions patch differed from default region
- Sometimes editors showed wrong button for type browsing.
  Was because variable wasn't correctly reset on saves.

10 years agoregion.tag_redraw() broke building with the player.
Campbell Barton [Sat, 20 Nov 2010 14:39:03 +0000 (14:39 +0000)]
region.tag_redraw() broke building with the player.

10 years agoWITH_OPENJPEG wasn't defined for CMake or SCons, which meant blender couldn't save...
Campbell Barton [Sat, 20 Nov 2010 14:19:21 +0000 (14:19 +0000)]
WITH_OPENJPEG wasn't defined for CMake or SCons, which meant blender couldn't save jpeg2000 images from the file selector.
also fixed typo in jp2.c

10 years agoBugfix for [#24768] 6DoF Constraint options missing.
Thomas Dinges [Sat, 20 Nov 2010 09:48:51 +0000 (09:48 +0000)]
Bugfix for [#24768] 6DoF Constraint options missing.
* Added the options in UI and RNA

Funny Note: This was on my own to-do list (see commit 20577 in the py file from 2009-06-02 when I ported the UI from C to Python) :P