blender.git
8 years agominor internal python api change - pass the context rather then getting from BPy_GetC...
Campbell Barton [Tue, 7 Dec 2010 06:47:40 +0000 (06:47 +0000)]
minor internal python api change - pass the context rather then getting from BPy_GetContext() again.

8 years agobugfix [#25073] Rendered image goes dim when saved from python batch script
Campbell Barton [Tue, 7 Dec 2010 05:39:14 +0000 (05:39 +0000)]
bugfix [#25073] Rendered image goes dim when saved from python batch script

8 years agopass along the context to extension functions, this was already being done in all...
Campbell Barton [Tue, 7 Dec 2010 04:12:15 +0000 (04:12 +0000)]
pass along the context to extension functions, this was already being done in all cases except for the render engine.

this allows python to NULL its internal context while scripts are not running.

8 years agoAdded an assert() check for normalized quats which exposed a number of bugs where...
Campbell Barton [Tue, 7 Dec 2010 01:56:32 +0000 (01:56 +0000)]
Added an assert() check for normalized quats which exposed a number of bugs where normalized quat was incorrectly assumed.
This would have made bug #25003 very simple to find.

- Objects had their quats normalized when calculating their matrix, this is inconstant with pose bones and isn't useful for animation.
  Also it wasn't normalizing the delta rotation so these would give bad rotations.

- Converting between rotation modes BKE_rotMode_change_values() assumed normal length quat. changing quat to euler rotation for eg could change the bone.

- Clear rotation and transform were not normalizing the quat when 4d loc was disabled on quat rotation, corrected and also made it so the quat scale is restored after conversion so animations curves dont jump.

There is 1 case in mat3_to_quat_is_ok() where quat_to_mat3 on an unnormalized quat is needed, for this I had to add an ugly static function quat_to_mat3_no_assert(), but overall its worthwhile IMHO to be able to find incorrect use of rotation conversion.

8 years agoBGE BugFix: [#21246] Some values for ipoactuator.frameEnd and frameStart make ipo...
Dalai Felinto [Tue, 7 Dec 2010 01:54:25 +0000 (01:54 +0000)]
BGE BugFix: [#21246] Some values for ipoactuator.frameEnd and frameStart make ipo not play the first time
This is a bug as old as the ability to change the actuator values through Python.

For the records: although Blender supports floats as frame values BGE doesn't. It could but it doesn't. So only integers (longs) will be valid start/end frames.

8 years agomathutils quaternion axis/angle access was broken for non unit lenth quats, would...
Campbell Barton [Tue, 7 Dec 2010 01:38:42 +0000 (01:38 +0000)]
mathutils quaternion axis/angle access was broken for non unit lenth quats, would return NAN's in simple cases.
now normalize upon conversion, when setting the quat axis/ange, maintain length by scaling back to the original size afterwards.

8 years agoincorrect paranoid check for drawing texture face mode with no faces, it would crash...
Campbell Barton [Tue, 7 Dec 2010 01:30:14 +0000 (01:30 +0000)]
incorrect paranoid check for drawing texture face mode with no faces, it would crash in this case anyway.
instead check for faces from the caller.

8 years agofix for crash on missing NULL check,
Campbell Barton [Tue, 7 Dec 2010 00:48:36 +0000 (00:48 +0000)]
fix for crash on missing NULL check,

Brecht, changed this to update the duplicate objects data rather then the old ones incase they are not linked.

8 years agoGot rid of old-school searching CVs for index update.
Sergey Sharybin [Mon, 6 Dec 2010 21:18:08 +0000 (21:18 +0000)]
Got rid of old-school searching CVs for index update.
No more infinity loops could happen -- only keyIndex data loose.
But it's smaller harm and actually could be easily fixed and it's more
correct way.

8 years agoBugfix #25060
Ton Roosendaal [Mon, 6 Dec 2010 18:58:04 +0000 (18:58 +0000)]
Bugfix #25060

Edit mesh: CTRL+Click added vertices in edge/face select mode, but
doesn't draw them. Better disable it then.
Also removed dangling event print.

8 years agoBugfix #25003
Ton Roosendaal [Mon, 6 Dec 2010 18:10:08 +0000 (18:10 +0000)]
Bugfix #25003

Pose mode: "Paste flipped" failed on not-normalized quaternions
(for example ones you edited with buttons)

8 years agoUpdate curve animation data when loading UndoCurve -- fixes memory corruption
Sergey Sharybin [Mon, 6 Dec 2010 17:49:57 +0000 (17:49 +0000)]
Update curve animation data when loading UndoCurve -- fixes memory corruption
when starting playback after undo-ing topology changes

The simpliest way was to change data at which undoCurve_to_editCurve and
editCurve_to_undoCurve works from curve to object. Maybe it's not very
cool, but still better than moving curve animation handlers outside of
editcurve module.

8 years agoSync fix with render branch. Solves crash with ob->bb not found.
Ton Roosendaal [Mon, 6 Dec 2010 17:41:12 +0000 (17:41 +0000)]
Sync fix with render branch. Solves crash with ob->bb not found.

8 years agoCurves CV animation
Sergey Sharybin [Mon, 6 Dec 2010 17:20:22 +0000 (17:20 +0000)]
Curves CV animation
===================

Update fcurves RNA pathes after making changes to curve topology, so
animation will no longer lost after edit and wouldn't lead to crash.

Will be very useful for RotoBezier addon.

Also NodeKeyIndex renamed to CVNodeIndex due to node is an entity from
another module and better not used in others.

8 years agoBugfix #25023 (additional remark, not report itself)
Ton Roosendaal [Mon, 6 Dec 2010 15:44:06 +0000 (15:44 +0000)]
Bugfix #25023 (additional remark, not report itself)

Adding Cone didn't set default 'fill end cap', as tooltip
promised it would be.

8 years agoCurves shape keys:
Sergey Sharybin [Mon, 6 Dec 2010 13:44:36 +0000 (13:44 +0000)]
Curves shape keys:
fixed memory corruption after creating new CVs and switching direction

8 years agoinclude getset's for generating module docs.
Campbell Barton [Mon, 6 Dec 2010 12:36:55 +0000 (12:36 +0000)]
include getset's for generating module docs.
used for bpy.debug/tempdir/driver_namespace which were previously undocumented.

8 years agoCMake: use a global list to store libraries built rather then cmake_blender_libs...
Campbell Barton [Mon, 6 Dec 2010 10:56:37 +0000 (10:56 +0000)]
CMake: use a global list to store libraries built rather then cmake_blender_libs.txt file.

8 years agobugfix [#24967] bge.KX_GameObject.worldAngularVelocity does not work, breaks mathutil...
Campbell Barton [Mon, 6 Dec 2010 08:29:41 +0000 (08:29 +0000)]
bugfix [#24967] bge.KX_GameObject.worldAngularVelocity does not work, breaks mathutils somehow
- Exceptions from reading vector values in the game engine where not being caught.
- Also wrote specific KX_GameObject exceptions, without these the errors are quite confusing.

8 years agobugfix [#24995] Object rotation seems to be applied incorrectly
Campbell Barton [Mon, 6 Dec 2010 07:45:07 +0000 (07:45 +0000)]
bugfix [#24995] Object rotation seems to be applied incorrectly
- Object actuator rotation was being scaled by: (1/0.02)*2*PI/360 == 0.872, since revision 2.
- Remove scaling and use do_versions to adjust existing files.

8 years agobugfix [#25057] Vertex paint - Cannot select or paint vertices of obscured vertices...
Campbell Barton [Mon, 6 Dec 2010 06:26:47 +0000 (06:26 +0000)]
bugfix [#25057] Vertex paint - Cannot select or paint vertices of obscured vertices, even when obscuring faces are hiddden

8 years ago[#25030] Grease Pencil active_frame_delete() deletes wrong layer
Campbell Barton [Mon, 6 Dec 2010 05:31:27 +0000 (05:31 +0000)]
[#25030] Grease Pencil active_frame_delete() deletes wrong layer
move buttons to the header since they only operate on the active layer.

8 years agobugfix [#25046] Bold and Italics checkboxes for Text objects seem to do nothing
Campbell Barton [Mon, 6 Dec 2010 04:05:34 +0000 (04:05 +0000)]
bugfix [#25046] Bold and Italics checkboxes for Text objects seem to do nothing
- Part of this report is a misunderstanding, but there was no access to bold/italic fonts.
- Added rna access and changed the operators to use only rna properties.

8 years ago[#25047] Deletion of any custom key map item remove always first one
Martin Poirier [Mon, 6 Dec 2010 02:42:59 +0000 (02:42 +0000)]
[#25047] Deletion of any custom key map item remove always first one

keymap item id for user defined keymaps wasn't defined properly. This is really old, I'm surprised with didn't catch this before.

8 years agobugfix [#22663] object material slots not updated for library data
Campbell Barton [Mon, 6 Dec 2010 02:32:16 +0000 (02:32 +0000)]
bugfix [#22663] object material slots not updated for library data

8 years ago- converted path cleaning on file load to use bPath Iterator functions - image &...
Campbell Barton [Mon, 6 Dec 2010 00:52:30 +0000 (00:52 +0000)]
- converted path cleaning on file load to use bPath Iterator functions - image & font and sequence paths were being cleaned but not multires, voxel & sound paths.
- skip fixing file paths on undo.
- simplify bpath alloc and free functions, also pass Main structure so as not to rely on G.main, (needed for file load).

8 years agouse BLI_strnlen rather then strlen when comparing against fixed lengths.
Campbell Barton [Sun, 5 Dec 2010 23:50:55 +0000 (23:50 +0000)]
use BLI_strnlen rather then strlen when comparing against fixed lengths.

8 years agobpath iterator updates
Campbell Barton [Sun, 5 Dec 2010 23:14:48 +0000 (23:14 +0000)]
bpath iterator updates
- loop over sequencer plugin and texture voxel paths.
- fix leak in python bpy.utils.blend_path() and use PyUnicode_DecodeFSDefault() to ensure correct paths with different encodings.
- operators to make paths absolute & relative now redraw the view.

8 years agoDependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now it
Brecht Van Lommel [Sun, 5 Dec 2010 18:59:23 +0000 (18:59 +0000)]
Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now it
only tags the ID and does the actual flush/update delayed, before the next
redraw. For objects the update was already delayed, just flushing wasn't
yet.

This should help performance in python and animation editors, by making
calls to RNA property update quicker. Still need to add calls in a few
places where this was previously avoided due to bad performance.

8 years agoPartial bugfix for [#25037] , brought back Select menu in Sequencer
Peter Schlaile [Sun, 5 Dec 2010 17:56:15 +0000 (17:56 +0000)]
Partial bugfix for [#25037] , brought back Select menu in Sequencer
header...

8 years agoextensions_framework: prefer user config and scripts dirs, if set, to save addon...
Doug Hammond [Sun, 5 Dec 2010 16:39:48 +0000 (16:39 +0000)]
extensions_framework: prefer user config and scripts dirs, if set, to save addon config files to.

8 years agoProbably bugfix for [#25050] Outputing mpeg (audio in AC3 format) causes
Peter Schlaile [Sun, 5 Dec 2010 16:14:34 +0000 (16:14 +0000)]
Probably bugfix for [#25050] Outputing mpeg (audio in AC3 format) causes
audio to become buggy.

Added sensible audio preset settings for ffmpeg rendering

8 years agoRender UI: added the very important "free unused nodes" in the
Ton Roosendaal [Sun, 5 Dec 2010 14:13:57 +0000 (14:13 +0000)]
Render UI: added the very important "free unused nodes" in the
Performance panel. This should actually be default on background
render...

8 years agoBugfix #25041
Ton Roosendaal [Sun, 5 Dec 2010 12:32:58 +0000 (12:32 +0000)]
Bugfix #25041

Sequencer crash when combining a scene strip with image strip and cross.
Code lacked proper check for byte buffer in scene...

8 years agoBug fix #25042
Ton Roosendaal [Sun, 5 Dec 2010 12:14:02 +0000 (12:14 +0000)]
Bug fix #25042

Emulate numpad option: failed to use zero key to reset color picker.

8 years agoObject transparency setting should only show on MESH type
Daniel Salazar [Sun, 5 Dec 2010 10:38:45 +0000 (10:38 +0000)]
Object transparency setting should only show on MESH type

8 years agoFix part of #25040: rendering multiple scenes from compositing nodes didn't
Brecht Van Lommel [Sun, 5 Dec 2010 10:14:34 +0000 (10:14 +0000)]
Fix part of #25040: rendering multiple scenes from compositing nodes didn't
restore current scene properly afterwards.

8 years agouse PyUnicode_DecodeFSDefault rather then PyUnicode_DecodeUTF8(str, strlen(str),...
Campbell Barton [Sun, 5 Dec 2010 09:20:18 +0000 (09:20 +0000)]
use PyUnicode_DecodeFSDefault rather then PyUnicode_DecodeUTF8(str, strlen(str), "surrogateescape"), for converting non utf8 names.
this is needed because some UTF8 names didnt resolve on windows when using surrogateescape'd strings.

This meant you couldn't export to models some directories on windows.

8 years ago- Fixed dead-lock when subviding curve
Sergey Sharybin [Sun, 5 Dec 2010 07:08:14 +0000 (07:08 +0000)]
- Fixed dead-lock when subviding curve
- Hard-limit for cuts number is set to INT_MAX, soft limit to 10 (same as for meshes)

8 years agouse constant strings for outliner menus rather then sprint'ing them together.
Campbell Barton [Sun, 5 Dec 2010 06:40:47 +0000 (06:40 +0000)]
use constant strings for outliner menus rather then sprint'ing them together.

8 years agofix for camera border going outside the clipping range while in camera view.
Campbell Barton [Sun, 5 Dec 2010 02:16:01 +0000 (02:16 +0000)]
fix for camera border going outside the clipping range while in camera view.

8 years agoFix for [#25036] boids particle from 2.49 opened in 2.5 is crash !?
Janne Karhu [Sun, 5 Dec 2010 01:48:49 +0000 (01:48 +0000)]
Fix for [#25036] boids particle from 2.49 opened in 2.5 is crash !?
* Old boids didn't have all of the necessary data for the new system.
* Changed the particles code so that a check for all necessary data is always done before starting actual dynamics calculations.

8 years agocorrection to r33469, operators return sets so string comparison isn't valid.
Campbell Barton [Sun, 5 Dec 2010 00:08:25 +0000 (00:08 +0000)]
correction to r33469, operators return sets so string comparison isn't valid.

8 years agoFixed memory leak in thumbnail_joblist_free: last image in loadimages weren't
Sergey Sharybin [Sat, 4 Dec 2010 18:34:31 +0000 (18:34 +0000)]
Fixed memory leak in thumbnail_joblist_free: last image in loadimages weren't
freed even if it's not copied to the filelist

8 years agoIRC report:
Ton Roosendaal [Sat, 4 Dec 2010 16:02:04 +0000 (16:02 +0000)]
IRC report:

Adding mesh primitive circle/cone/tube now has first vertex
on top. Looks much nicer on low vertex totals.
Fix provided by Mario G Kishalmi, thanks!

8 years agoBug fix #21900
Ton Roosendaal [Sat, 4 Dec 2010 15:45:16 +0000 (15:45 +0000)]
Bug fix #21900

Issue with Library linking: if you already have libraries linked in,
and you attempt to link more data, using internally already linked
stuff (like a group with group links) the linkage would fail. It did
resolve on save-load though.

There's a long commented history in this code explaining it. I found
out it was because of manual step-by-step linking versus normal file
reads. In the first case, the "lib pointer map" was missing references.

8 years agoCocoa : fix drag and drop was no more operational after having fullscreened the window
Damien Plisson [Sat, 4 Dec 2010 14:26:45 +0000 (14:26 +0000)]
Cocoa : fix drag and drop was no more operational after having fullscreened the window

8 years agoBugfix #21893
Ton Roosendaal [Sat, 4 Dec 2010 13:46:25 +0000 (13:46 +0000)]
Bugfix #21893

Python Operator "Delete Edge Loop" (which keeps mesh connected)
changed selection if sliding operator failed. Simply added a
check for return value. Gosh, that Python code is not bad ;)

8 years agoMaintenance,
Campbell Barton [Sat, 4 Dec 2010 13:00:28 +0000 (13:00 +0000)]
Maintenance,
- remove some redundant declarations
- changed VertexTangent and Path structs to avoid compiler alignment padding.

8 years agoBugfix #24699
Ton Roosendaal [Sat, 4 Dec 2010 12:33:45 +0000 (12:33 +0000)]
Bugfix #24699

Crash when deleting Shapekeys, while Graph or Dopesheet was visible.
Caused by RNA collection lookup, which is not checking against index
out of range errors.

Brecht might have to give blessings for this though :)

8 years agoGive functions that use printf style formatting GCC format attributes so if incorrect...
Campbell Barton [Sat, 4 Dec 2010 11:44:56 +0000 (11:44 +0000)]
Give functions that use printf style formatting GCC format attributes so if incorrect formatting is used the compiler will warn of this.
found & fixed 2x incorrect formatting args.

8 years agoBugfix #25033
Ton Roosendaal [Sat, 4 Dec 2010 11:34:26 +0000 (11:34 +0000)]
Bugfix #25033

Texture face options like "two side" were invisible, unless the
top bar "render engine" was set to Game Engine.
This is confusing, since 3d window does draw these options well.

Added back panel to show default, but with a label warning that
the options are not supported for render.

8 years agodisallow setting RNA attributes while drawing, this is bad practice so enforcing...
Campbell Barton [Sat, 4 Dec 2010 06:25:36 +0000 (06:25 +0000)]
disallow setting RNA attributes while drawing, this is bad practice so enforcing here has the benifit of making sure people are not manipulating blender scene data in a drawing panel for eg.

This is ifdef'd and may be disabled later on, or only enabled in debug mode.

This applies to setting any RNA value that has an ID and is not a screen or window-manager datablock.

Some addons break this rule and need fixing but from my tests blender UI scripts are ok.

8 years agominor changes to bone UI script.
Campbell Barton [Sat, 4 Dec 2010 06:21:08 +0000 (06:21 +0000)]
minor changes to bone UI script.

8 years agofix for strict prototype error.
Campbell Barton [Sat, 4 Dec 2010 05:34:16 +0000 (05:34 +0000)]
fix for strict prototype error.

8 years agoown mistake made r33442, was returning the pose channel, rather then its bone.
Campbell Barton [Sat, 4 Dec 2010 01:11:50 +0000 (01:11 +0000)]
own mistake made r33442, was returning the pose channel, rather then its bone.

8 years agoremove shadowed definitions but keep them as zero this time.
Campbell Barton [Fri, 3 Dec 2010 23:55:10 +0000 (23:55 +0000)]
remove shadowed definitions but keep them as zero this time.

8 years agoConst conflict in PIL_dynlib_find_symbol
Ton Roosendaal [Fri, 3 Dec 2010 19:42:40 +0000 (19:42 +0000)]
Const conflict in PIL_dynlib_find_symbol
Thanks wiseman!

8 years agoBugfix #2508
Ton Roosendaal [Fri, 3 Dec 2010 19:29:05 +0000 (19:29 +0000)]
Bugfix #2508

Campbell's cleanup commit  33442 today broke axes drawing.
Restored code.

8 years agoIRC fix:
Ton Roosendaal [Fri, 3 Dec 2010 18:49:38 +0000 (18:49 +0000)]
IRC fix:

Curve editmode was missing hotkey for operator "Select Inverse"
Is now added like Mesh, CTRL+I
Thanks lmg!

8 years agoIRC bug report
Ton Roosendaal [Fri, 3 Dec 2010 18:39:40 +0000 (18:39 +0000)]
IRC bug report

Text editor, "Add new" caused zero-user block.
The claim in the code why it should be decreased is dubious.
Thanks wiseman!

8 years agoIrx report:
Ton Roosendaal [Fri, 3 Dec 2010 18:35:10 +0000 (18:35 +0000)]
Irx report:

Missing void declarator in init ffmpg (appears to be error now).
Thanks lmg!

8 years agoBugfix #24568
Ton Roosendaal [Fri, 3 Dec 2010 18:26:42 +0000 (18:26 +0000)]
Bugfix #24568

The old blocking "time cursor" wasn't working anymore.
Commit 32798 overlooked that the initialization was
needed.

Now bakes show it again. Note to self: it seems to flash
slightly (like 2.49), need to check on it one day.

8 years agoBugfix #25026
Ton Roosendaal [Fri, 3 Dec 2010 17:31:34 +0000 (17:31 +0000)]
Bugfix #25026

Nurbs edit: 'switch order' crashed when order was higher than amount of
points.

8 years agoEnabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const...
Campbell Barton [Fri, 3 Dec 2010 17:05:21 +0000 (17:05 +0000)]
Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,.

Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.

8 years agocompile fixes for mingw32.
Campbell Barton [Fri, 3 Dec 2010 16:45:04 +0000 (16:45 +0000)]
compile fixes for mingw32.

8 years agoFix for compilation error caused by strict prototype checking
Sergey Sharybin [Fri, 3 Dec 2010 14:35:10 +0000 (14:35 +0000)]
Fix for compilation error caused by strict prototype checking

8 years agoFix #25017: Bezier Curve Deform Twisting after adding Shape Keys
Sergey Sharybin [Fri, 3 Dec 2010 14:35:03 +0000 (14:35 +0000)]
Fix #25017: Bezier Curve Deform Twisting after adding Shape Keys

- Invalid step was used in curve_applyKeyVertexTilts
- Minor cleanup in editcurve stuff

8 years agoBugfix #20565
Ton Roosendaal [Fri, 3 Dec 2010 14:26:03 +0000 (14:26 +0000)]
Bugfix #20565

Material Node shaders: displaying GLSL + rendering previews crashed.
Reason was non-safe threaded access to material nodes. Now, on a preview
render, a full copy of Material is being made.

8 years ago- added GCC warning -Wstrict-prototypes
Campbell Barton [Fri, 3 Dec 2010 12:30:59 +0000 (12:30 +0000)]
- added GCC warning -Wstrict-prototypes
- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.

8 years agoFix for [#24899] Sequence Transform strips don't apply animation properly to scale.
Janne Karhu [Fri, 3 Dec 2010 12:08:59 +0000 (12:08 +0000)]
Fix for [#24899] Sequence Transform strips don't apply animation properly to scale.
* Rendering a scene strip updated all animation data to it's frame, so fcurves were left with the wrong value.
* Now the animation data is recalculated to original frame after rendering each scene strip.

8 years agoAlign Objects operator was broken due to incorrect order of vector by
Daniel Salazar [Fri, 3 Dec 2010 11:05:36 +0000 (11:05 +0000)]
Align Objects operator was broken due to incorrect order of vector by
matrix multiplication

8 years agoupdates to patch from Dan Eicher, allow adding a NodeGroup through bpy.data.node_grou...
Campbell Barton [Fri, 3 Dec 2010 03:44:39 +0000 (03:44 +0000)]
updates to patch from Dan Eicher, allow adding a NodeGroup through bpy.data.node_groups.new(name, type)
made some minor changes.

8 years agofix [#24938] Seed value on Particle settings gives Error when trying to insert key.
Campbell Barton [Fri, 3 Dec 2010 02:24:21 +0000 (02:24 +0000)]
fix [#24938] Seed value on Particle settings gives Error when trying to insert key.

8 years agofix for some pedantic warnings.
Campbell Barton [Fri, 3 Dec 2010 01:52:28 +0000 (01:52 +0000)]
fix for some pedantic warnings.

8 years agofix [#25015] Ctrl+L linking to scene list does not scroll when the list is larger...
Campbell Barton [Thu, 2 Dec 2010 22:58:23 +0000 (22:58 +0000)]
fix [#25015] Ctrl+L linking to scene list does not scroll when the list is larger than screen resolution

8 years agocorrection to error message from Dan Eicher
Campbell Barton [Thu, 2 Dec 2010 21:55:55 +0000 (21:55 +0000)]
correction to error message from Dan Eicher

8 years agofix [#24586] Report mode of console does not show proper cariage returns.
Campbell Barton [Thu, 2 Dec 2010 21:48:46 +0000 (21:48 +0000)]
fix [#24586] Report mode of console does not show proper cariage returns.
use the line iterator to split up newlines.

8 years agofix crash when report timer was set but no usable error reports were found.
Campbell Barton [Thu, 2 Dec 2010 21:40:39 +0000 (21:40 +0000)]
fix crash when report timer was set but no usable error reports were found.

8 years agoextensions_framework: fix bug that would create extra UI space when entire row is...
Doug Hammond [Thu, 2 Dec 2010 19:03:24 +0000 (19:03 +0000)]
extensions_framework: fix bug that would create extra UI space when entire row is hidden. May not be the most efficient implementation, however it is working properly now.

8 years agoBugfix #25010
Ton Roosendaal [Thu, 2 Dec 2010 18:27:04 +0000 (18:27 +0000)]
Bugfix #25010

When loading files without UI (quit.blend) you got memory-free errors
for fileselect. Pointers were NULLed where not needed.

8 years agoUpdate include paths for fonts in image stat display (rev33422).
Guillermo S. Romero [Thu, 2 Dec 2010 17:30:28 +0000 (17:30 +0000)]
Update include paths for fonts in image stat display (rev33422).

8 years agoIRC comment fix:
Ton Roosendaal [Thu, 2 Dec 2010 16:12:55 +0000 (16:12 +0000)]
IRC comment fix:

Option "free all texture-images" after render, was also
freeing unsaved painted images. Now it skips them.

8 years agoFix for [#25006] Particle system crash (missing check for negative index)
Janne Karhu [Thu, 2 Dec 2010 14:52:07 +0000 (14:52 +0000)]
Fix for [#25006] Particle system crash (missing check for negative index)

8 years agobugfix [#24913] Text bevel normals wrong
Campbell Barton [Thu, 2 Dec 2010 05:39:43 +0000 (05:39 +0000)]
bugfix [#24913] Text bevel normals wrong
error was introduced 33269, to fix [#24834].

this only reverts a small part of that commit, added note not to change this.

8 years agoFix for [#25001] Enable Smoke High Resolution is greyout after baking
Janne Karhu [Thu, 2 Dec 2010 04:47:40 +0000 (04:47 +0000)]
Fix for [#25001] Enable Smoke High Resolution is greyout after baking
* Was a bit too eager to disable stuff

8 years agouse fixed width fonts for image stat display.
Campbell Barton [Thu, 2 Dec 2010 04:23:56 +0000 (04:23 +0000)]
use fixed width fonts for image stat display.

8 years agoAdditional fix for #24958 Cloth pinning not working
Janne Karhu [Thu, 2 Dec 2010 04:06:02 +0000 (04:06 +0000)]
Additional fix for #24958 Cloth pinning not working
* Don't assume that the original dm given to cloth modifier is a cddm

8 years agoAdding some descriptions for animation-related operators that were missing them.
Joshua Leung [Thu, 2 Dec 2010 02:03:30 +0000 (02:03 +0000)]
Adding some descriptions for animation-related operators that were missing them.

8 years agopatch [#23212] Python api for Nodes
Campbell Barton [Thu, 2 Dec 2010 01:18:59 +0000 (01:18 +0000)]
patch [#23212] Python api for Nodes
from Dan Eicher (dna)

This allows automated node tree creation and editing.

developer note, made some changes to the patch.
- removed incorrect use of container_of(), GCC only also, search for the scene instead.
- commented socket min/max access, these are internal use only as far as I can tell.
- commented group/ungroup functions, these use the selection context and are not really data level functions.
- use remove() rather then delete()

8 years agofixed crash with rigid body constraints not having their child pointer read correctly.
Campbell Barton [Wed, 1 Dec 2010 23:40:21 +0000 (23:40 +0000)]
fixed crash with rigid body constraints not having their child pointer read correctly.

8 years agoBugfix #24999
Ton Roosendaal [Wed, 1 Dec 2010 17:47:38 +0000 (17:47 +0000)]
Bugfix #24999

Array Modifier: edge indices could be equal to numVerts, causing
bad crashes in derivedmesh. Similar fix to previous here with
face indices. Should poke the coder of this... for now it survives OK.

8 years agoBugfix #24890
Ton Roosendaal [Wed, 1 Dec 2010 15:58:45 +0000 (15:58 +0000)]
Bugfix #24890

Particle cache reading: crash when loading .blend on a different
endian system, code was dumping arrays in .blend without DNA.

General warning for devs: avoid generic write_data and dynamic
arrays in DNA.

8 years agoBugfix #24903
Ton Roosendaal [Wed, 1 Dec 2010 13:18:24 +0000 (13:18 +0000)]
Bugfix #24903

GRLESS key was missing in RNA key list, so it didn't show up in
keymap editor. Internally support for it worked already.

Thanks to Milos Zajic for showing the fix.

8 years agoFix for [#24958] Cloth pinning not working
Janne Karhu [Wed, 1 Dec 2010 12:23:10 +0000 (12:23 +0000)]
Fix for [#24958] Cloth pinning not working
* Cloth now uses the original derived mesh for simulation and a new dm only for applying the simulation result.
* Reverted Campbell's temporary workaround r33406.

8 years agopartial fix [#23265] matrix_world rna path is visible but returns 0 to drivers withou...
Campbell Barton [Wed, 1 Dec 2010 10:17:31 +0000 (10:17 +0000)]
partial fix [#23265] matrix_world rna path is visible but returns 0 to drivers without error however accessed
this report raised a number of problems with rna paths, while we still dont have multi-dimensional array access, invalid paths were being accepted which confused things.

rna path resolving code was accepting all sorts of invalid input because atoi() just returns 0 for non numeric input.
now check if 0 number == '0' character.

8 years agofix for crashes trying to resolve paths "location[]" or "location.."
Campbell Barton [Wed, 1 Dec 2010 09:12:54 +0000 (09:12 +0000)]
fix for crashes trying to resolve paths "location[]" or "location.."

8 years agoincrease the reference counts when setting default scene compo nodes else removing...
Campbell Barton [Wed, 1 Dec 2010 08:49:08 +0000 (08:49 +0000)]
increase the reference counts when setting default scene compo nodes else removing them can set the user count < 0.

8 years agodisable redcode support for cmake & scons-freebsd
Campbell Barton [Wed, 1 Dec 2010 07:25:59 +0000 (07:25 +0000)]
disable redcode support for cmake & scons-freebsd

8 years agoquit blender if the first X11 window fails to open.
Campbell Barton [Wed, 1 Dec 2010 07:15:05 +0000 (07:15 +0000)]
quit blender if the first X11 window fails to open.
mainly just to avoid a segfault so the user knows its not a bug.