11 years agoAdd PREFIX support to makefiles.
Guillermo S. Romero [Mon, 1 Nov 2010 23:17:58 +0000 (23:17 +0000)]
Add PREFIX support to makefiles.

11 years agoFix #24464: missing icons. It looks like there were some icons still named
Brecht Van Lommel [Mon, 1 Nov 2010 22:28:58 +0000 (22:28 +0000)]
Fix #24464: missing icons. It looks like there were some icons still named
from the 2.4 them but they were never in the 2.5 theme, so marked as BLANK

11 years agothrow an error is PREFIX isnt defined on X11 systems. defaults to /usr/local
Campbell Barton [Mon, 1 Nov 2010 22:26:56 +0000 (22:26 +0000)]
throw an error is PREFIX isnt defined on X11 systems. defaults to /usr/local

11 years agoFix #24489: decimate modifier: undecimated is "ratio 1.00%".
Brecht Van Lommel [Mon, 1 Nov 2010 21:53:35 +0000 (21:53 +0000)]
Fix #24489: decimate modifier: undecimated is "ratio 1.00%".
Patch by Emil Brink, thanks!

11 years agoFix for some enum property identifiers, that were not using upper case
Brecht Van Lommel [Mon, 1 Nov 2010 21:45:38 +0000 (21:45 +0000)]
Fix for some enum property identifiers, that were not using upper case
with underscore, or were simply not set correctly after code copy/paste.

