8 years agoMerged changes in the trunk up to revision 40911.
Tamito Kajiyama [Mon, 10 Oct 2011 21:15:11 +0000 (21:15 +0000)]
Merged changes in the trunk up to revision 40911.

Conflicts resolved:

8 years agoStability improvements for the Face Smoothness option.
Tamito Kajiyama [Mon, 10 Oct 2011 19:57:06 +0000 (19:57 +0000)]
Stability improvements for the Face Smoothness option.

The instability considered here is due to a persistent failure of the
getFEdge() method in the Interface0D class and its subclasses in the
presence of smooth FEdges.  When the Face Smoothness option is
enabled, the view map is populated with not only sharp FEdges (i.e.,
edges in the original meshes) but also smooth FEdges (i.e., newly
built edges lying on triangular surfaces).  The failure of getFEdge()
caused many related issues because the method is widely used in other
predicates and functions that rely on it.  The most prominent example
of related user-visible problems is a constant failure of the built-in

The main issue and related problems were addressed as follows:

* A bug in the construction of smooth FEdges was fixed.  Individual
smooth FEdges, even when they were detected as a series of smooth
FEdges that constitute one smooth ViewEdge, may have some irregular
geometry in the form of non-uniform OWXFaceLayer::order values.  The
OWXFaceLayer::order values were used in an inappropriate way, so that
resulting smooth ViewEdges may have an FEdge between two subsequent
SVertices that were indeed the same SVertex object.  This was an
unexpected situation that getFEdge() could not handle.

* Another issue in the construction of smooth FEdges was resolved.
When sharp FEdges are constructed, two SVertices at both ends of an
FEdge are generated only when no SVertex exists in a given 3D position
(this way, the original mesh topology is reconstructed from a bunch of
independent triangles that the BlenderFileLoader class passes to the
view map creation process).  This sharing of SVertices was used also
for the generation of SVertices at the two ends of each smooth FEdge,
causing the getFEdge() failure in the presence of smooth FEdges.  The
workaround implemented here is to simply suppress the sharing of
generated SVertices when smooth FEdges are created.

* In the Parameter Editor mode, the built-in MaterialF0D was replaced
with a better implementation that works well with Curves and Strokes.
MaterialF0D does not work with these 1D data types.

8 years agoSequencer audio waveform drawing fix, now assured to be within the strip bounds.
Joerg Mueller [Mon, 10 Oct 2011 14:59:13 +0000 (14:59 +0000)]
Sequencer audio waveform drawing fix, now assured to be within the strip bounds.

8 years agoFix #28857: 2.60 rc1 regression?
Sergey Sharybin [Mon, 10 Oct 2011 14:32:08 +0000 (14:32 +0000)]
Fix #28857: 2.60 rc1 regression?

If displacement mapping is used, normals shouldn't be flipped.

