blender.git
7 years agodebug build option WITH_PYTHON_UI_INFO, so you can right click and edit the python...
Campbell Barton [Thu, 20 Oct 2011 00:48:00 +0000 (00:48 +0000)]
debug build option WITH_PYTHON_UI_INFO, so you can right click and edit the python source for UI layout directly.

7 years agomisc edits
Campbell Barton [Thu, 20 Oct 2011 00:19:21 +0000 (00:19 +0000)]
misc edits
- rename define DISABLE_SDL --> WITH_SDL (which was already used in some places)
- blenders interation preset was using orbit rather then turntable 3d view preference (different from factory defaults).
- tagged some unused rna args.

7 years agostrcpy() --> BLI_strncpy(), where source strings are not fixed and target size is...
Campbell Barton [Wed, 19 Oct 2011 23:10:54 +0000 (23:10 +0000)]
strcpy() --> BLI_strncpy(), where source strings are not fixed and target size is known.

7 years ago#fix: Saving OpenEXR images as floats ignores color profile. This was not noticable...
Antony Riakiotakis [Wed, 19 Oct 2011 23:04:48 +0000 (23:04 +0000)]
#fix: Saving OpenEXR images as floats ignores color profile. This was not noticable in renderer because it works in linear color space. Painting on the image editor, saving and reloading was problematic though.

7 years agoreplace RNA function string lookups with direct assignments, currently the lookup...
Campbell Barton [Wed, 19 Oct 2011 22:40:03 +0000 (22:40 +0000)]
replace RNA function string lookups with direct assignments, currently the lookup returns the same pointer every time. some of these functions - panel/operator poll for eg, are called many times per redraw so while not a bottleneck its unnecessary.

7 years agopass -noaudio when running blender for various utilities - doc-gen and tests.
Campbell Barton [Wed, 19 Oct 2011 21:55:27 +0000 (21:55 +0000)]
pass -noaudio when running blender for various utilities - doc-gen and tests.

7 years agoreplace former applescript with an editable one
Jens Verwiebe [Wed, 19 Oct 2011 19:15:35 +0000 (19:15 +0000)]
replace former applescript with an editable one

7 years agoOSX: set at least initial OMP_NUM_THREADS value to avoid warnings in log, remove...
Jens Verwiebe [Wed, 19 Oct 2011 19:12:41 +0000 (19:12 +0000)]
OSX: set at least initial OMP_NUM_THREADS value to avoid warnings in log, remove applescript for now

7 years agoRevert own commit 41026.
Thomas Dinges [Wed, 19 Oct 2011 18:46:16 +0000 (18:46 +0000)]
Revert own commit 41026.
It now had issues when hiding menus with the - icon, space selector disappeared.