11 years ago[#24491] not possible to create a new Rendering preset than "add render"
Campbell Barton [Mon, 1 Nov 2010 21:07:25 +0000 (21:07 +0000)]
[#24491] not possible to create a new Rendering preset than "add render"
- Setting operator properties was broken because of meta-classing (surprising this wasn't noticed before!)
- Presets now use a dialog with an OK button.
- Presets use a check function on the filename so invalid chars are replaced editing.
- Submit docs operator was broken.

11 years agoSequencer: fix for the fix of: #23318
Peter Schlaile [Mon, 1 Nov 2010 18:55:12 +0000 (18:55 +0000)]
Sequencer: fix for the fix of: #23318
also known as: broken multicam strip caused by other fix.

Calculated render_size where it belongs (within the glow effect) and
restored old functionality.

also: renamed render_size to preview_render_size at all relevant places,
where the naming wasn't used correctly.

Hopefully it's now a little bit more clear.

render_size := render size from scene (just rescales width/height)
preview_render_size := preview render size from sequencer preview,
  controls the resolution and the use of sequencer proxy sources

11 years ago== FFMPEG ==
Peter Schlaile [Mon, 1 Nov 2010 18:13:10 +0000 (18:13 +0000)]
== FFMPEG ==

This fixes a rather subtle seeking issue with ffmpeg and Sony

Problem is: MPEG2 streams within an MP4 container can contain a start
time - at several places. There is a starttime within the video
and audio streams and one within the container.

FFMpeg commandline tool only uses the container starttime and we used
the stream starttime.

The world would be a better place, if those two timestamps always match
up, since in XDCAM-footage those two starttimes differ in 4
frames - and the container has the right one.

We now always use the container start time as ffmpeg commandline tool
does (in the hope, that there is a good explaination for this and this
is the right thing(tm) to do).

I tested this also with HDV footage, which seems to work with the new
code, too.

Additional fix: disabled seek_by_bytes again, since it will only work
correctly, if ffmpeg guessed the HDV bitrate right (which it doesn't).
If you have seeking issues with HDV and have an older version of ffmpeg
installed, please upgrade, newer versions have some fixes in them.

11 years ago"Fix" for [#22537] motion blur render result incorrect when full sample anti-aliasing...
Janne Karhu [Mon, 1 Nov 2010 13:51:11 +0000 (13:51 +0000)]
"Fix" for [#22537] motion blur render result incorrect when full sample anti-aliasing is selected
* FSA and motion blur can't work nicely together the way they're currently implemented, so I disabled this in the ui and code.
* FSA is used if both are selected.
* Also changed the name "Full Sample Motion Blur" to "Sampled Motion Blur" to avoid confusion with full sample anti-aliasing.

11 years ago== blender file format ==
Luca Bonavita [Mon, 1 Nov 2010 13:27:33 +0000 (13:27 +0000)]
== blender file format ==

- added a readme so that it's easy to understand how to use the py files.
- fixed typos in the usage message.

11 years agoimprovement to axis/angle gimble conversion added last commit. fixed flipping problem...
Campbell Barton [Mon, 1 Nov 2010 11:50:15 +0000 (11:50 +0000)]
improvement to axis/angle gimble conversion added last commit. fixed flipping problems and enabled for pose bones.

11 years agoTemporary revert recent changes in blf_glyph.c until its fixed.
Thomas Dinges [Mon, 1 Nov 2010 10:48:48 +0000 (10:48 +0000)]
Temporary revert recent changes in blf_glyph.c until its fixed.

>> Compile failure on windows platform (see ML for Errors).

SVN Revert of Revisions: 32805, 32804 and 32802

11 years agobugfix [#24480] Axis Angle + manipulators: bad behaviour
Campbell Barton [Mon, 1 Nov 2010 10:29:05 +0000 (10:29 +0000)]
bugfix [#24480] Axis Angle + manipulators: bad behaviour

11 years agoPatch: [#24479] fix for bug 24474, by Anthony Edlin. Thanks!
Thomas Dinges [Mon, 1 Nov 2010 10:22:46 +0000 (10:22 +0000)]
Patch: [#24479] fix for bug 24474, by Anthony Edlin. Thanks!

This fixes [#24474] Pressing <Shift Alt A> or clicking "Play Animation ... reverse = True" does not play animation backwards

11 years agobugfix [#24477] Can easily create bones with duplicate names
Campbell Barton [Mon, 1 Nov 2010 07:19:41 +0000 (07:19 +0000)]
bugfix [#24477] Can easily create bones with duplicate names
- fixed this error 7 different functions (deform groups, uv layers & similar).
- support for numbers over 999.
- renamed splitIDname() to BLI_split_name_num(), moved to BLI_path_utils

11 years agobugfix [#24449] User Preferences - Interface - Manipulator
Campbell Barton [Mon, 1 Nov 2010 02:22:20 +0000 (02:22 +0000)]
bugfix [#24449] User Preferences - Interface - Manipulator

11 years agoFix silly column paste.
Guillermo S. Romero [Mon, 1 Nov 2010 01:48:43 +0000 (01:48 +0000)]
Fix silly column paste.

11 years agobugfix [#24462] UV Layouts saved as PNG results in two files (one is 0 KB, other...
Campbell Barton [Mon, 1 Nov 2010 01:46:26 +0000 (01:46 +0000)]
bugfix [#24462] UV Layouts saved as PNG results in two files (one is 0 KB, other has corrupted filename)

11 years agoProvide a way to get non-AA font rendering, which some see as "sharper".
Guillermo S. Romero [Mon, 1 Nov 2010 01:45:40 +0000 (01:45 +0000)]
Provide a way to get non-AA font rendering, which some see as "sharper".
"Configuration" by recompilation for now (feel free to code that).

11 years agoA couple of changes to 2D filters to make adding new built-in ones nicer:
Mitchell Stokes [Mon, 1 Nov 2010 00:15:12 +0000 (00:15 +0000)]
A couple of changes to 2D filters to make adding new built-in ones nicer:
  * Built-in filters were not being analyzed, which means no depth or luminance textures for them
  * Removed an unnecessary if that becomes really hairy when new built-in filters are added (ie, when filters are defined beyond the value used for custom filters)

11 years agoFix name, update others to match style.
Guillermo S. Romero [Mon, 1 Nov 2010 00:09:33 +0000 (00:09 +0000)]
Fix name, update others to match style.

11 years agobugfix [#24470] Ctrl+Tweak cutting connections fail
Campbell Barton [Sun, 31 Oct 2010 22:19:52 +0000 (22:19 +0000)]
bugfix [#24470] Ctrl+Tweak cutting connections fail

11 years agoinitialize structs to zero rather then using memset().
Campbell Barton [Sun, 31 Oct 2010 15:39:37 +0000 (15:39 +0000)]
initialize structs to zero rather then using memset().

11 years agoAudaspace: Disabling High- and Lowpass for Bake Sound to F-Curve Operator in case...
Joerg Mueller [Sun, 31 Oct 2010 14:44:45 +0000 (14:44 +0000)]
Audaspace: Disabling High- and Lowpass for Bake Sound to F-Curve Operator in case they're unused.

11 years agobugfix [#24466] Selecting of object with pattern leads to strange behavior
Campbell Barton [Sun, 31 Oct 2010 14:43:30 +0000 (14:43 +0000)]
bugfix [#24466] Selecting of object with pattern leads to strange behavior
The undo problem was caused by python operators returning 'RUNNING_MODAL' rather then the return value from wm.invoke_props_popup(self, event) - 'FINISHED'.

This was done because returning FINISHED would free the operator causing the buttons redo handler to try and run a freed operator and crash.

So the real fix is to disallow any operators to use wm.invoke_props_popup(self, event) if they dont have the REGISTER option enabled, fixing the crash and redo problem.

11 years agoFix for #24453: Missing delete statement.
Joerg Mueller [Sun, 31 Oct 2010 14:21:06 +0000 (14:21 +0000)]
Fix for #24453: Missing delete statement.

11 years agoown recent commit broke this python import:
Campbell Barton [Sun, 31 Oct 2010 13:17:39 +0000 (13:17 +0000)]
own recent commit broke this python import:
 from mathutils.geometry import PolyFill

I couldn't find a way for python's inittab to do this so just inserting mathutils.geometry into sys.modules manually.

11 years agoFix #23283: crash exiting blender player, IMB_exit got called twice.
Brecht Van Lommel [Sun, 31 Oct 2010 12:43:42 +0000 (12:43 +0000)]
Fix #23283: crash exiting blender player, IMB_exit got called twice.

11 years agoFix cmake building of blender player.
Brecht Van Lommel [Sun, 31 Oct 2010 12:31:15 +0000 (12:31 +0000)]
Fix cmake building of blender player.

11 years agobugfix: "glsl lamp not (directly) updated when there is no material in the object...
Dalai Felinto [Sun, 31 Oct 2010 12:12:57 +0000 (12:12 +0000)]
bugfix: "glsl lamp not (directly) updated when there is no material in the object" reported by Olivier Amrein
lamps require a depsgraph update.
There is no more need to ED_render_id_flush_update because this is called by the DAG_id_flush_update.
help (and the right fix) from Brecht.

11 years agoFix crashing running read full sample layers operator.
Brecht Van Lommel [Sun, 31 Oct 2010 11:51:10 +0000 (11:51 +0000)]
Fix crashing running read full sample layers operator.

11 years agostdint include needed on non-msvc platforms
Nathan Letwory [Sun, 31 Oct 2010 08:42:42 +0000 (08:42 +0000)]
stdint include needed on non-msvc platforms

11 years agorename and negate DISABLE_PYTHON --> WITH_PYTHON
Campbell Barton [Sun, 31 Oct 2010 04:11:39 +0000 (04:11 +0000)]
rename and negate DISABLE_PYTHON --> WITH_PYTHON

11 years agorename definition for enabling the game engine GAMEBLENDER==1 --> WITH_GAMEENGINE
Campbell Barton [Sun, 31 Oct 2010 03:20:33 +0000 (03:20 +0000)]
rename definition for enabling the game engine GAMEBLENDER==1 --> WITH_GAMEENGINE

11 years agoLock to Cursor
Nathan Letwory [Sun, 31 Oct 2010 01:18:26 +0000 (01:18 +0000)]
Lock to Cursor
Patch by Dan Eicher. In 3dview properties you can enable this. Rotating view then uses cursor as pivot point. Note that with this option enabled just relocating the 3d cursor also changes the 3dview.

Sebastian K├Ânig: "Now the 3d cursor is actually useful" (sitting next to me while applying patch at bconf hostel)

11 years agobuilding the BGE without bullet works again.
Campbell Barton [Sun, 31 Oct 2010 01:04:31 +0000 (01:04 +0000)]
building the BGE without bullet works again.

11 years agodont build blender/kernel if the game engines disabled.
Campbell Barton [Sun, 31 Oct 2010 00:56:46 +0000 (00:56 +0000)]
dont build blender/kernel if the game engines disabled.

11 years agoMinor speedups for 3D view text drawing ~10-15% improved frame-rate with particle...
Campbell Barton [Sat, 30 Oct 2010 23:02:38 +0000 (23:02 +0000)]
Minor speedups for 3D view text drawing ~10-15% improved frame-rate with particle display.
- ascii text drawing functions, slightly faster since they dont have to do hash lookups & utf8 conversions for each char.
- used ascii drawing functions for the view3d's number display.
- each text item was using fixed 128 chars, now only allocate the string length needed.

11 years agoSequence editor code cleanup
Janne Karhu [Sat, 30 Oct 2010 21:55:17 +0000 (21:55 +0000)]
Sequence editor code cleanup
* The logic in some parts of the sequencer code was rather cryptic, so I cleaned it up a bit.
* There should be no functional changes what so ever from these changes.

11 years agofix for own mistake with mat4_to_loc_rot_size(), flipping the scale on negative matri...
Campbell Barton [Sat, 30 Oct 2010 19:52:40 +0000 (19:52 +0000)]
fix for own mistake with mat4_to_loc_rot_size(), flipping the scale on negative matrix isn't correct.

11 years agochange mat4_to_eulO, mat3_to_eulO to calculate 2 rotations and return the smallest...
Campbell Barton [Sat, 30 Oct 2010 19:29:11 +0000 (19:29 +0000)]
change mat4_to_eulO, mat3_to_eulO to calculate 2 rotations and return the smallest one.
mat4_to_eul & mat3_to_eul are already working this way.

Without this we get problems with constraints, eg:
 rotation on the Y axis over 90d can be represented by setting the X and Z to -PI, Y would decrease to 0 (infact 180d).

11 years agothe pivot constraint was translating when the pivot was offset along the rotation...
Campbell Barton [Sat, 30 Oct 2010 18:42:11 +0000 (18:42 +0000)]
the pivot constraint was translating when the pivot was offset along the rotation axis.
fixed by projecting the pivot along the axis of rotation and subtracting this from the pivot.

11 years agoFix for [#24458] Problem with Axis Angle rotation
Janne Karhu [Sat, 30 Oct 2010 17:42:08 +0000 (17:42 +0000)]
Fix for [#24458] Problem with Axis Angle rotation
* Added checks to handle zero axis vector.

11 years agowarning/portability fixes.
Campbell Barton [Sat, 30 Oct 2010 17:16:37 +0000 (17:16 +0000)]
warning/portability fixes.

11 years agoFix for [#24448] User Preferences - Interface - Mini Axis - Brightness, none working?
Janne Karhu [Sat, 30 Oct 2010 17:13:03 +0000 (17:13 +0000)]
Fix for [#24448] User Preferences - Interface - Mini Axis - Brightness, none working?
* The axis draw function was changed by Campbell recently, but the brightness value was forgotten?
* Solved currently by mapping the brightness value to axis alpha.

11 years agoFix for [#23318] SEQUENCER EFFECT: Glow blur amount should be relative
Janne Karhu [Sat, 30 Oct 2010 15:20:48 +0000 (15:20 +0000)]
Fix for [#23318] SEQUENCER EFFECT: Glow blur amount should be relative

11 years ago== blender file format ==
Luca Bonavita [Sat, 30 Oct 2010 13:25:24 +0000 (13:25 +0000)]
== blender file format ==

Hello, from the bconf 2010 from Jeroen and Luca. Our first combined commit :)

Automatically create sdna documentations from Trunk.

        blender2.5 -b -P [-- [options]]
        --dna-keep-blend:      doesn't delete the produced blend file DNA export to html
        --dna-debug:           sets the logging level to DEBUG (lots of additional info)
        --dna-versioned'       saves version informations in the html and blend filenames
        --dna-overwrite-css'   overwrite dna.css, useful when modifying css in the script
        default:       % blender2.5 -b -P
        with options:  % blender2.5 -b -P -- --dna-keep-blend --dna-debug

11 years agoInfo text for scene strips showing the frame range that's set in the scene
Janne Karhu [Sat, 30 Oct 2010 13:09:31 +0000 (13:09 +0000)]
Info text for scene strips showing the frame range that's set in the scene
* Related to bug report [#24329] scene length not updated in VSE
* This data is nice to have in the sequencer without having to go the actual scene that's added as a strip.

11 years agoFix for [#24374] VSE: Reassign Inputs ignores selection order.
Janne Karhu [Sat, 30 Oct 2010 12:04:00 +0000 (12:04 +0000)]
Fix for [#24374] VSE: Reassign Inputs ignores selection order.
* No way currently to know the order of effect inputs, so I added a swap operator for the inputs.
* Also added the effect inputs to the strip property panel (weren't even in rna before). These are not yet editable, but can be very helpful in determining what the inputs are if the strip is too short to see the name in the timeline.

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

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

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

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

11 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

11 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

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

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

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

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

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

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

11 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

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

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

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

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

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

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"

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)

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

11 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

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

11 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

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

11 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!

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

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

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

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

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

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

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

11 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

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

11 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

11 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

11 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:
* Have clear warnings about files going to be deleted

11 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

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

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

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

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

11 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()

11 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://
But will eventually be included in svn.

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

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

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

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

11 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

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

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

11 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