8 years agofix [#28850] With "Auto-keyframe" on, the "Selection to Cursor" option doesn't create...
Campbell Barton [Mon, 10 Oct 2011 12:56:21 +0000 (12:56 +0000)]
fix [#28850] With "Auto-keyframe" on, the "Selection to Cursor" option doesn't create keyframe.

8 years agoRevert "Fix #28863: Inconsistent UI inside of the UV/ImageEditor window"
Sergey Sharybin [Mon, 10 Oct 2011 10:35:18 +0000 (10:35 +0000)]
Revert "Fix #28863: Inconsistent UI inside of the UV/ImageEditor window"

This reverts commit 40899 due to UI department feedback.

8 years agocorrect operator name from my own recent changes and edit navmesh rna prop name for...
Campbell Barton [Mon, 10 Oct 2011 10:24:26 +0000 (10:24 +0000)]
correct operator name from my own recent changes and edit navmesh rna prop name for consistency

8 years agofix bad svn ID tags
Campbell Barton [Mon, 10 Oct 2011 09:44:14 +0000 (09:44 +0000)]
fix bad svn ID tags

8 years agoheader cleanup (no functional changes)
Campbell Barton [Mon, 10 Oct 2011 09:38:02 +0000 (09:38 +0000)]
header cleanup (no functional changes)

8 years agoNow append/link will start at current blend file directory, if available (lastest...
Bastien Montagne [Mon, 10 Oct 2011 08:25:28 +0000 (08:25 +0000)]
Now append/link will start at current blend file directory, if available (lastest used lib keeps priority).

8 years agoadd in empty modifier slot so dynamic paint files don't break.
Campbell Barton [Mon, 10 Oct 2011 07:50:39 +0000 (07:50 +0000)]
add in empty modifier slot so dynamic paint files don't break.

8 years agoFix #28863: Inconsistent UI inside of the UV/ImageEditor window
Sergey Sharybin [Mon, 10 Oct 2011 07:40:44 +0000 (07:40 +0000)]
Fix #28863: Inconsistent UI inside of the UV/ImageEditor window

Make panels which are on left be toggled by T, and which are on right by N.

8 years agoupdates to navmesh
Campbell Barton [Mon, 10 Oct 2011 07:21:42 +0000 (07:21 +0000)]
updates to navmesh
- 2 new navmesh operators, reset and clear navmesh data.
- rename operators to be more consistent with existing names.
- some minor edits to draw function, was getting the custom data for every index when it already had the array.

8 years agoedit error macro formatting (confuses some editors)
Campbell Barton [Mon, 10 Oct 2011 07:10:53 +0000 (07:10 +0000)]
edit error macro formatting (confuses some editors)

8 years agofix for using uninitialized stack memory in mesh_foreachScreenFace__mapFunc(), used...
Campbell Barton [Mon, 10 Oct 2011 06:56:28 +0000 (06:56 +0000)]
fix for using uninitialized stack memory in mesh_foreachScreenFace__mapFunc(), used for face selection.

8 years agoupdate to cmake doc, still needs more work but update references to CVS and MSVC2005...
Campbell Barton [Mon, 10 Oct 2011 04:16:16 +0000 (04:16 +0000)]
update to cmake doc, still needs more work but update references to CVS and MSVC2005 and Python3.1

8 years ago- for some reason navmesh wasnt drawing when VBO was enabled.
Campbell Barton [Mon, 10 Oct 2011 02:56:26 +0000 (02:56 +0000)]
- for some reason navmesh wasnt drawing when VBO was enabled.
- fix navmesh crash (may well have been from own changes)
- changing VBO's now redraws all windows - useful for checking if VBO draws differently.

8 years agofix documentation error - [#28862] Method 'difference' doesn't exist in Quaternion...
Campbell Barton [Mon, 10 Oct 2011 01:14:49 +0000 (01:14 +0000)]
fix documentation error - [#28862] Method 'difference' doesn't exist in Quaternion object.

8 years agobug #28848 also mentions Ctrl+Backspace isnt working.
Campbell Barton [Mon, 10 Oct 2011 01:11:40 +0000 (01:11 +0000)]
bug #28848 also mentions Ctrl+Backspace isnt working.
added support for ctrl+backspace/delete.

8 years agofix [#28860] CRASH loading scene
Campbell Barton [Mon, 10 Oct 2011 00:38:32 +0000 (00:38 +0000)]
fix [#28860] CRASH loading scene

Sequence strips with missing scenes were missing a NULL check.

8 years agoadd 3 PLY and STL export tests.
Campbell Barton [Mon, 10 Oct 2011 00:29:23 +0000 (00:29 +0000)]
add 3 PLY and STL export tests.

8 years agomesh VBO drawing code was swapping red/blue vertex colors - this is confusing because...
Campbell Barton [Mon, 10 Oct 2011 00:01:44 +0000 (00:01 +0000)]
mesh VBO drawing code was swapping red/blue vertex colors - this is confusing because MCol.r is blue and MCol.b is red but not excuse! (and how come nobody noticed this?).

- fixed this error in 4 places.

8 years agofix for editmode opengl drawing (bug from own recent optimization), need to set glSha...
Campbell Barton [Sun, 9 Oct 2011 23:04:31 +0000 (23:04 +0000)]
fix for editmode opengl drawing (bug from own recent optimization), need to set glShadeModel() outside glBegin(GL_QUADS / GL_TRIANGLES).

8 years agofix crash for recent navmesh edits when setting a non-mesh object to a navmesh.
Campbell Barton [Sun, 9 Oct 2011 21:43:13 +0000 (21:43 +0000)]
fix crash for recent navmesh edits when setting a non-mesh object to a navmesh.
also minor cleanup.

8 years agomove NavMesh draw code out of being a modifier and into DerivedMesh drawing hack...
Campbell Barton [Sun, 9 Oct 2011 21:11:51 +0000 (21:11 +0000)]
move NavMesh draw code out of being a modifier and into DerivedMesh drawing hack (which IMHO is less bad then mis-using a modifier only to override drawing calls).

8 years agoFix for, wasn’t filtering out prop names identical to prop identifiers...
Bastien Montagne [Sun, 9 Oct 2011 12:41:42 +0000 (12:41 +0000)]
Fix for, wasn’t filtering out prop names identical to prop identifiers (e.g. "float_array"...). Also updated french po & mo.

8 years agoincrease the hit radius for vertex selection in weight paint mode - increased to...
Campbell Barton [Sun, 9 Oct 2011 08:39:38 +0000 (08:39 +0000)]
increase the hit radius for vertex selection in weight paint mode - increased to 50 (same as editmode), was 3.

8 years agoreplace sprintf with strcpy where no formatting is done and return value isn't used.
Campbell Barton [Sun, 9 Oct 2011 06:03:38 +0000 (06:03 +0000)]
replace sprintf with strcpy where no formatting is done and return value isn't used.

8 years agoclear some warnings.
Campbell Barton [Sun, 9 Oct 2011 04:11:18 +0000 (04:11 +0000)]
clear some warnings.

8 years agocorrection to RNA class api references (only used for docs)
Campbell Barton [Sun, 9 Oct 2011 02:24:51 +0000 (02:24 +0000)]
correction to RNA class api references (only used for docs)

8 years agofix for BUILTIN_KSI_WholeCharacter keying custom string/collection/group properties
Campbell Barton [Sun, 9 Oct 2011 02:11:43 +0000 (02:11 +0000)]
fix for BUILTIN_KSI_WholeCharacter keying custom string/collection/group properties

8 years agotext edit: selecting zoomed in text with the mouse had an incorrect offset.
Campbell Barton [Sun, 9 Oct 2011 01:11:07 +0000 (01:11 +0000)]
text edit: selecting zoomed in text with the mouse had an incorrect offset.

8 years agotext editing: make jumping left/right both act the same way (was skipping an extra...
Campbell Barton [Sun, 9 Oct 2011 00:54:41 +0000 (00:54 +0000)]
text editing: make jumping left/right both act the same way (was skipping an extra char when jumping left).

8 years agobutton text editing: home/end were not moving the cursor position, only the selecton.
Campbell Barton [Sun, 9 Oct 2011 00:45:26 +0000 (00:45 +0000)]
button text editing: home/end were not moving the cursor position, only the selecton.

8 years agofix [#28848] Editing object name (e.g.), Ctrl-Shift-Arrows don't work as Ctrl-Arrows.
Campbell Barton [Sun, 9 Oct 2011 00:35:31 +0000 (00:35 +0000)]
fix [#28848] Editing object name (e.g.), Ctrl-Shift-Arrows don't work as Ctrl-Arrows.

8 years agofix [#28821] Whole Character keying set ignores non animatable propertyflag
Campbell Barton [Sat, 8 Oct 2011 12:27:52 +0000 (12:27 +0000)]
fix [#28821] Whole Character keying set ignores non animatable propertyflag

8 years agouse newly added ID_BLEND_PATH() in more places.
Campbell Barton [Sat, 8 Oct 2011 11:11:54 +0000 (11:11 +0000)]
use newly added ID_BLEND_PATH() in more places.

8 years agofix [#28846] Relative paths on linked scene fails
Campbell Barton [Sat, 8 Oct 2011 11:02:58 +0000 (11:02 +0000)]
fix [#28846] Relative paths on linked scene fails

8 years agofix for align objects with non mesh objects.
Campbell Barton [Fri, 7 Oct 2011 20:53:54 +0000 (20:53 +0000)]
fix for align objects with non mesh objects.

8 years agoPatch [#28660] x64 thumbnail handler not being installed in CMake builds by Tom Edwards.
Thomas Dinges [Fri, 7 Oct 2011 18:25:54 +0000 (18:25 +0000)]
Patch [#28660] x64 thumbnail handler not being installed in CMake builds by Tom Edwards.

8 years agoAdded Macro and KeyingSetInfo to blacklisted msg classes. Also updated french po...
Bastien Montagne [Fri, 7 Oct 2011 08:57:08 +0000 (08:57 +0000)]
Added Macro and KeyingSetInfo to blacklisted msg classes. Also updated french po & mo.

8 years agoScene.GameData DNA alignment nitpicking
Dalai Felinto [Fri, 7 Oct 2011 05:19:21 +0000 (05:19 +0000)]
Scene.GameData DNA alignment nitpicking
* "structures are always multiples of 8 bytes in size" (adding two pads for RecastData)
removing some unecessary pads. Moving others to make pad counting easy.

(although this patch is not highly needed in trunk it will help cucumber merging)
This could probably fixed the problem address at rev.40084

8 years agofix for own bad mistake, broke vector curve handles.
Campbell Barton [Fri, 7 Oct 2011 00:26:04 +0000 (00:26 +0000)]
fix for own bad mistake, broke vector curve handles.

8 years agofix [#28800] Scene NULL in frame change callback, crashes on property update.
Campbell Barton [Fri, 7 Oct 2011 00:08:40 +0000 (00:08 +0000)]
fix [#28800] Scene NULL in frame change callback, crashes on property update.

8 years agorna_ParticleDupliWeight_name_length was returning an incorrect value. Zealous debug...
Campbell Barton [Thu, 6 Oct 2011 23:16:12 +0000 (23:16 +0000)]
rna_ParticleDupliWeight_name_length was returning an incorrect value. Zealous debug checks are testing the (buf[len] == '\0')

8 years agospaces -> tabs (whitespace only changes)
Campbell Barton [Thu, 6 Oct 2011 22:04:01 +0000 (22:04 +0000)]
spaces -> tabs (whitespace only changes)

8 years agospaces -> tabs (only whitespace changes)
Campbell Barton [Thu, 6 Oct 2011 22:02:50 +0000 (22:02 +0000)]
spaces -> tabs (only whitespace changes)

8 years agofix [#27071] Random crashes when altering a mesh vertex vector in BGE
Campbell Barton [Thu, 6 Oct 2011 16:07:05 +0000 (16:07 +0000)]
fix [#27071] Random crashes when altering a mesh vertex vector in BGE

thanks to Chris Holland (topher77) for supplying the fix.

8 years agoFix #28819: Normal Maps appear inverted in GLSL shader and offline renderer (2.6rc1)
Sergey Sharybin [Thu, 6 Oct 2011 14:55:30 +0000 (14:55 +0000)]
Fix #28819: Normal Maps appear inverted in GLSL shader and offline renderer (2.6rc1)

Caused by recent bump maps flip commit.
If texture is used as Normal Map it's normal factor shouldn't be flipped.

8 years agoFix #28805: Add mesh, align to view, un check align to view. not updating.
Sergey Sharybin [Thu, 6 Oct 2011 12:51:33 +0000 (12:51 +0000)]
Fix #28805: Add mesh, align to view, un check align to view. not updating.

Re-set rotation property when "Lock to View" property changes.
This makes proper updates without breaking behavior.

8 years agoset mikktspace functions as static which are not used externally.
Campbell Barton [Thu, 6 Oct 2011 11:40:49 +0000 (11:40 +0000)]
set mikktspace functions as static which are not used externally.

8 years agohide 3d view header `use_pivot_point_align` button in editmode since its not used...
Campbell Barton [Thu, 6 Oct 2011 10:06:53 +0000 (10:06 +0000)]
hide 3d view header `use_pivot_point_align` button in editmode since its not used there, also remove unneeded copy() funcs from quick effects.

8 years agotexface fix: if material is not used by mesh set default bge mat flag (backface culli...
Dalai Felinto [Thu, 6 Oct 2011 06:56:45 +0000 (06:56 +0000)]
texface fix: if material is not used by mesh set default bge mat flag (backface culling on)
report by Mitchell Stokes over IRC, but probably one of the reason people have been asking
to expose the Game Settings material panel in the Render engine as well.

8 years agofix [#28113] ZTransp flag is not imported correctly from 2.49 files
Campbell Barton [Thu, 6 Oct 2011 06:16:20 +0000 (06:16 +0000)]
fix [#28113] ZTransp flag is not imported correctly from 2.49 files

infact this only changes a setting which is ignored. but may as well keep whats set in 2.4x.

8 years agoObject Menu Edits:
Campbell Barton [Thu, 6 Oct 2011 05:45:06 +0000 (05:45 +0000)]
Object Menu Edits:
- add quick effects to object menu, these are too useful to hide in search menu.
- set/clear track/parent - expand the operators enums in submenus - no advantage in having a further popup after clicking on the menu item.
- move 'Join UVs' into Make links menu which is currently being abused to store some copy functions. Do this because the 'Object' menu is getting too big.

8 years agofix for error in own edits to recently applied select link sequencer patch.
Campbell Barton [Thu, 6 Oct 2011 05:10:09 +0000 (05:10 +0000)]
fix for error in own edits to recently applied select link sequencer patch.

8 years agofix for weight paint with face mask enabled drawing with lights.
Campbell Barton [Thu, 6 Oct 2011 05:01:24 +0000 (05:01 +0000)]
fix for weight paint with face mask enabled drawing with lights.

8 years agoremove unused struct member & minor edits, no functional change.
Campbell Barton [Thu, 6 Oct 2011 04:33:00 +0000 (04:33 +0000)]
remove unused struct member & minor edits, no functional change.

8 years agofix for fix
Campbell Barton [Thu, 6 Oct 2011 04:09:48 +0000 (04:09 +0000)]
fix for fix

8 years agofix [#26193] Weightpainting on Mesh with Armature-Modifier fails if x-mirror and...
Campbell Barton [Thu, 6 Oct 2011 04:06:47 +0000 (04:06 +0000)]
fix [#26193] Weightpainting on Mesh with Armature-Modifier fails if x-mirror and auto normalize is enabled

8 years agocleanup for main weight paint drawing function while looking into a bug - no function...
Campbell Barton [Thu, 6 Oct 2011 03:57:03 +0000 (03:57 +0000)]
cleanup for main weight paint drawing function while looking into a bug - no functional changes.

8 years agodont define the ghost PREFIX for scons, since this means our portable downloadable...
Campbell Barton [Thu, 6 Oct 2011 02:29:15 +0000 (02:29 +0000)]
dont define the ghost PREFIX for scons, since this means our portable downloadable binary would find the system blender files (if installed).

this should stay disabled until scons supports system/portable installs as with cmake.

8 years agofix error in last commit & remove commented code which is now working in 2.5x.
Campbell Barton [Thu, 6 Oct 2011 02:19:04 +0000 (02:19 +0000)]
fix error in last commit & remove commented code which is now working in 2.5x.

8 years agoMoved line set options into a new separate "Freestyle: Line Set" tab
Tamito Kajiyama [Thu, 6 Oct 2011 02:14:33 +0000 (02:14 +0000)]
Moved line set options into a new separate "Freestyle: Line Set" tab
in the Render buttons.

8 years agoFine control of feature edge selection with mesh face and edge marks.
Tamito Kajiyama [Thu, 6 Oct 2011 02:04:43 +0000 (02:04 +0000)]
Fine control of feature edge selection with mesh face and edge marks.

New "face marks" and "edge marks" have been introduced in mesh data
blocks.  In the edit mode of a mesh object, face marks can be put
to selected faces by choosing Mesh >> Faces >> Mark Freestyle Face
from the menu of a 3D View window or Ctrl-F >> Mark Freestyle Face
from the context menu.  Similarly, edge marks can be put to selected
edges by Mesh >> Edges >> Mark Freestyle Edge or Ctrl-E >> Mark
Freestyle Edge.  These marks should work fine with the Subdivision
surface modifier.

Moreover, two new conditions for feature edge selection have been
added to the Parameter Editor mode as described below:

1. The Selection by Edge Types option has now the new Edge Mark type,
which can be used to (de)select feature edges having edge marks.
This option can be used to add to (or remove from) the view map
arbitrary edges of mesh objects.

2. Selection by Face Marks option has been newly introduced, in which
face marks are used for feature edge selection in two ways.  One
option is called "One Face" which is to (de)select feature edges if
one of faces on the left and right of each feature edge has a face
mark.  The other option is "Both Faces" to (de)select feature edges
if both faces on the left and right have a face mark.

8 years agofix for memory leak when calling wpaint_make_validmap() with no vertex groups.
Campbell Barton [Thu, 6 Oct 2011 01:51:01 +0000 (01:51 +0000)]
fix for memory leak when calling wpaint_make_validmap() with no vertex groups.

8 years agofix for crash when painting normalize with no vertex groups, also minor cleanup to...
Campbell Barton [Thu, 6 Oct 2011 01:29:32 +0000 (01:29 +0000)]
fix for crash when painting normalize with no vertex groups, also minor cleanup to do_weight_paint_auto_normalize_all_groups()

8 years agoscons flags were being set carelessly - CCFLAGS is like setting CFLAGS and CXXFLAGS...
Campbell Barton [Wed, 5 Oct 2011 23:35:03 +0000 (23:35 +0000)]
scons flags were being set carelessly - CCFLAGS is like setting CFLAGS and CXXFLAGS - in a few cases this was being set redundantly.

there are more cases that chould be changed since CPPFLAGS and CCFLAGS are both being set where only one is needed but for now this is safe.

8 years agorevert part of r40800, btools.ENDIAN should be correct, if its not then that needs...
Campbell Barton [Wed, 5 Oct 2011 23:17:40 +0000 (23:17 +0000)]
revert part of r40800, btools.ENDIAN should be correct, if its not then that needs to be fixed rather then checking on the platform.

./build_files/scons/tools/ - checkEndian() uses pythons struct which knows the systems native endian and will work unless cross compiling (which afaik isnt dont between different endian systems so far).

8 years agoupdate generated api changelog for edits since 2.59
Campbell Barton [Wed, 5 Oct 2011 22:43:00 +0000 (22:43 +0000)]
update generated api changelog for edits since 2.59

8 years agoFix for an uninitialized member variable.
Tamito Kajiyama [Wed, 5 Oct 2011 21:10:23 +0000 (21:10 +0000)]
Fix for an uninitialized member variable.

8 years agoFix #28766: object properties > display > transparency no longer worked in solid
Brecht Van Lommel [Wed, 5 Oct 2011 15:28:02 +0000 (15:28 +0000)]
Fix #28766: object properties > display > transparency no longer worked in solid
draw mode, after texface changes.

8 years agominor edits
Campbell Barton [Wed, 5 Oct 2011 12:20:38 +0000 (12:20 +0000)]
minor edits
- use TRUE/FALSE rather than 1/0
- WM_operator_properties_create_ptr rather than WM_operator_properties_create since the pointers available.
- remove redundant strlen()

8 years agoOSX: Correct copy/paste error and exclude endianess switch from darwin
Jens Verwiebe [Wed, 5 Oct 2011 08:58:32 +0000 (08:58 +0000)]
OSX: Correct copy/paste error and exclude endianess switch from darwin

8 years agofix [#28809] Fileselect strange icon display.
Campbell Barton [Wed, 5 Oct 2011 07:57:33 +0000 (07:57 +0000)]
fix [#28809] Fileselect strange icon display.

8 years agofix [#28807] Drivers breaking by undo
Campbell Barton [Wed, 5 Oct 2011 07:28:59 +0000 (07:28 +0000)]
fix [#28807] Drivers breaking by undo

8 years agofilter RNA classes for translation (removes over 1300 lines from messages.txt)
Campbell Barton [Wed, 5 Oct 2011 03:39:22 +0000 (03:39 +0000)]
filter RNA classes for translation (removes over 1300 lines from messages.txt)
- omit operators tagged as INTERNAL
- omit classes  for internal use: Event, Context, Property, Function, Window.

8 years agorename rna OperatorTypeMacro --> OperatorMacro, since operators types are just called...
Campbell Barton [Wed, 5 Oct 2011 00:19:33 +0000 (00:19 +0000)]
rename rna OperatorTypeMacro --> OperatorMacro, since operators types are just called Operator

8 years ago[#28801] Pet doesn't work on the whole mesh
Martin Poirier [Tue, 4 Oct 2011 23:42:06 +0000 (23:42 +0000)]
[#28801] Pet doesn't work on the whole mesh
Reported by Enrico Valenza

Mirror messes up the zone of influence. Disable mirror internally when proportional edit is on.

8 years agomodify pacman file not to compile templates & presets.
Campbell Barton [Tue, 4 Oct 2011 23:00:38 +0000 (23:00 +0000)]
modify pacman file not to compile templates & presets.

8 years agofix for error when fixing crash in filesel poll function.
Campbell Barton [Tue, 4 Oct 2011 22:42:49 +0000 (22:42 +0000)]
fix for error when fixing crash in filesel poll function.

8 years agobge bugfix: navmesh collision flag disputing with glsl_color_manag.
Dalai Felinto [Tue, 4 Oct 2011 18:15:28 +0000 (18:15 +0000)]
bge bugfix: navmesh collision flag disputing with glsl_color_manag.
The solution is to make the flag in to an int in oppose to short.
This will also help in cucumber where we ran into the same problem.

8 years agoEnabling JACK for linux buildbot.
Sergey Sharybin [Tue, 4 Oct 2011 17:04:35 +0000 (17:04 +0000)]
Enabling JACK for linux buildbot.

8 years agoUpdate blenderplayer stubs to deal with recent keymaps commit.
Sergey Sharybin [Tue, 4 Oct 2011 15:21:01 +0000 (15:21 +0000)]
Update blenderplayer stubs to deal with recent keymaps commit.

8 years agoCorrection for own recent commit -- didn't know it's unsupported in
Sergey Sharybin [Tue, 4 Oct 2011 15:10:24 +0000 (15:10 +0000)]
Correction for own recent commit -- didn't know it's unsupported in
MSVC to do such things.

8 years agoFix #28202: (only) modifying keymap item properties did not save properly, the
Brecht Van Lommel [Tue, 4 Oct 2011 13:24:48 +0000 (13:24 +0000)]
Fix #28202: (only) modifying keymap item properties did not save properly, the
update signal for this was missing. Problem is that the operator properties
RNA update callback doesn't know the associated keymap item, worked around it
with UI template now.

8 years agoPartial fix #27978: Problem exporting OGG Theora-Vorbis video (and other audio codecs)
Sergey Sharybin [Tue, 4 Oct 2011 12:30:26 +0000 (12:30 +0000)]
Partial fix #27978: Problem exporting OGG Theora-Vorbis video (and other audio codecs)

Ogg format does support only vorbis, theora, speex and flac audio codecs.
Added check for result of av_write_header() and show info in header about
error while initializing streams.

This commit also fixed crash when using vorbis audio format.
It used to be floating point exception. SOlved by initializing
audio_stream->codec->time_base with proper rational value as it's
done in FFmpeg sources.

8 years agoremove redundant code, also dont bother with os.path.basename(x) for recent scons...
Campbell Barton [Tue, 4 Oct 2011 08:28:37 +0000 (08:28 +0000)]
remove redundant code, also dont bother with os.path.basename(x) for recent scons commit.

8 years agoFix for unix python bundling: config-* directories didn't deleted
Sergey Sharybin [Tue, 4 Oct 2011 08:20:29 +0000 (08:20 +0000)]
Fix for unix python bundling: config-* directories didn't deleted

This is because of passing config-* to rm command in quotes.

8 years agoMinor: Other UI strings typos and tweaks. Also updated french po & mo.
Bastien Montagne [Tue, 4 Oct 2011 07:48:56 +0000 (07:48 +0000)]
Minor: Other UI strings typos and tweaks. Also updated french po & mo.

8 years agofix for missing null check in own recent commit.
Campbell Barton [Mon, 3 Oct 2011 18:03:44 +0000 (18:03 +0000)]
fix for missing null check in own recent commit.

8 years agorevert r40738, flipepd enums give quick access to first items, even if it does seem...
Campbell Barton [Mon, 3 Oct 2011 17:59:33 +0000 (17:59 +0000)]
revert r40738, flipepd enums give quick access to first items, even if it does seem odd to have them flipped.

8 years agoadd macro OB_TYPE_SUPPORT_MATERIAL, type checks were being done inline, some comparin...
Campbell Barton [Mon, 3 Oct 2011 17:29:43 +0000 (17:29 +0000)]
add macro OB_TYPE_SUPPORT_MATERIAL, type checks were being done inline, some comparing range, some using ELEM#(), once was missing metaball check.

8 years agofix [#27526] shared data but different data materials.
Campbell Barton [Mon, 3 Oct 2011 16:55:00 +0000 (16:55 +0000)]
fix [#27526] shared data but different data materials.

8 years agofix for [#28788] wasn't complete, pose bones scale was ignoring "Individual origins...
Campbell Barton [Mon, 3 Oct 2011 16:20:05 +0000 (16:20 +0000)]
fix for [#28788] wasn't complete, pose bones scale was ignoring "Individual origins" setting.

8 years agoFix #27532: Undo test texture after painting gives black blocks.
Sergey Sharybin [Mon, 3 Oct 2011 13:01:24 +0000 (13:01 +0000)]
Fix #27532: Undo test texture after painting gives black blocks.

- Do not apply undo tiles on image if source or generated type was changed.
- Added null-check in own recent commit in this area.

8 years ago- use BLI_findstring rather then while loop for listbase lookups
Campbell Barton [Mon, 3 Oct 2011 12:56:33 +0000 (12:56 +0000)]
- use BLI_findstring rather then while loop for listbase lookups
- remove BLI_assert I recently added to RNA_property_pointer_type since its intentionally called with no type check.

8 years agoFix #28780: Undo while painting image sequences issue
Sergey Sharybin [Mon, 3 Oct 2011 11:04:05 +0000 (11:04 +0000)]
Fix #28780: Undo while painting image sequences issue

- Store imbuf file path in UndoImageTile structure, so imbuf can be verified
  before applying titles on it.
- If current image's imbuf file path isn't equal to file path stored in
  undo block, search for imbuf in ima->ibufs.

  Probably it can be optimized, but storing all settings which defines
  needed imbuf (image source type, offset, image file name, current
  scene frame and so messes up undo code and requires deeper changes
  which probably better not to start on bcon4).

8 years agoMinor: Other UI strings typos and tweaks. Also updated french po & mo.
Bastien Montagne [Mon, 3 Oct 2011 08:01:07 +0000 (08:01 +0000)]
Minor: Other UI strings typos and tweaks. Also updated french po & mo.

8 years agofix [#27578] Fileselector UI area does not scale with UI (partially hides buttons)
Campbell Barton [Mon, 3 Oct 2011 04:48:14 +0000 (04:48 +0000)]
fix [#27578] Fileselector UI area does not scale with UI (partially hides buttons)