blender.git
8 years agoFix for [#24409] Particle corruption after rendering with multires
Janne Karhu [Sat, 30 Oct 2010 10:19:30 +0000 (10:19 +0000)]
Fix for [#24409] Particle corruption after rendering with multires
* Also removed some unused flags from the particle modifier.

8 years agoFix for items 3 and 8 of [#24443] Trying to bake a smoke simulation crashes blender...
Janne Karhu [Sat, 30 Oct 2010 08:51:50 +0000 (08:51 +0000)]
Fix for items 3 and 8 of [#24443] Trying to bake a smoke simulation crashes blender, and other smoke bugs.

8 years agoBuild fix by Mike S
Daniel Salazar [Sat, 30 Oct 2010 02:59:42 +0000 (02:59 +0000)]
Build fix by Mike S

8 years agouse PyImport_ExtendInittab for py module initialization rather then adding to sys...
Campbell Barton [Fri, 29 Oct 2010 22:59:39 +0000 (22:59 +0000)]
use PyImport_ExtendInittab for py module initialization rather then adding to sys.modules directly, no functional change.

8 years agobugfix [#23155] Metastrip contents area allowed to move vertically, occasionally...
Campbell Barton [Fri, 29 Oct 2010 19:40:45 +0000 (19:40 +0000)]
bugfix [#23155] Metastrip contents area allowed to move vertically, occasionally swapping order or overlapping
overlapping tests cant be done recursively

8 years agoFix for[#24422] Crash when switching to Point Select Mode - particle hair
Janne Karhu [Fri, 29 Oct 2010 12:49:36 +0000 (12:49 +0000)]
Fix for[#24422] Crash when switching to Point Select Mode - particle hair

8 years agoFix for [#24430] Hair Dynamics Problem
Janne Karhu [Fri, 29 Oct 2010 10:31:45 +0000 (10:31 +0000)]
Fix for [#24430] Hair Dynamics Problem
* Hair added in particle mode didn't have any weights assigned.

8 years agobugfix for grease pencil freeing order.
Campbell Barton [Fri, 29 Oct 2010 07:11:45 +0000 (07:11 +0000)]
bugfix for grease pencil freeing order.
it was freed before objects which would then decrease its usercount - accessing freed memory.

Also fixed error in own last commit.

8 years agoextensions_framework: minor string change
Doug Hammond [Thu, 28 Oct 2010 21:20:57 +0000 (21:20 +0000)]
extensions_framework: minor string change

8 years agobugfix [#24439] Smear 2D paint fails
Campbell Barton [Thu, 28 Oct 2010 19:40:05 +0000 (19:40 +0000)]
bugfix [#24439] Smear 2D paint fails
small unrelated change: when setting the image type of an image, loop over all its Imbufs and set them.

8 years agobugfix [#24428] Interface Regions will not keep relative proportions
Campbell Barton [Thu, 28 Oct 2010 17:46:31 +0000 (17:46 +0000)]
bugfix [#24428] Interface Regions will not keep relative proportions
screen verts were being rounded so resizing a window would end up moving the border in one direction.
for this to work properly we should store floats internally but for now compensate for this.

8 years agobugfix/patch [#24431] Fast Gaussian produces wrong results for higher resolutions
Campbell Barton [Thu, 28 Oct 2010 12:29:59 +0000 (12:29 +0000)]
bugfix/patch [#24431] Fast Gaussian produces wrong results for higher resolutions
report & fix from Martin Lubich (loramel)

Use double rather then floats, this doesn't use significantly more memory (as allocating a double buffer would), other vars in this function were doubles already so may even gain some speed.

8 years agobugfix [#24432] HS+V color picker
Campbell Barton [Thu, 28 Oct 2010 12:01:02 +0000 (12:01 +0000)]
bugfix [#24432] HS+V color picker

8 years agofor the color picker functions use UI_GRAD_* constants rather then numbers, no functi...
Campbell Barton [Thu, 28 Oct 2010 11:49:56 +0000 (11:49 +0000)]
for the color picker functions use UI_GRAD_* constants rather then numbers, no functional change.

8 years agopartial bugfix [#24425] Blender 2.54 Beta crashes when starting rendering
Campbell Barton [Thu, 28 Oct 2010 10:12:57 +0000 (10:12 +0000)]
partial bugfix [#24425] Blender 2.54 Beta crashes when starting rendering
Fix for one of the causes of crashing.
Applying armature deform wasn't thread safe since the pose bones had deform data written into them when deforming a mesh.

This fixes crashing immediately, on every render for me but blender still crashes calculating the subsurf sometimes.

8 years agopatch [#24424] Python scripts update for API changes
Campbell Barton [Wed, 27 Oct 2010 22:15:55 +0000 (22:15 +0000)]
patch [#24424] Python scripts update for API changes
from Filiciss Muhgue (filiciss)

8 years agobugfix [#24287] Saving the render result through the API does not use the scene settings
Campbell Barton [Wed, 27 Oct 2010 22:13:05 +0000 (22:13 +0000)]
bugfix [#24287] Saving the render result through the API does not use the scene settings
use scene alpha and dither settings.

8 years agonetrender
Martin Poirier [Wed, 27 Oct 2010 18:24:58 +0000 (18:24 +0000)]
netrender

New Feature:
VCS job type
Render a file (with dependencies) from a version control system (currently only supports subversion, but system is already generic).
On client, working path, server path and current revision can be guessed from data on disk or entered manually.
On slave, a working copy is created (if needed) where specified by the job and updated to the proper revision.
On master web page, job types now appear in the job lists. The job page shows the list of dependencies for "normal" jobs or versioning information for VCS jobs.

Limitations: Need to have command line tools "svn" and "svnversion". Working copy path must be the same on client and slaves (the client gets the job path relative to the working copy). When guessing, working copy path is set to the folder where the current file is (this can be changed manually after). On the slave, it will update the working copy AS SPECIFIED to the revision, so if that path is too deep, some dependencies will not be updated properly. Doesn't support mixed revisions (and will not give any warnings for that), it will always use the first revision specified by "svnversion"

Bugfix:
Thumbnail generation doesn't chew down memory anymore and always gives correct result (thumbnail on master especially could mess up between jobs with the name result filename)

8 years agobugfix [#24419] Console Autocomplete Error [Patch to fix attached]
Campbell Barton [Wed, 27 Oct 2010 16:47:25 +0000 (16:47 +0000)]
bugfix [#24419] Console Autocomplete Error [Patch to fix attached]
patch provided by Justin Dailey (dail) in report.

8 years agobugfix [#24418] NLA Crashes blender on Undo
Campbell Barton [Wed, 27 Oct 2010 16:36:25 +0000 (16:36 +0000)]
bugfix [#24418] NLA Crashes blender on Undo

8 years agobugfix [#24341] Problems running blender headless
Campbell Barton [Wed, 27 Oct 2010 16:05:31 +0000 (16:05 +0000)]
bugfix [#24341] Problems running blender headless
bg mode didnt have the screen context callback set. Though this sounds logical, bg mode defines a screen it should be set.

8 years agoFix for [#24401] Fluid particles leak through walls of moving object
Janne Karhu [Wed, 27 Oct 2010 14:56:53 +0000 (14:56 +0000)]
Fix for [#24401] Fluid particles leak through walls of moving object

8 years agoremove include paths which dont exist, fix for doc upload script which was getting...
Campbell Barton [Wed, 27 Oct 2010 13:52:12 +0000 (13:52 +0000)]
remove include paths which dont exist, fix for doc upload script which was getting the blender version twice and not working sometimes.

8 years agoCommit new splash and bump version. Ready for tagging! v2.55
Nathan Letwory [Wed, 27 Oct 2010 11:33:04 +0000 (11:33 +0000)]
Commit new splash and bump version. Ready for tagging!

8 years agofix for shift offset in own recent commit for drawing the camera border in camera...
Campbell Barton [Wed, 27 Oct 2010 11:05:46 +0000 (11:05 +0000)]
fix for shift offset in own recent commit for drawing the camera border in camera view.

8 years agoRevert /WX here until fix in Blender.py is done.
Nathan Letwory [Wed, 27 Oct 2010 10:45:36 +0000 (10:45 +0000)]
Revert /WX here until fix in Blender.py is done.

8 years ago[#24414] Render hanging on small render border.
Campbell Barton [Wed, 27 Oct 2010 10:36:22 +0000 (10:36 +0000)]
[#24414] Render hanging on small render border.
large render sizes could cause an the threaded tile processor to hang because winx * winy wrapped into a negative value.
also convert winx/winy to floats before multiplying for vector passs.

8 years agorecent fix r32626 for [#24339] wasnt correctly clamping the depth rectangle, crashing...
Campbell Barton [Wed, 27 Oct 2010 08:55:13 +0000 (08:55 +0000)]
recent fix r32626 for [#24339] wasnt correctly clamping the depth rectangle, crashing with grease pencil in some cases.

8 years agoConvenience defines SEP and ALTSEP (python has these), move BLI_*_slash function...
Campbell Barton [Wed, 27 Oct 2010 06:41:48 +0000 (06:41 +0000)]
Convenience defines SEP and ALTSEP (python has these), move BLI_*_slash function into path_util.h since these are not fileops.

8 years agoworkaround for python bug [#24400] If Script is executed with TEXT Editor, it becomes...
Campbell Barton [Wed, 27 Oct 2010 06:05:22 +0000 (06:05 +0000)]
workaround for python bug [#24400] If Script is executed with TEXT Editor, it becomes an error.
having the blend file as a part of the __file__ variable is not essential, this is fixed in python 3.2 so add an ifdef and don't use the blend file path for py older then 3.2.

8 years agoFix [#23972] 2.54 beta crashes when rendering scene with many volume objects
Matt Ebb [Wed, 27 Oct 2010 02:18:24 +0000 (02:18 +0000)]
Fix [#23972] 2.54 beta crashes when rendering scene with many volume objects

Sticky-taped on more hacks to the already crumbling shading system.

8 years agoFix [#24053] 64-bit Windows installer installs keys to 32-bit registry
Nathan Letwory [Tue, 26 Oct 2010 23:52:34 +0000 (23:52 +0000)]
Fix [#24053] 64-bit Windows installer installs keys to 32-bit registry
Reported and patch-suggestion by George Pollard

8 years agoChange /WX away for now, some odd thing going on between cloned environments. Need...
Nathan Letwory [Tue, 26 Oct 2010 23:32:59 +0000 (23:32 +0000)]
Change /WX away for now, some odd thing going on between cloned environments. Need to check after release.

8 years agobugfix #24334] Filename looses all parts after a dot when saving
Campbell Barton [Tue, 26 Oct 2010 23:28:10 +0000 (23:28 +0000)]
bugfix #24334] Filename looses all parts after a dot when saving
replacing the extension could remove the frame number added to a path when writing images, so just add the extension rather then replacing even though it gives odd names at times. eg: foo.png0001.tga

8 years agoDon't reset view clipping to 0.1 on entering local view, if you're working on
Matt Ebb [Tue, 26 Oct 2010 22:49:49 +0000 (22:49 +0000)]
Don't reset view clipping to 0.1 on entering local view, if you're working on
something close up with < 0.1 clipping, then toggle into local view it gets very
annoying.

8 years agoSome improvements to the uninstaller part:
Nathan Letwory [Tue, 26 Oct 2010 22:48:26 +0000 (22:48 +0000)]
Some improvements to the uninstaller part:
* don't just recursively delete $BLENDERHOME
* seperately ask confirmation for recursive deleting contents of:
  - $BLENDERHOME\$SHORTVERSION\plugins
  - $BLENDERHOME\$SHORTVERSION\scripts
  - $BLENDERHOME\$SHORTVERSION\config
* Have clear warnings about files going to be deleted

8 years agoMake sure plugins/ goes under shortversion/ dir
Nathan Letwory [Tue, 26 Oct 2010 22:13:37 +0000 (22:13 +0000)]
Make sure plugins/ goes under shortversion/ dir

8 years agoRevert 32710 for now, otherwise can't test release building with scons.
Nathan Letwory [Tue, 26 Oct 2010 21:16:11 +0000 (21:16 +0000)]
Revert 32710 for now, otherwise can't test release building with scons.

8 years agokeep the view centered with camera shift, camera view grease pencil intentionally...
Campbell Barton [Tue, 26 Oct 2010 20:51:11 +0000 (20:51 +0000)]
keep the view centered with camera shift, camera view grease pencil intentionally ignores shift.

8 years agodont use const for matrix arg, since it needs to be cast in most cases.
Campbell Barton [Tue, 26 Oct 2010 20:41:16 +0000 (20:41 +0000)]
dont use const for matrix arg, since it needs to be cast in most cases.

8 years agopartial bugfix [#24002] Constraint "Limit rotation" doesn't work properly
Campbell Barton [Tue, 26 Oct 2010 16:55:38 +0000 (16:55 +0000)]
partial bugfix [#24002] Constraint "Limit rotation" doesn't work properly
this fixes the obvious problems but there are still some rotation jumping when clamping in some cases.

8 years agomove matrix decomposition out of object.c into BLI_math_matrix function: mat4_to_loc_...
Campbell Barton [Tue, 26 Oct 2010 12:48:07 +0000 (12:48 +0000)]
move matrix decomposition out of object.c into BLI_math_matrix function: mat4_to_loc_rot_size(), use this now for pchan_apply_mat4() to support negative scale, visual keying now uses compatible eulers.
also added access to this in python's mathutils.Matrix()
 loc, quat, scale = matrix.decompose()

8 years agoRemoved old rigify code, as it is starting to interfere with the newer Rigify addon.
Nathan Vegdahl [Tue, 26 Oct 2010 05:07:09 +0000 (05:07 +0000)]
Removed old rigify code, as it is starting to interfere with the newer Rigify addon.
The newer addon currently resides here: bzr://bzr.cessen.com/rigify
But will eventually be included in svn.

8 years agoblenderplayer building again in CMake+MSVC
Dalai Felinto [Tue, 26 Oct 2010 01:55:06 +0000 (01:55 +0000)]
blenderplayer building again in CMake+MSVC
(I basically commented out functions already defined in other places)

8 years agomove geometry python module into mathutils.geometry, since it provides utility functi...
Campbell Barton [Mon, 25 Oct 2010 22:44:01 +0000 (22:44 +0000)]
move geometry python module into mathutils.geometry, since it provides utility functions using mathutils types.

8 years agoAdded function RNA_property_update_check() to check if an update call is needed,
Campbell Barton [Mon, 25 Oct 2010 21:57:45 +0000 (21:57 +0000)]
Added function RNA_property_update_check() to check if an update call is needed,
Simple python benchmark shows this to be about 3x faster in the case where an update isn't needed.

This also speeds up rna function argument parsing, since each arg in a function call did 2 string lookups on the context which were never needed.

8 years agocurve widget bounds were not properly clipped causing drawing artifacts in other...
Campbell Barton [Mon, 25 Oct 2010 18:12:28 +0000 (18:12 +0000)]
curve widget bounds were not properly clipped causing drawing artifacts in other views.

8 years agoFix for [#24383] Particles using "circle" as display, are disabled on opening file
Janne Karhu [Mon, 25 Oct 2010 17:20:12 +0000 (17:20 +0000)]
Fix for [#24383] Particles using "circle" as display, are disabled on opening file

8 years agobugfix [#22277] Absolute Shapekeys crash (in BGE)
Campbell Barton [Mon, 25 Oct 2010 17:08:40 +0000 (17:08 +0000)]
bugfix [#22277] Absolute Shapekeys crash (in BGE)
running a shape actuator on a softbody would crash because it assumed the deformer was a BL_MeshDeformer.
Added TODO note, since it would be nice if softbody would work with shape keys too.

8 years agobugfix [#24377] Bad frames drawn
Campbell Barton [Mon, 25 Oct 2010 13:37:49 +0000 (13:37 +0000)]
bugfix [#24377] Bad frames drawn

8 years agoFix #24255: Multires object gets modified when joining it to another multires object.
Sergey Sharybin [Mon, 25 Oct 2010 08:03:05 +0000 (08:03 +0000)]
Fix #24255: Multires object gets modified when joining it to another multires object.
Fix #22018: joining objects with different multires levels loses levesl from the higher multires object

- Synchronyze mulires subdivision level when joining objects
- Apply scale on MDISP layer when applying scale
- Re-calculate MDISP when joining scaled objects

8 years agoCompile fix after math API change from r32694
Nathan Letwory [Mon, 25 Oct 2010 07:36:14 +0000 (07:36 +0000)]
Compile fix after math API change from r32694

8 years agoAdd missing includes to remedy implicit declaration of functions.
Nathan Letwory [Mon, 25 Oct 2010 07:28:57 +0000 (07:28 +0000)]
Add missing includes to remedy implicit declaration of functions.

8 years agoSVN maintenance.
Guillermo S. Romero [Mon, 25 Oct 2010 07:19:43 +0000 (07:19 +0000)]
SVN maintenance.

8 years agobugfix [#24376] Fly mode disturbs the rotation or scale of the camera object
Campbell Barton [Mon, 25 Oct 2010 07:12:29 +0000 (07:12 +0000)]
bugfix [#24376] Fly mode disturbs the rotation or scale of the camera object

8 years agomissed adding the file when moving fly mode.
Campbell Barton [Mon, 25 Oct 2010 07:09:38 +0000 (07:09 +0000)]
missed adding the file when moving fly mode.

8 years agofirst part of bugfix [#24376] Fly mode disturbs the rotation or scale of the camera...
Campbell Barton [Mon, 25 Oct 2010 06:59:18 +0000 (06:59 +0000)]
first part of bugfix [#24376] Fly mode disturbs the rotation or scale of the camera object
object_apply_mat4 was incorrectly negating the matrix values,

This worked in most cases but even when it worked would end up with negative scales too often.
now when no negative scale is used they will all stay positive and from my tests it works in all cases now.

8 years agoClosing #24367 (Incorrect behaviour for Optimal Display option) and reopening #22634...
Nicholas Bishop [Mon, 25 Oct 2010 02:58:32 +0000 (02:58 +0000)]
Closing #24367 (Incorrect behaviour for Optimal Display option) and reopening #22634 (sculpting/multires and wireframe display mode glitches)

* Reverting my earlier changes to subsurf edge drawing; seems to be causing more bugs than the minor bug it fixed.

8 years agomove fly mode operator into its own file.
Campbell Barton [Mon, 25 Oct 2010 02:30:16 +0000 (02:30 +0000)]
move fly mode operator into its own file.

8 years ago== addons ==
Luca Bonavita [Sun, 24 Oct 2010 16:01:21 +0000 (16:01 +0000)]
== addons ==

- new (and temporary) directory addons_extern/ to store external projects addons

8 years agoRemove the unsigned, since totbits is signed too.
Nathan Letwory [Sun, 24 Oct 2010 12:54:52 +0000 (12:54 +0000)]
Remove the unsigned, since totbits is signed too.

8 years agoMake sure separation between modifier keys is communicated from GHOST upwards too...
Nathan Letwory [Sun, 24 Oct 2010 12:45:47 +0000 (12:45 +0000)]
Make sure separation between modifier keys is communicated from GHOST upwards too (BGE at least uses this).

8 years agorna rename: use_inherit_rotate -> use_inherit_rotation, noticed _rotate is not used...
Campbell Barton [Sun, 24 Oct 2010 08:06:19 +0000 (08:06 +0000)]
rna rename: use_inherit_rotate -> use_inherit_rotation, noticed _rotate is not used like this much elsewhere in rna.

8 years agoCollada : header files order dependency was making osx compile fail
Damien Plisson [Sun, 24 Oct 2010 07:55:56 +0000 (07:55 +0000)]
Collada : header files order dependency was making osx compile fail

8 years agobugfix [#24357] Font folder can be specified but is not opened
Campbell Barton [Sun, 24 Oct 2010 07:02:19 +0000 (07:02 +0000)]
bugfix [#24357] Font folder can be specified but is not opened
- open operator was incorrectly checking if the font path was set.
- rna ID editable check was also incorrect, checking the ID name rather then the filename.
- use define FO_BUILTIN_NAME rather then "<builtin>".

8 years agobugfix [#21097] Rotating multiple bones with non-local location behaves incorrectly.
Campbell Barton [Sun, 24 Oct 2010 06:16:44 +0000 (06:16 +0000)]
bugfix [#21097] Rotating multiple bones with non-local location behaves incorrectly.
- rotation and bone scaling with Durian feature 'Local Location' would fail to correctly translate the bone
because a different matrix is needed for translation and rotation.

8 years agoAdded CMake macro REMOVE_STRICT_FLAGS(), this means developers can build with -Werror...
Campbell Barton [Sun, 24 Oct 2010 03:57:07 +0000 (03:57 +0000)]
Added CMake macro REMOVE_STRICT_FLAGS(), this means developers can build with -Werror in their CMAKE_C_FLAGS_DEBUG (so all warnings give errors).
but external libs which we don't maintain & generated code will have -Werror removed.

This is GCC only, MSVC can be added easily.

8 years agoFixed bug #24364, "subsurf modifier causes wire-only meshes to disappear in object...
Nicholas Bishop [Sun, 24 Oct 2010 02:02:37 +0000 (02:02 +0000)]
Fixed bug #24364, "subsurf modifier causes wire-only meshes to disappear in object mode."

* Re-added code to draw loose edge

8 years agoFully disable AUD's FFTW3 usage.
Guillermo S. Romero [Sun, 24 Oct 2010 00:09:23 +0000 (00:09 +0000)]
Fully disable AUD's FFTW3 usage.

8 years agowarning fixes.
Campbell Barton [Sat, 23 Oct 2010 16:03:31 +0000 (16:03 +0000)]
warning fixes.

8 years agoCMake options to disable Decimate and Boolean Modifiers: WITH_MOD_BOOLEAN, WITH_MOD_D...
Campbell Barton [Sat, 23 Oct 2010 15:40:13 +0000 (15:40 +0000)]
CMake options to disable Decimate and Boolean Modifiers: WITH_MOD_BOOLEAN, WITH_MOD_DECIMATE, renamed WITH_FLUID to WITH_MOD_FLUID

8 years agoRemove msvc build files which are not needed anymore.
Campbell Barton [Sat, 23 Oct 2010 15:14:54 +0000 (15:14 +0000)]
Remove msvc build files which are not needed anymore.

8 years agofix for implicit declaration
Campbell Barton [Sat, 23 Oct 2010 12:09:24 +0000 (12:09 +0000)]
fix for implicit declaration

8 years agoFix #24363: trying to separate mesh with shape keys didn't display warning
Brecht Van Lommel [Sat, 23 Oct 2010 10:41:28 +0000 (10:41 +0000)]
Fix #24363: trying to separate mesh with shape keys didn't display warning
when it failed due to there being shape keys.

8 years agorename rna property Bone.use_hinge to use_inherit_rotate because use_hinge was invert...
Campbell Barton [Sat, 23 Oct 2010 10:06:40 +0000 (10:06 +0000)]
rename rna property Bone.use_hinge to use_inherit_rotate because use_hinge was inverted - Enabled by default but not a hinge.
this also matches 'use_inherit_scale'

8 years ago- CMake now only uses SOURCE_GROUP with MSVC lib configuration, saves recursive heade...
Campbell Barton [Sat, 23 Oct 2010 04:18:53 +0000 (04:18 +0000)]
- CMake now only uses SOURCE_GROUP with MSVC lib configuration, saves recursive header search when not using msvc.
- uv layout export wasn't setting the default filename.

8 years agouse explicit file paths for CMake rather then globing, This is recommended by cmake...
Campbell Barton [Sat, 23 Oct 2010 04:05:55 +0000 (04:05 +0000)]
use explicit file paths for CMake rather then globing, This is recommended by cmake devs.

globbing vs explicit is discussed here.
http://www.cmake.org/pipermail/cmake/2008-December/025694.html

Practical implications are:
- developers need to keep CMakeLists.txt files up to date.
- Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.

8 years agoFix [#24337] Create vertex (and faces and edges) with "Control+LMB" doesn't works!
Nathan Letwory [Fri, 22 Oct 2010 22:58:12 +0000 (22:58 +0000)]
Fix [#24337] Create vertex (and faces and edges) with "Control+LMB" doesn't works!
Reported by Lluc Romaní Brasó

Some of my earlier changes to the modifier handling code accidently sent out new events for modifier keys when they where held down (repeat).

Also lay foundation for shift+numpad handling.

8 years agoFix for [#24361] Only first frame is working with glow in Render Animation using...
Janne Karhu [Fri, 22 Oct 2010 22:31:40 +0000 (22:31 +0000)]
Fix for [#24361] Only first frame is working with glow in Render Animation using Video Editing - Effect - Glow

8 years agoAdd release/scripts/modules/extensions_framework (formerly known as exporter_framework).
Doug Hammond [Fri, 22 Oct 2010 18:55:10 +0000 (18:55 +0000)]
Add release/scripts/modules/extensions_framework (formerly known as exporter_framework).

8 years agoInclude BLI_storage.h where zlib.h is also included. Some systems need _LARGESOURCE64...
Nathan Letwory [Fri, 22 Oct 2010 14:04:54 +0000 (14:04 +0000)]
Include BLI_storage.h where zlib.h is also included. Some systems need _LARGESOURCE64_FILE defined for zlib to not throw errors.

8 years agobpy.props: replace common error checks with macros, ugly but better then duplicates.
Campbell Barton [Fri, 22 Oct 2010 13:02:41 +0000 (13:02 +0000)]
bpy.props: replace common error checks with macros, ugly but better then duplicates.

8 years agochange to Nathan's fix which also works with empty material slots.
Campbell Barton [Fri, 22 Oct 2010 12:35:31 +0000 (12:35 +0000)]
change to Nathan's fix which also works with empty material slots.

8 years agoExport UV Layout to PNG would fail if original mesh didn't have materials assigned.
Nathan Letwory [Fri, 22 Oct 2010 11:51:10 +0000 (11:51 +0000)]
Export UV Layout to PNG would fail if original mesh didn't have materials assigned.
Reported in #blender.fi by Mats Holmberg

8 years agoBugfix #20708: segmented bones don't work well with spline IK
Joshua Leung [Fri, 22 Oct 2010 11:38:10 +0000 (11:38 +0000)]
Bugfix #20708: segmented bones don't work well with spline IK

There was a slight discreptancy between the tail values calculated on the spline before the head was displaced for the "chain offset" option and after this operation. However, only the original version got set.

This small difference resulted in B-Bones thinking that the endpoints of the bones were in places that they were not in, hence causing the curly patterns observed in the report.

8 years agoindex for openmp loop needs to be signed int.
Nathan Letwory [Fri, 22 Oct 2010 10:18:58 +0000 (10:18 +0000)]
index for openmp loop needs to be signed int.

8 years agoAdd some missing const's
Nathan Letwory [Fri, 22 Oct 2010 10:17:55 +0000 (10:17 +0000)]
Add some missing const's

8 years ago[#21331] Pose snap not working in some cases
Campbell Barton [Fri, 22 Oct 2010 06:25:14 +0000 (06:25 +0000)]
[#21331] Pose snap not working in some cases
The bone option 'Local Location' (flag BONE_NO_LOCAL_LOCATION) makes the location apply differently so snap to cursor failed for pose bones.

8 years agofix for BGE define in recent math changes.
Campbell Barton [Fri, 22 Oct 2010 06:00:12 +0000 (06:00 +0000)]
fix for BGE define in recent math changes.

8 years agoFix for snapping pose bones with axis-angle rotation.
Campbell Barton [Fri, 22 Oct 2010 03:56:50 +0000 (03:56 +0000)]
Fix for snapping pose bones with axis-angle rotation.
- armature_mat_pose_to_bone() was missing axis-angle check.
- added loc_axisangle_size_to_mat4() for completeness.
- use 'const' prefix where possible in math rotation functions.

8 years agoeulO_to_quat wasn't functional for XZY, YXZ, ZYX rotation orders.
Campbell Barton [Fri, 22 Oct 2010 03:27:01 +0000 (03:27 +0000)]
eulO_to_quat wasn't functional for XZY, YXZ, ZYX rotation orders.
it also modified the input rotation value which isn't expected for these functions.

8 years agofix for warnings & detecting opensource nouveau drivers.
Campbell Barton [Fri, 22 Oct 2010 01:06:21 +0000 (01:06 +0000)]
fix for warnings & detecting opensource nouveau drivers.

8 years agobugfix/workaround for ../../radeon/radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion...
Campbell Barton [Fri, 22 Oct 2010 00:29:56 +0000 (00:29 +0000)]
bugfix/workaround for ../../radeon/radeon_cs_gem.c:181: cs_gem_write_reloc: Assertion `boi->space_accounted' failed. [#656100]
reported on launchpad.

calling glClear(GL_COLOR_BUFFER_BIT); was crashing blender,
since this is only used to blank the window before its drawn, disable for opensource ATI drivers.

8 years agofix warnings
Campbell Barton [Thu, 21 Oct 2010 22:45:54 +0000 (22:45 +0000)]
fix warnings

8 years agolimit adjustment from AlexKu, subdiv smooth soft limit of 1.
Campbell Barton [Thu, 21 Oct 2010 22:30:34 +0000 (22:30 +0000)]
limit adjustment from AlexKu, subdiv smooth soft limit of 1.

8 years agoWrong check for platform accidently put /WX to non-msvc toolchains too.
Nathan Letwory [Thu, 21 Oct 2010 18:13:43 +0000 (18:13 +0000)]
Wrong check for platform accidently put /WX to non-msvc toolchains too.

8 years agoTemporary fix for sequencer bugs #22925, #21429, #21783, #24165
Janne Karhu [Thu, 21 Oct 2010 17:00:38 +0000 (17:00 +0000)]
Temporary fix for sequencer bugs #22925, #21429, #21783, #24165
* This fix is really only a bandage, as the underlying issue is that sequencer preview render doesn't yet use the job system.
* The sequencer preview can start a full render of the scene, and this can collide with other preview/actual renders in many cases.
* Drawing the sequencer preview is now disabled when an other render is in progress, but the sequence preview rendering could have already been started before the other render, so this doesn't really fix anything.
* For now only OpenGL rendering can be used for the sequencer preview reliably until it's reimplemented using the job system.
* Using the job system in the future can handle the clashes between different renders properly and will give users a nice progress bar to indicate something is happening while the preview is recalculated.

8 years agobugfix [#24331] EdgeSlide not as flawless as 2.49's
Campbell Barton [Thu, 21 Oct 2010 13:33:51 +0000 (13:33 +0000)]
bugfix [#24331] EdgeSlide not as flawless as 2.49's
ensure minimum mouse distance for sliding edge verts else it becomes unusable.

8 years agobugfix [#24342] Wrong Bubble description when creation add-on without python comment...
Campbell Barton [Thu, 21 Oct 2010 11:20:44 +0000 (11:20 +0000)]
bugfix [#24342] Wrong Bubble description when creation add-on without python comment on class

8 years agoFix [#24348] Release confirm confusing
Nathan Letwory [Thu, 21 Oct 2010 11:19:15 +0000 (11:19 +0000)]
Fix [#24348] Release confirm confusing
Reported by Dennis Dillert

A bit clearer wording.