I am sorry for that, but I consider this a show stopper eventually. :(

This commit introduces the issue with narrowed verts/edge/face select in solid/edit mode again.

7 years ago== Sequencer ==
Peter Schlaile [Wed, 19 Oct 2011 18:21:08 +0000 (18:21 +0000)]
== Sequencer ==

do_versions fix: hd audio tracks within metastrips were not properly
upgraded from 2.49 files, resulting in broken unusable tracks, which were
rendered as black strips as a bonus.

7 years agoAdds an update flag to the bNode struct (similar to bNodeTree->update).
Lukas Toenne [Wed, 19 Oct 2011 17:08:35 +0000 (17:08 +0000)]
Adds an update flag to the bNode struct (similar to bNodeTree->update).

This prevents access to non-existent typeinfo during type initialization,
when node types have been removed and such nodes are deleted from older files.
All blenkernel functions now only set the node->update flag instead of directly
calling the update function.  All operators, etc. calling blenkernel functions
to modify nodes should make a ntreeUpdate call afterward (they already did that
anyway).

Editor/RNA/renderer/etc. high-level functions still can do immediate updates by
using nodeUpdate and nodeUpdateID (replacing NodeTagChanged/NodeTagIDChanged
respectively). These old functions were previously used only for setting
compositor node needexec flags and clearing cached data, but have become generic
update functions that require type-specific functionality (i.e. a valid typeinfo
struct).

7 years agofix for armatures in wire draw mode not displaying in solid mode.
Campbell Barton [Wed, 19 Oct 2011 00:41:48 +0000 (00:41 +0000)]
fix for armatures in wire draw mode not displaying in solid mode.

note, this isn't a showstopper bugfix.

7 years agoAllow symlinks in user_scripts, this fixes raised exeption in copy_prefs for version_... v2.60
Jens Verwiebe [Mon, 17 Oct 2011 16:36:03 +0000 (16:36 +0000)]
Allow symlinks in user_scripts, this fixes raised exeption in copy_prefs for version_updates

7 years agoBLENDER_VERSION_CYCLE:
Thomas Dinges [Mon, 17 Oct 2011 15:09:23 +0000 (15:09 +0000)]
BLENDER_VERSION_CYCLE:
rc > release

7 years agoBlender 2.60 release commit!
Ton Roosendaal [Mon, 17 Oct 2011 15:07:08 +0000 (15:07 +0000)]
Blender 2.60 release commit!

New splash: thanks to Kent Trammell!
And thanks to judges committee: Beorn Leonard, Pratik Solanki
and Brandon Phoenix.

Next: tag & build!

7 years agoupdate man before ahoy
Campbell Barton [Mon, 17 Oct 2011 14:44:21 +0000 (14:44 +0000)]
update man before ahoy

7 years agofix/update for credits script and bad formatting in sphinx docs.
Campbell Barton [Mon, 17 Oct 2011 13:54:47 +0000 (13:54 +0000)]
fix/update for credits script and bad formatting in sphinx docs.

7 years agopy docs:
Campbell Barton [Mon, 17 Oct 2011 10:43:55 +0000 (10:43 +0000)]
py docs:
added python doc section on script performance and a note on relative file paths in the gotcha's page.
also added script for spell checking py comments.

7 years agoOSX: omp script rework part2
Jens Verwiebe [Mon, 17 Oct 2011 10:43:32 +0000 (10:43 +0000)]
OSX: omp script rework part2

7 years agoOSX: omp script rework part1
Jens Verwiebe [Mon, 17 Oct 2011 10:41:47 +0000 (10:41 +0000)]
OSX: omp script rework part1

7 years agoOSX: Start with OMP_NUM_THREADS default unchanged, to let the user decide about optim...
Jens Verwiebe [Mon, 17 Oct 2011 10:30:08 +0000 (10:30 +0000)]
OSX: Start with OMP_NUM_THREADS default unchanged, to let the user decide about optimized value, default == all cores used

7 years agocorrect spelling errors in comments
Campbell Barton [Mon, 17 Oct 2011 06:58:07 +0000 (06:58 +0000)]
correct spelling errors in comments

7 years agofix spelling mistakes in comments (and in some python error messages), nothing to...
Campbell Barton [Mon, 17 Oct 2011 06:39:13 +0000 (06:39 +0000)]
fix spelling mistakes in comments (and in some python error messages), nothing to effect translations.

7 years agodocs / clenup (no functional code changes)
Campbell Barton [Mon, 17 Oct 2011 02:20:53 +0000 (02:20 +0000)]
docs / clenup (no functional code changes)
- added API examples for mathutils.Color/Euler/Quaternion/Matrix.
- corrected own bad spelling matricies --> matrices.
- minor pep8 edits.
- update CMake ignore file list.

7 years agoParticle dupliobject rotation changes:
Janne Karhu [Sun, 16 Oct 2011 16:14:36 +0000 (16:14 +0000)]
Particle dupliobject rotation changes:
There has been quite a bit of fuss about particle dupliobject rotation in 2.59, so here are some changes to make things work a bit more consistently and predictably in 2.60.

Much of the confusion has been about what the "Initial rotation" for particles actually means. Simply put it's just a vector that that the particles (and the dupliobjects) are aligned to and around which they can be rotated with the phase controls. I've now renamed these controls under a label "Rotation axis".

In 2.59 and previous versions the dupliobject's global x-axis was aligned to the particle rotation axis for non-hair particles. This meant that the object's own rotation (in addition to the particle rotation) could effect the dupliobjects' rotations. This old behavior can still be used with the "Rotation" option in the particle render panel when object/group is set as the visualization. This option is also activated automatically for old files to maintain backwards compatibility.

Now the default dupliobject rotations ignore the object's own rotation completely and align the object's tracking axis to the particle rotation axis. The tracking axis can be found under the Object tab -> Animation Hacks panel.

In 2.58 the way of calculating the rotation for hair didn't work as intended and enabled many non-functional combinations of options. For this reason I removed most of the rotation options for hair in 2.59. Now the options have been reimplemented better and the dupliobject's tracking axis is aligned to the hair direction by default (Rotation axis = Velocity / Hair). All the other axis options work too along with the phase controls.

7 years agofix bad URL in bgl doc
Campbell Barton [Sun, 16 Oct 2011 15:01:13 +0000 (15:01 +0000)]
fix bad URL in bgl doc

7 years agoallow passing BUILD_DIR to convenience makefile as an argument incase you dont want...
Campbell Barton [Sun, 16 Oct 2011 13:10:14 +0000 (13:10 +0000)]
allow passing BUILD_DIR to convenience makefile as an argument incase you dont want to build in the default path.

7 years agoutf8 editing for UI text input, this means backspace, delete, arrow keys properly...
Campbell Barton [Sun, 16 Oct 2011 12:25:42 +0000 (12:25 +0000)]
utf8 editing for UI text input, this means backspace, delete, arrow keys properly move the cursor with multi-byte chars.

Note that this is only for the interface, text editor and python console still miss this feature.

7 years agoconvenience targets for make doc_py, doc_dna, doc_man
Campbell Barton [Sun, 16 Oct 2011 11:09:15 +0000 (11:09 +0000)]
convenience targets for make doc_py, doc_dna, doc_man

7 years agoID Mask node was limmited at 10000 while OB and Mat IDs reach 32767. Set this limit...
Daniel Salazar [Sun, 16 Oct 2011 09:51:23 +0000 (09:51 +0000)]
ID Mask node was limmited at 10000 while OB and Mat IDs reach 32767. Set this limit and it's working fine here in my comps

7 years agoSet the correct char for Persian name (using \ufbfd instead of the arabic yeh one)
Dalai Felinto [Sat, 15 Oct 2011 23:50:05 +0000 (23:50 +0000)]
Set the correct char for Persian name (using \ufbfd instead of the arabic yeh one)

7 years agoOSX: add editable applescript to not have the script a blackbox
Jens Verwiebe [Sat, 15 Oct 2011 14:21:03 +0000 (14:21 +0000)]
OSX: add editable applescript to not have the script a blackbox

7 years agospelling corrections in comments and quiet warning
Campbell Barton [Sat, 15 Oct 2011 14:14:22 +0000 (14:14 +0000)]
spelling corrections in comments and quiet warning

7 years agoOSX: make sure the set_simulation_threads script is always renewed
Jens Verwiebe [Sat, 15 Oct 2011 14:13:49 +0000 (14:13 +0000)]
OSX: make sure the set_simulation_threads script is always renewed

7 years agoOSX:recommit applescript, added errorhandling
Jens Verwiebe [Sat, 15 Oct 2011 14:04:33 +0000 (14:04 +0000)]
OSX:recommit applescript, added errorhandling

7 years agoDelete applescript for recommit
Jens Verwiebe [Sat, 15 Oct 2011 14:03:23 +0000 (14:03 +0000)]
Delete applescript for recommit

7 years agokeep particle system names unique
Campbell Barton [Sat, 15 Oct 2011 11:55:09 +0000 (11:55 +0000)]
keep particle system names unique

7 years agoensure BoneGroup names are kept unique.
Campbell Barton [Sat, 15 Oct 2011 11:07:18 +0000 (11:07 +0000)]
ensure BoneGroup names are kept unique.

7 years agoLast minute UI fix:
Thomas Dinges [Sat, 15 Oct 2011 10:03:21 +0000 (10:03 +0000)]
Last minute UI fix:
* Vert/Edge/Face select buttons looked crappy when in EditMode and Wireframe shading. Fixed it.
This commit makes the View3D Template a bit narrower in general, but it's very minor, should be no problem.
This also fixes some weird increase/decrease of the 3D Mode selector menu when toggling between Textured/Solid and Wireframe/Boundbox shading.

7 years agomake sure render layer names are unique when setting through rna.
Campbell Barton [Sat, 15 Oct 2011 09:59:31 +0000 (09:59 +0000)]
make sure render layer names are unique when setting through rna.

7 years agofix UI jump in normal buttons for buttons which didnt start out normalized.
Campbell Barton [Sat, 15 Oct 2011 09:43:42 +0000 (09:43 +0000)]
fix UI jump in normal buttons for buttons which didnt start out normalized.

7 years ago- add template for defining custom driver functions.
Campbell Barton [Sat, 15 Oct 2011 07:19:34 +0000 (07:19 +0000)]
- add template for defining custom driver functions.
- comment unused assignments.

7 years agomisc edits
Campbell Barton [Sat, 15 Oct 2011 05:01:47 +0000 (05:01 +0000)]
misc edits
- cmake/windows was installing locale & font when internationalization was disabled, twice when enabled.
- file selector was using the string size-1, where this isn't needed since string buttons expected this value to be the sizeof(), accounting for '\0'.
- use const char for extension checking funcs.
- minor pep8 edits

7 years agofix for buffer overrun with BLI_split_dirfile(...), was simple to do since many place...
Campbell Barton [Sat, 15 Oct 2011 03:56:05 +0000 (03:56 +0000)]
fix for buffer overrun with BLI_split_dirfile(...), was simple to do since many places don't check for filename lengyj of 79 chars which is the limit for the file selector.
Add max dir and file length args.

7 years agoFix for [#28823] Boids use uninitialized memory.
Janne Karhu [Sat, 15 Oct 2011 01:42:26 +0000 (01:42 +0000)]
Fix for [#28823] Boids use uninitialized memory.
* Boids need the random velocity vector always.

7 years agofix for weight paint vertex select, it broke vertex paint when left on.
Campbell Barton [Sat, 15 Oct 2011 01:32:49 +0000 (01:32 +0000)]
fix for weight paint vertex select, it broke vertex paint when left on.

7 years agoOSX:recommit applescript, fixed an issue
Jens Verwiebe [Fri, 14 Oct 2011 20:12:34 +0000 (20:12 +0000)]
OSX:recommit applescript, fixed an issue

7 years agoDelete applescript for recommit
Jens Verwiebe [Fri, 14 Oct 2011 20:11:19 +0000 (20:11 +0000)]
Delete applescript for recommit

7 years agoOSX: commit the omp_set_simulation_threads applescript and copy-routines
Jens Verwiebe [Fri, 14 Oct 2011 17:54:37 +0000 (17:54 +0000)]
OSX: commit the omp_set_simulation_threads applescript and copy-routines

7 years agoOSX: commit the needed steps for compiling with gcc 4.6.1 and OMP_NUM_THREADS env...
Jens Verwiebe [Fri, 14 Oct 2011 17:27:55 +0000 (17:27 +0000)]
OSX: commit the needed steps for compiling with gcc 4.6.1 and OMP_NUM_THREADS env variable setting

7 years agoFix for [#28916] 2.6 RC2 - Bake Sound to FCurve Crash
Joerg Mueller [Fri, 14 Oct 2011 16:58:21 +0000 (16:58 +0000)]
Fix for [#28916] 2.6 RC2 - Bake Sound to FCurve Crash

7 years agocmake: use cached results for RPM build & dont print annoying rpmbuild missing on...
Campbell Barton [Fri, 14 Oct 2011 14:01:39 +0000 (14:01 +0000)]
cmake: use cached results for RPM build & dont print annoying rpmbuild missing on every re-run of cmake.

7 years agoRemove final e from Francaise
Sergey Sharybin [Fri, 14 Oct 2011 13:13:13 +0000 (13:13 +0000)]
Remove final e from Francaise

7 years agoSplit language menu into two columns:
Sergey Sharybin [Fri, 14 Oct 2011 13:10:11 +0000 (13:10 +0000)]
Split language menu into two columns:
- Nearly done for languages with >80% strings translated
- In progress for languages which aren't translated enough still.

7 years agoFix #28914: crash loading file saved with cycles builds in trunk.
Brecht Van Lommel [Fri, 14 Oct 2011 12:20:58 +0000 (12:20 +0000)]
Fix #28914: crash loading file saved with cycles builds in trunk.

The cause is an unknown node socket type in node groups. Ideally the node system
should handle this better and remove the unknown sockets from groups, but this
is a bit of a risky fix to do now, so instead the shader socket type has been
added, since this is a simple change and the code has been tested well.

7 years agocmake's find glew wasnt working right - if glew wasnt found installing the package...
Campbell Barton [Fri, 14 Oct 2011 12:17:35 +0000 (12:17 +0000)]
cmake's find glew wasnt working right - if glew wasnt found installing the package would not help since the not-found result was cached.

7 years agoFix for first part of #28911: driver not working properly since 2.594
Sergey Sharybin [Fri, 14 Oct 2011 11:24:20 +0000 (11:24 +0000)]
Fix for first part of #28911: driver not working properly since 2.594

Missed id type set for driver target when setting target id.

Patch by me and Campbell.

7 years agoOther part of the MSVC build fix (need definition for "finite" macro from BLI_math.h)
Andrew Wiggin [Fri, 14 Oct 2011 08:06:59 +0000 (08:06 +0000)]
Other part of the MSVC build fix (need definition for "finite" macro from BLI_math.h)

7 years agoHopefully fixing windows build problems with this hack now. :-)
Joerg Mueller [Fri, 14 Oct 2011 07:56:33 +0000 (07:56 +0000)]
Hopefully fixing windows build problems with this hack now. :-)

7 years agoReverting my windows build fix because it breaks the bug fix committed in r40995
Andrew Wiggin [Fri, 14 Oct 2011 07:41:45 +0000 (07:41 +0000)]
Reverting my windows build fix because it breaks the bug fix committed in r40995

7 years agoFix MSVC build ( .0f/.0f fires a compiler error )
Andrew Wiggin [Fri, 14 Oct 2011 05:07:53 +0000 (05:07 +0000)]
Fix MSVC build ( .0f/.0f fires a compiler error )

7 years agofix [#28909] OpenCollada export / import sintel lite v2.1 crashes on import.
Campbell Barton [Fri, 14 Oct 2011 02:31:04 +0000 (02:31 +0000)]
fix [#28909] OpenCollada export / import sintel lite v2.1 crashes on import.

7 years agoFixing [#28907] Frozen playback.
Joerg Mueller [Thu, 13 Oct 2011 22:19:29 +0000 (22:19 +0000)]
Fixing [#28907] Frozen playback.
Also fixing two more crashes when audio files don't exist/cannot be read and apply a changed file path of a sound, reported by Jens Verwiebe in IRC.

7 years agorename confusing constants (no functional change)
Campbell Barton [Thu, 13 Oct 2011 22:14:41 +0000 (22:14 +0000)]
rename confusing constants (no functional change)
- OB_BOUND_POLYT --> OB_BOUND_CONVEX_HULL
- OB_BOUND_POLYH --> OB_BOUND_TRIANGLE_MESH

7 years agocomment own recent memory leak fix since it broke edge slide.
Campbell Barton [Thu, 13 Oct 2011 14:32:45 +0000 (14:32 +0000)]
comment own recent memory leak fix since it broke edge slide.

7 years agocorrect collada lib linking order (wasnt building for me), and sphinx doc syntax...
Campbell Barton [Thu, 13 Oct 2011 14:10:38 +0000 (14:10 +0000)]
correct collada lib linking order (wasnt building for me), and sphinx doc syntax warning.

7 years agoRevert part of recent fix for movie resolution.
Sergey Sharybin [Thu, 13 Oct 2011 08:56:21 +0000 (08:56 +0000)]
Revert part of recent fix for movie resolution.

It helped to make things works better for some movies but it
didn't help proxies to work properly. Correct fix seems a bit larger
and better not be made atm, so to keep behavior of proxies and
original movie consistent keep resolution behaves like it was before
recent changes,

7 years agopy docs - gpu module wasn't included in docs.
Campbell Barton [Thu, 13 Oct 2011 06:59:09 +0000 (06:59 +0000)]
py docs - gpu module wasn't included in docs.

also added convenience target to build sphinx api docs:
 make doc_py

7 years agoradius interpolation was incorrectly greyed out for 2D curves.
Campbell Barton [Thu, 13 Oct 2011 06:07:11 +0000 (06:07 +0000)]
radius interpolation was incorrectly greyed out for 2D curves.

7 years agofix for leak when switching between transform rotation modes.
Campbell Barton [Thu, 13 Oct 2011 04:44:39 +0000 (04:44 +0000)]
fix for leak when switching between transform rotation modes.

7 years agoensure grease pencil layer names are unique when set through rna.
Campbell Barton [Thu, 13 Oct 2011 04:06:32 +0000 (04:06 +0000)]
ensure grease pencil layer names are unique when set through rna.

7 years agofix [#28898] Segmentation fault when Home key during GreasePencil dopesheet pressed
Campbell Barton [Thu, 13 Oct 2011 03:35:08 +0000 (03:35 +0000)]
fix [#28898] Segmentation fault when Home key during GreasePencil dopesheet pressed

7 years agocorrect some invalid exception types.
Campbell Barton [Thu, 13 Oct 2011 01:51:45 +0000 (01:51 +0000)]
correct some invalid exception types.

7 years agoformatting edits & remove debug print.
Campbell Barton [Thu, 13 Oct 2011 01:29:08 +0000 (01:29 +0000)]
formatting edits & remove debug print.

7 years agobpy/rna new property attribute 'data', this means its possible to get back the rna...
Campbell Barton [Thu, 13 Oct 2011 00:52:09 +0000 (00:52 +0000)]
bpy/rna new property attribute 'data', this means its possible to get back the rna-struct which a property uses.

Without this you cant get the bone from an fcurve data path for example, needed to fix bug [#28889].

7 years agoquiet compiler warnings for string formatting in ffmpeg logging
Campbell Barton [Wed, 12 Oct 2011 22:00:53 +0000 (22:00 +0000)]
quiet compiler warnings for string formatting in ffmpeg logging

7 years agoCompile fix for some platforms (like linux release build environment)
Sergey Sharybin [Wed, 12 Oct 2011 18:56:55 +0000 (18:56 +0000)]
Compile fix for some platforms (like linux release build environment)

7 years agoFix typo.
Guillermo S. Romero [Wed, 12 Oct 2011 17:06:15 +0000 (17:06 +0000)]
Fix typo.

7 years agoFree cache data when creating a new group from selected nodes. This would leave unfre...
Lukas Toenne [Wed, 12 Oct 2011 13:53:03 +0000 (13:53 +0000)]
Free cache data when creating a new group from selected nodes. This would leave unfreed memory behind otherwise, since node groups don't have internal caches.

7 years agoWorkaround for #28864: crash rendering out file with audio, due to scene audio
Brecht Van Lommel [Wed, 12 Oct 2011 13:43:56 +0000 (13:43 +0000)]
Workaround for #28864: crash rendering out file with audio, due to scene audio
channels being set to invalid value 0. The cause of this is unclear, this adds
a version patch just to be safe, in case it turns out to be a common issue.

7 years agoFix for #28876, alpha over with empty image node gives black result.
Lukas Toenne [Wed, 12 Oct 2011 13:07:30 +0000 (13:07 +0000)]
Fix for #28876, alpha over with empty image node gives black result.

The image node output is the default value when no image is selected. In pre-2.60 this was always initialized to 0 alpha, the defaults written in the node socket templates were completely ignored for outputs (except for value and RGB input nodes, which use these as button values). Now the stack values are initialized with the template defaults, which are all 0 by default. This patch changes alpha to 0 for image and render layer outputs too.

7 years agoFix for #28886, compositor cache regression bug.
Lukas Toenne [Wed, 12 Oct 2011 12:55:32 +0000 (12:55 +0000)]
Fix for #28886, compositor cache regression bug.

The problem was that all outputs got tagged indiscriminately (esp. hidden render layer sockets), leading to full recalculation every time. This was caused by erroneous tagging of bNodeStacks with hasinput/hasoutput flags. This patch restores the old behaviour of tagging all non-static stacks as input values and all outputs that are connected to some input. Only difference is in node groups, where the hasoutput flag is no longer abused for tagging internal buffers, here the is_copy flag is used instead.

7 years agoFixes for #26837: MPEG Preseek does not work for some h264 files.
Sergey Sharybin [Wed, 12 Oct 2011 12:49:45 +0000 (12:49 +0000)]
Fixes for #26837: MPEG Preseek does not work for some h264 files.

- Display running job template in all sequencer modes
  It was displayed only for sequencer mode without preview.
- Fixed proxy rebuild progress indicator
  It was alsways zero because of incorrect rounding.
- Fixed timecode saving on windows (and probably some other platforms)
  It was caused by incorrect opening file for writting -- it should
  be opened in binary format "wb". This error caused incorrect
  movie duration detection on windows.
- Fixed movie resolution detection for some movies.
  In file attached to report, Blender detected resolution 1920x1088
  instead of 1920x1080. Not sure if this fix is correct or it's
  issue in FFmpeg, but it's something what mplayer using: store
  width/height before running avcodec_open().
- Fixed frame number calculation when building timecodes.
  It was rounding error caused some frames be positioned incorrect
  in several cases (that each 6th frame rendered as next frame
  from report).

7 years agofix for possible buffer overflow bug in BLI_join_dirfile(), recent fix didn't account...
Campbell Barton [Wed, 12 Oct 2011 11:18:46 +0000 (11:18 +0000)]
fix for possible buffer overflow bug in BLI_join_dirfile(), recent fix didn't account for the case when destination string and dir string matched.

7 years agofix [#28882] grease pencil draw apperence seems to change wieght/thickness after...
Campbell Barton [Wed, 12 Oct 2011 03:46:38 +0000 (03:46 +0000)]
fix [#28882] grease pencil draw apperence seems to change wieght/thickness after a while

7 years agofix [#28883] redraw problems for particle mode's brush menu
Campbell Barton [Wed, 12 Oct 2011 01:36:06 +0000 (01:36 +0000)]
fix [#28883] redraw problems for particle mode's brush menu

The enum items for getting the brush tool (which the UI draws), would change after the 3D view first draws on exiting editmode.

Since the panel draws before the 3D view does, the UI had a glitch.

Fix by using psys_get_current() for the enum, rather then PE_get_current() which depends on an updated particle system.

7 years agopython UI was doing a lot of attribute lookups on tool & sculpt tool (not especially...
Campbell Barton [Wed, 12 Oct 2011 00:47:50 +0000 (00:47 +0000)]
python UI was doing a lot of attribute lookups on tool & sculpt tool (not especially efficient & annoying when adding breakpoints into why its not working right).

7 years agofix [#28880] relative paths don't work with Change Path/Files
Campbell Barton [Wed, 12 Oct 2011 00:21:08 +0000 (00:21 +0000)]
fix [#28880] relative paths don't work with Change Path/Files

7 years agochanges to relative path option
Campbell Barton [Wed, 12 Oct 2011 00:15:19 +0000 (00:15 +0000)]
changes to relative path option
- initialize the relative_path option in ED_fileselect_get_params(), saves initializing within every operators own init functions, some even trying to initialize a non existing property.
- don't set the operator default from the user preferece, operator property defaults should be static else python scripts for eg can get different defaults depending on user settings, this also wont get updated when user-defaults are edited so generally confusing & not good practice.

7 years agofix [#28879] can't change names of some of the VSE strips
Campbell Barton [Tue, 11 Oct 2011 23:52:45 +0000 (23:52 +0000)]
fix [#28879] can't change names of some of the VSE strips

Multi-Cam, Sound, Movie and Image strips were not showing strip names.

also replace sprintf() with safer BLI_snprintf()

7 years agofix [#28873] Blenders Python API Sphinx Build Script give exceptions
Campbell Barton [Tue, 11 Oct 2011 23:27:01 +0000 (23:27 +0000)]
fix [#28873] Blenders Python API Sphinx Build Script give exceptions

7 years agofix for crash caused by invalid active material index while editing text.
Campbell Barton [Tue, 11 Oct 2011 23:08:17 +0000 (23:08 +0000)]
fix for crash caused by invalid active material index while editing text.

also added some better error checking in object_remove_material_slot() so it will print an error rather then crashing if this case ever happens again.

7 years agoCommit testing notifier hack
Nathan Letwory [Tue, 11 Oct 2011 17:30:08 +0000 (17:30 +0000)]
Commit testing notifier hack

7 years agoFix crash drawing waveform with zero length sound, found looking into sound reading...
Brecht Van Lommel [Tue, 11 Oct 2011 14:53:27 +0000 (14:53 +0000)]
Fix crash drawing waveform with zero length sound, found looking into sound reading bug.

7 years agofix for drag-n-drop ID's for renaming (own fault when fixing #24016)
Campbell Barton [Tue, 11 Oct 2011 10:59:52 +0000 (10:59 +0000)]
fix for drag-n-drop ID's for renaming (own fault when fixing #24016)

7 years agorna source files are not needed in POTFILE.in, and small fix on readme
Xiao Xiangquan [Tue, 11 Oct 2011 06:24:11 +0000 (06:24 +0000)]
rna source files are not needed in POTFILE.in, and small fix on readme

7 years agoAdding FA (Persian - Farsi) language to po + flipping Arabic name in the Language...
Dalai Felinto [Tue, 11 Oct 2011 05:52:58 +0000 (05:52 +0000)]
Adding FA (Persian - Farsi) language to po + flipping Arabic name in the Language Enum

7 years agofix for py/rna assigning an invalid index. also give better error message in this...
Campbell Barton [Tue, 11 Oct 2011 05:45:59 +0000 (05:45 +0000)]
fix for py/rna assigning an invalid index. also give better error message in this case.

7 years agofix for crash in BLI_join_dirfile() when the dir is longer then the target string.
Campbell Barton [Tue, 11 Oct 2011 05:21:24 +0000 (05:21 +0000)]
fix for crash in BLI_join_dirfile() when the dir is longer then the target string.

starting blender in a dir longer then 240 chars would crash.

7 years agoHandle "Open Recent..."
Xiao Xiangquan [Tue, 11 Oct 2011 05:02:45 +0000 (05:02 +0000)]
Handle "Open Recent..."