8 years agoFix OS X 32 bit build error, and bring buildbot config in sync with default.
Brecht Van Lommel [Tue, 7 May 2013 18:32:37 +0000 (18:32 +0000)]
Fix OS X 32 bit build error, and bring buildbot config in sync with default.

8 years agoPutting undefined versioning to only older than 2.67.
Ton Roosendaal [Tue, 7 May 2013 16:35:37 +0000 (16:35 +0000)]
Putting undefined versioning to only older than 2.67.

8 years agoAnd here's the epic 2.67 splash and version!
Ton Roosendaal [Tue, 7 May 2013 16:27:55 +0000 (16:27 +0000)]
And here's the epic 2.67 splash and version!

Celebrating Freestyle :) Kudos to dfeveloper Tamito and Malaysian artist Mclelun!

8 years agoSupress error message if dlopen for failed
Sergey Sharybin [Tue, 7 May 2013 15:49:23 +0000 (15:49 +0000)]
Supress error message if dlopen for failed

This is mainly happening when there's no jack installed
in the system and no reason to cause general panic
messages in the terminal about this.

8 years agoFix #35122: Blenderplayer crashes when loading level
Sergey Sharybin [Tue, 7 May 2013 15:28:42 +0000 (15:28 +0000)]
Fix #35122: Blenderplayer crashes when loading level

Issue was caused by ntreeUpdateTree calling for a ntree
which is not in G.main.

This lead to issues in ntreeVerifyNodes (which is called
from ntreeUpdateTree).

Made is so ntreeUpdateTree now accepts main as an argument.
Will work for the release, later we could either solve the
TODO mentioned in ntreeUpdateTree which will eliminate need
in main there or make it so context's main is used from all
over where ntreeUpdateTree is called (currently there're
still some usages of G.main).

8 years agofix for glitch in text editor using ctrl+(backspace / delete),
Campbell Barton [Tue, 7 May 2013 01:00:19 +0000 (01:00 +0000)]
fix for glitch in text editor using ctrl+(backspace / delete),
for now just don't jump words when theres a selection.

8 years agoexpose bmesh volume calculation to python api (use for print toolbox addon).
Campbell Barton [Tue, 7 May 2013 00:00:32 +0000 (00:00 +0000)]
expose bmesh volume calculation to python api (use for print toolbox addon).

8 years agobullet: Don't use sse in api for windows.
Sergej Reich [Mon, 6 May 2013 22:53:11 +0000 (22:53 +0000)]
bullet: Don't use sse in api for windows.

Remove stray BT_USE_SSE_IN_API definitions.
Was causing problems especially for 32 bit windows.

It's not quite clear why they were added in the first place since
this should be defined in btScalar.h, needs further investigation.

Thanks to Francisco De La Cruz (xercesblue) for looking into this.

Should fix [#35071] Bullet Convex Hull Crashes on Win32 with SSE

8 years agoFix for crash when using 2D stabilization for float movie clips
Sergey Sharybin [Mon, 6 May 2013 17:59:02 +0000 (17:59 +0000)]
Fix for crash when using 2D stabilization for float movie clips

Also removed unneeded image buffer scaling, it was only needed
for "early output" if there was no rotation. That is no longer
supported since it used to pixelate result a lot and interpolation
is always used now.

Saves quite a few of memory and CPU cycles.

8 years agoFix missing angle zerolization when 2d stabilization is disabled.
Sergey Sharybin [Mon, 6 May 2013 17:24:30 +0000 (17:24 +0000)]
Fix missing angle zerolization when 2d stabilization is disabled.

Not sure how it wasn't noticed for so long, probably check happens
in callee as well, but better be safe than sorry here.

8 years agoFix crash rendering material with "Face Textures" option.
Brecht Van Lommel [Mon, 6 May 2013 14:00:28 +0000 (14:00 +0000)]
Fix crash rendering material with "Face Textures" option.

Example file: lib/tests/materials/crystal_cube.blend

8 years agoFix #35225: new OS X Lion fullscreen did not work together well with old
Brecht Van Lommel [Mon, 6 May 2013 13:39:25 +0000 (13:39 +0000)]
Fix #35225: new OS X Lion fullscreen did not work together well with old
fullscreen option. It was possible to enable both at the same time which got
you stuck in a state where it was impossible to exit fullscreen. Now I've made
them mutually exlusive, only one can be enabled at the same time.

Note the reason we need to support both is because the new Lion fullscreen does
not work with multiple monitors, it will just give black screens on the other
monitors. This is a limitation of OS X, you can find many complaints about this

8 years agoAnother correction to svn rev56509
Sergey Sharybin [Mon, 6 May 2013 12:27:14 +0000 (12:27 +0000)]
Another correction to svn rev56509

Initial fix was not fully working, because faulty
edge shared the same address as screen area. This
lead to screen freeing issues -- double free (which
was supressed by guarded allocation actually) but
also freed memory access when iterating via edges
to free them.

Solved by a small hack which removes edges with bad
vertices from edges list. This prevents double-free
and freed memory access cased by corrupted files we're
currently fixing. In other cases this tweak is likely
be harmless -- in worst case scenario it'll lead to
small memory leak, which is not as much lethal as
freed memory access.

8 years agoFix for uninitialized variable in previous commit.
Sergey Sharybin [Mon, 6 May 2013 11:38:21 +0000 (11:38 +0000)]
Fix for uninitialized variable in previous commit.

8 years agoBug fix #35179
Ton Roosendaal [Mon, 6 May 2013 11:23:13 +0000 (11:23 +0000)]
Bug fix #35179

Added provision for saved corrupt blend files - caused by a startup.blend
addressing > 16 GB space, which was read in 32 bits.

Now an invalid screen will get removed immediate after read. Might give
a memory-not-in-memlist print, but that's quite safe.

8 years agoFix #35229: collada crash exporting constraints with no target set.
Brecht Van Lommel [Mon, 6 May 2013 11:12:00 +0000 (11:12 +0000)]
Fix #35229: collada crash exporting constraints with no target set.

8 years agoAttempt to fix #35228: hide a few LLVM symbols that are not in the llvm namespace
Brecht Van Lommel [Mon, 6 May 2013 09:44:56 +0000 (09:44 +0000)]
Attempt to fix #35228: hide a few LLVM symbols that are not in the llvm namespace
to try to avoid conflicts with Mesa GL llvmpipe on linux.

8 years agofix for cursor jumping error stepping backwards where the the first character of...
Campbell Barton [Mon, 6 May 2013 03:35:21 +0000 (03:35 +0000)]
fix for cursor jumping error stepping backwards where the the first character of a string would be skipped no matter what it was.

8 years agocorrection for uv template, also some doxygen comment corrections.
Campbell Barton [Sun, 5 May 2013 18:41:45 +0000 (18:41 +0000)]
correction for uv template, also some doxygen comment corrections.

8 years agoFix #35216: code examples like simple operator missing from python docs due to
Brecht Van Lommel [Sun, 5 May 2013 05:56:48 +0000 (05:56 +0000)]
Fix #35216: code examples like simple operator missing from python docs due to
rename of directory.

8 years agoFix #35209: cycles generated texture coordinates did not stick to deforming meshes.
Brecht Van Lommel [Sun, 5 May 2013 05:56:41 +0000 (05:56 +0000)]
Fix #35209: cycles generated texture coordinates did not stick to deforming meshes.

8 years agocorrect bmesh api crossref and update uv-operator template.
Campbell Barton [Sun, 5 May 2013 05:54:29 +0000 (05:54 +0000)]
correct bmesh api crossref and update uv-operator template.

8 years agoCycles / Preview render:
Thomas Dinges [Sat, 4 May 2013 23:12:17 +0000 (23:12 +0000)]
Cycles / Preview render:
* Hair strands were too thin in preview, after addition of "radius_scale" property in r56072.
Increased the scale from 0.01 to 0.03 now.

8 years ago* Remove unused screens from Cycles preview blend to save some space.
Thomas Dinges [Sat, 4 May 2013 23:02:05 +0000 (23:02 +0000)]
* Remove unused screens from Cycles preview blend to save some space.

8 years agorevert part of own commit r56476, caused scene unlink button to be removed.
Campbell Barton [Sat, 4 May 2013 22:29:33 +0000 (22:29 +0000)]
revert part of own commit r56476, caused scene unlink button to be removed.

8 years agoFix for non-terminated reading of JPEG metadata
Sv. Lockal [Sat, 4 May 2013 21:12:23 +0000 (21:12 +0000)]
Fix for non-terminated reading of JPEG metadata

This commit prevents Blender reading memory next to non-null-terminated JPEG metadata strings

8 years agoFix quicktime video export not properly supporting animation of audio properties...
Brecht Van Lommel [Sat, 4 May 2013 13:17:43 +0000 (13:17 +0000)]
Fix quicktime video export not properly supporting animation of audio properties like volume.

Patch #35184 by James Yonan, see the report for a detailed explanation of why this failed.

8 years agofix for mistake in own recent commit, broke operator search (r56465).
Campbell Barton [Fri, 3 May 2013 22:43:02 +0000 (22:43 +0000)]
fix for mistake in own recent commit, broke operator search (r56465).

8 years agoFix #35207: addition to previous fix to avoid OSL getting uninitialized
Brecht Van Lommel [Fri, 3 May 2013 21:34:51 +0000 (21:34 +0000)]
Fix #35207: addition to previous fix to avoid OSL getting uninitialized
ray differentials for lighting, which could cause bad texture filtering
artifacts or performance.

8 years agoSecond part of fix for regression of nodes UI translation (since new pynodes): add...
Bastien Montagne [Fri, 3 May 2013 14:01:12 +0000 (14:01 +0000)]
Second part of fix for regression of nodes UI translation (since new pynodes): add back sockets translation.

8 years agoFix for recent glossy BSDF fix, color ramp test file was rendering different.
Brecht Van Lommel [Fri, 3 May 2013 13:17:28 +0000 (13:17 +0000)]
Fix for recent glossy BSDF fix, color ramp test file was rendering different.

8 years agoOne-liner fix for part of regression of nodes UI translation (since new pynodes)...
Bastien Montagne [Fri, 3 May 2013 12:37:45 +0000 (12:37 +0000)]
One-liner fix for part of regression of nodes UI translation (since new pynodes): add menu entries are translated again.

The sockets' names remain untranslated currently, investigating whether this can safely be fixed at this stage too...

8 years agocorrect own recent commit, confused totloop with dm_totloop, rename vars & correct...
Campbell Barton [Fri, 3 May 2013 08:37:18 +0000 (08:37 +0000)]
correct own recent commit, confused totloop with dm_totloop, rename vars & correct even though in this case the error was harmless.

8 years agodisable view3d dolly, move, pan -- when the view offset is locked, also corrected...
Campbell Barton [Fri, 3 May 2013 07:29:25 +0000 (07:29 +0000)]
disable view3d dolly, move, pan -- when the view offset is locked, also corrected fly modes offset lock check
and added ED_view3d_offset_lock_check() to reuse between functions.

8 years agoknife sort_by_frac_along was re-calculating the reference factor for every test,...
Campbell Barton [Fri, 3 May 2013 05:57:33 +0000 (05:57 +0000)]
knife sort_by_frac_along was re-calculating the reference factor for every test, change to only calculate once and use line_point_factor_v3().
also add zero division check for line_point_factor_v3() since the 2d version already checked for this.

8 years agoPossible fix for #35198: uninitialized memory access with background multiple
Brecht Van Lommel [Fri, 3 May 2013 05:24:05 +0000 (05:24 +0000)]
Possible fix for #35198: uninitialized memory access with background multiple
importance sampling + OSL.

8 years agoFix #34889: negative lights not working in glsl view and game engine.
Brecht Van Lommel [Fri, 3 May 2013 05:24:01 +0000 (05:24 +0000)]
Fix #34889: negative lights not working in glsl view and game engine.

Patch #35197 by Tyler Seacrest.

8 years agoMinor code clean-up.
Tamito Kajiyama [Fri, 3 May 2013 03:36:33 +0000 (03:36 +0000)]
Minor code clean-up.

8 years agoFix for based on code review comments from flokkievids.
Tamito Kajiyama [Fri, 3 May 2013 02:37:43 +0000 (02:37 +0000)]
Fix for based on code review comments from flokkievids.
Only the suggested changes that cause backward incompatibility were considered for now.

* Removed pyFXSThicknessShader that is identical with pyConstantThicknessShader.

* Swapped the order of two arguments of the pyDecreasingThicknessShader constructor
in line with other shaders taking the same arguments.

* Made module functions smoothC and get_fedge into methods of relevant shader classes.

* Removed pyExtremitiesOrientationShader that relied on undefined Stroke methods.

8 years agoremove unused random number generator, thanks Bao2 for spotting.
Campbell Barton [Fri, 3 May 2013 02:23:55 +0000 (02:23 +0000)]
remove unused random number generator, thanks Bao2 for spotting.

8 years agobge py api: raise an overflow exception when assigning a float to a bge object which...
Campbell Barton [Fri, 3 May 2013 01:13:51 +0000 (01:13 +0000)]
bge py api: raise an overflow exception when assigning a float to a bge object which is out of the float range.
also avoid raising exceptions by ConvertPythonToValue when they will be ignored.

8 years agofix [#35194] Change view while LoopCut is active breaks the cut options
Campbell Barton [Fri, 3 May 2013 00:22:22 +0000 (00:22 +0000)]
fix [#35194] Change view while LoopCut is active breaks the cut options

use edge-index rather then mouse coords for loopcut so the viewport doesn't interfere.

8 years agoFix #35160: cycles was rendering glossy BSDF's with zero roughness too rough
Brecht Van Lommel [Thu, 2 May 2013 22:05:57 +0000 (22:05 +0000)]
Fix #35160: cycles was rendering glossy BSDF's with zero roughness too rough
after a bugfix for precision issues with low roughness. Now it renders them as
perfectly sharp which avoids the problematic calculations rather than increasing
the roughness.

8 years agoadjustment to own commit r56463.
Campbell Barton [Thu, 2 May 2013 21:27:19 +0000 (21:27 +0000)]
adjustment to own commit r56463.
when strings use 'PROP_NEVER_NULL' we still want them to show an unlink button.

8 years agofix for mistake in own commit r56399, it broke click-dragging to open and select...
Campbell Barton [Thu, 2 May 2013 19:51:32 +0000 (19:51 +0000)]
fix for mistake in own commit r56399, it broke click-dragging to open and select a menu item.

8 years agoFix #35157: export key configuration did not export text input events correctly.
Brecht Van Lommel [Thu, 2 May 2013 19:43:52 +0000 (19:43 +0000)]
Fix #35157: export key configuration did not export text input events correctly.

8 years agoFix #35190: texture mask stencil Reset Transform did not work properly.
Brecht Van Lommel [Thu, 2 May 2013 17:55:17 +0000 (17:55 +0000)]
Fix #35190: texture mask stencil Reset Transform did not work properly.

8 years agoRevert fix for #34822
Ton Roosendaal [Thu, 2 May 2013 15:10:24 +0000 (15:10 +0000)]
Revert fix for #34822

Allowing any-key modifiers to work is cool, but this needs more work.
My previous fix made overlapping key presses (where you release key 1
just after pressing key 2) to not register as valid shortcuts.

8 years agoFix #35174: dynamic paint displacement missing in render.
Brecht Van Lommel [Thu, 2 May 2013 14:42:05 +0000 (14:42 +0000)]
Fix #35174: dynamic paint displacement missing in render.

A previous bugfix disabled the dynamic paint modifier for orco texture
coordinate evaluation of the modifier stack. However the MOD_APPLY_USECACHE
flag is not a good way to check if the modifier is evaluated for orcos.

Instead I've added a MOD_APPLY_ORCO flag. Also removed a bunch of
applyModifierEM callbacks, none of them served a purpose except for the
subsurf modifier.

8 years agoA bit more clear error message...
Bastien Montagne [Thu, 2 May 2013 14:03:56 +0000 (14:03 +0000)]
A bit more clear error message...

8 years agoFix [#35173] Object's draw_type resets when removing smoke
Daniel Genrich [Thu, 2 May 2013 10:21:39 +0000 (10:21 +0000)]
Fix [#35173] Object's draw_type resets when removing smoke

New behaviour:
* On creation, smoke modifier only changes the drawtype for domain to WIRE.
* On deletion, smoke modifier does not change the drawtype.

8 years agoFix #35177: Press P Crashes Blender After Fracture of Cube
Sergey Sharybin [Thu, 2 May 2013 09:45:00 +0000 (09:45 +0000)]
Fix #35177: Press P Crashes Blender After Fracture of Cube

Root of the issue was fixed by Brecht in svn rev56441.
This change only prevents crash of files created in
blender before that fix, and also gives more useable
information about what's wrong (apparently, assert
here was doing nothing).

8 years agoFix #35182: VSE - speed control Trim duration (soft) end reset to 0
Sergey Sharybin [Thu, 2 May 2013 08:25:22 +0000 (08:25 +0000)]
Fix #35182: VSE - speed control Trim duration (soft) end reset to 0

Was a regression in rev53509, whic hallowed manual edit of properties
which weren't supposed to be editing manually.

Added the same effects length update as in trnaslation code, so now
updating strip frames from py/interface will keep things consistent.

8 years agoavoid per-vertex mask layer lookups for dyntopo.
Campbell Barton [Thu, 2 May 2013 06:09:05 +0000 (06:09 +0000)]
avoid per-vertex mask layer lookups for dyntopo.

8 years agofix [#35178] Autoselect-in-list for Vertex Group selection doesn't work.
Campbell Barton [Thu, 2 May 2013 04:59:52 +0000 (04:59 +0000)]
fix [#35178] Autoselect-in-list for Vertex Group selection doesn't work.
disallow assigning values that don't exist into a text field with a search-box.

8 years agointerface: clear red-alert flag when editing a button, confuses and makes it seem...
Campbell Barton [Thu, 2 May 2013 04:30:05 +0000 (04:30 +0000)]
interface: clear red-alert flag when editing a button, confuses and makes it seem the edited value is also wrong.

8 years agodon't show an 'X' next to never-null pointer search menus.
Campbell Barton [Thu, 2 May 2013 04:16:41 +0000 (04:16 +0000)]
don't show an 'X' next to never-null pointer search menus.
also set ShapeKey.relative_key to never-null.

8 years agoadd missing call to update rv3d->persmatob, mostly this worked except with active...
Campbell Barton [Thu, 2 May 2013 02:39:30 +0000 (02:39 +0000)]
add missing call to update rv3d->persmatob, mostly this worked except with active-unselected object

8 years agoremove re-allocations while building weight paint color array, move button to show...
Campbell Barton [Thu, 2 May 2013 01:49:10 +0000 (01:49 +0000)]
remove re-allocations while building weight paint color array, move button to show weightpaint below other overlay buttons in the 'Mesh Display' panel.

8 years agofix [#34609] mesh.getVertex doesn't work as spected with poly.getMaterialIndex()...
Campbell Barton [Wed, 1 May 2013 22:41:55 +0000 (22:41 +0000)]
fix [#34609] mesh.getVertex doesn't work as spected with poly.getMaterialIndex() and poly vertex indexes
revert r22906 (own old commit, was incorrectly trying to make vertex indices absolute)

8 years agomake rna layer access less cryptic by using ARRAY_HAS_ITEM(), modified this to use...
Campbell Barton [Wed, 1 May 2013 22:39:34 +0000 (22:39 +0000)]
make rna layer access less cryptic by using ARRAY_HAS_ITEM(), modified this to use unsigned offset.

8 years agoFix 2D painting gave squares rather than a disk for the "Max" curve falloff shape.
Brecht Van Lommel [Wed, 1 May 2013 19:50:37 +0000 (19:50 +0000)]
Fix 2D painting gave squares rather than a disk for the "Max" curve falloff shape.

8 years agoFix double free error in OpenEXR when file cannot be saved
Sv. Lockal [Wed, 1 May 2013 19:07:32 +0000 (19:07 +0000)]
Fix double free error in OpenEXR when file cannot be saved

8 years agoSome minor cleanup/polish...
Bastien Montagne [Wed, 1 May 2013 17:49:19 +0000 (17:49 +0000)]
Some minor cleanup/polish...

8 years agoFix #35081: opening .blend files with chinese characters not working. For
Brecht Van Lommel [Wed, 1 May 2013 17:43:33 +0000 (17:43 +0000)]
Fix #35081: opening .blend files with chinese characters not working. For
compressed files we were not passing the full wide char path to zlib, so not
all file names worked. Now we use gzopen_w available in new zlib versions.

Patch by Tamito Kajiyama, I added an extra check for the zlib version so it
keeps compiling with older versions for now.

For platform maintainers:

Part of this commit are zlib 1.2.8 libraries for windows 32 bit. We still
need update libraries for windows 64 bit and mingw. There's a readme.txt
and build.bat included with instructions on how to build.

8 years agoedge_inside_circle was doing redundant float -> int -> float conversion, also dist_sq...
Campbell Barton [Wed, 1 May 2013 17:27:14 +0000 (17:27 +0000)]
edge_inside_circle was doing redundant float -> int -> float conversion, also dist_squared_to_line_segment_v2 is quite simple so remove radius checks.

8 years agoThis should at least prevent crash in [#35172]...
Bastien Montagne [Wed, 1 May 2013 17:11:07 +0000 (17:11 +0000)]
This should at least prevent crash in [#35172]...

8 years agofix error running ED_view3d_project_float_v3_m4 on 2d vec (thanks Sergey for pointing...
Campbell Barton [Wed, 1 May 2013 17:03:00 +0000 (17:03 +0000)]
fix error running ED_view3d_project_float_v3_m4 on 2d vec (thanks Sergey for pointing out!), also remove redundant vector copy in knife project.

8 years agoFix Show Brush button being missing from the UI for paint modes, the feature was
Brecht Van Lommel [Wed, 1 May 2013 15:28:56 +0000 (15:28 +0000)]
Fix Show Brush button being missing from the UI for paint modes, the feature was
already implemented, it's in the Appearance panel now. Also added that panel to
the image editor now since it's relevant there too.

8 years agoFix missing brush cursor redraw for texture paint when no pixels changed in the
Brecht Van Lommel [Wed, 1 May 2013 14:59:50 +0000 (14:59 +0000)]
Fix missing brush cursor redraw for texture paint when no pixels changed in the
image, no images need to be refreshed then but the cursors needs to be redrawn
still. Otherwise it gets stuck, especially annoying in unexpected cases where the
mask has reached the maximum for all pixels in the brush.

8 years agoFix #35149: solidify modifier + vertex parent not working after going in and out
Brecht Van Lommel [Wed, 1 May 2013 14:34:12 +0000 (14:34 +0000)]
Fix #35149: solidify modifier + vertex parent not working after going in and out
of editmode on the child object.

Problem was that the object custom data mask was not taken into account when
rebuilding the derivedmesh in some cases, which is needed for the derivedmesh
to contain the mapping back to the original vertices. Now this data mask is
used for any derivedmesh build that will be cached.

Also problematic was that the datamask for the active object was applied to
all objects in the scene, which caused the parent object to be recalculated
when it didn't need to be. Now this datamask is only used for the active object.

8 years agoFix for [#35116] Freestyle StringUtils::toAscii breakes non-ascii path values.
Tamito Kajiyama [Wed, 1 May 2013 13:34:56 +0000 (13:34 +0000)]
Fix for [#35116] Freestyle StringUtils::toAscii breakes non-ascii path values.

Just removed all calls of StringUtils::toAscii() as well as the function definitions.

8 years agoFix for bug reported by Thomas Dinges on IRC: OSL script node was not initializing...
Lukas Toenne [Wed, 1 May 2013 13:28:44 +0000 (13:28 +0000)]
Fix for bug reported by Thomas Dinges on IRC: OSL script node was not initializing the data_type variable for shader sockets and so tried to set a non-existing float RNA property, leading to failed assert.

8 years agoCycles / OSL:
Thomas Dinges [Wed, 1 May 2013 13:21:15 +0000 (13:21 +0000)]
Cycles / OSL:
* Add a few more OSL templates to the Text Editor, so people can use some of the OSL only shaders and closures.

* Temperature (Kelvin) to RGB converter
* Wavelength to RGB converter
* Ramp closure (Phong and Diffuse)
* Toon closure (Diffuse and Specular)

8 years agoFix missing brush texture mask in texture properties, for cycles. Handling this
Brecht Van Lommel [Wed, 1 May 2013 12:58:37 +0000 (12:58 +0000)]
Fix missing brush texture mask in texture properties, for cycles. Handling this
properly with blender internal is probably for after release, when we can add
the same system to gather textures from brushes, modifiers, force fields, ...

8 years agoFix #35171: crash rendering cube with two subsurf modifier in some circumstances.
Brecht Van Lommel [Wed, 1 May 2013 12:35:31 +0000 (12:35 +0000)]
Fix #35171: crash rendering cube with two subsurf modifier in some circumstances.
Problem was actually integer overflow in the requested data layers (1 << 31) does
not fit in an integer, it only goes up to (1 << 31) - 1.

8 years agoFix #35166: texture paint mask texture stencil not scaling properly.
Brecht Van Lommel [Wed, 1 May 2013 11:57:31 +0000 (11:57 +0000)]
Fix #35166: texture paint mask texture stencil not scaling properly.

8 years ago[Bug #35108] Shortcuts 3dsmax blender 2.67RC
Michael Fox [Wed, 1 May 2013 11:35:36 +0000 (11:35 +0000)]
[Bug #35108] Shortcuts 3dsmax blender 2.67RC

Quad View: ALT + W
Switch Wireframe / Solid: F3
Render: F10
Properties: F12
Ortho / perspective View: P
Zoom to selected center: Z
Select/ Deselect all: CTRL + A

in changing A hotkeys ctrl-a hotkeys are now ctrl-shift-a and GameEngine is now ctrl-alt-shift-p

8 years agoreplace error reports with poll() function for editmesh select ungrouped
Campbell Barton [Wed, 1 May 2013 06:07:26 +0000 (06:07 +0000)]
replace error reports with poll() function for editmesh select ungrouped

8 years agofix for select ungrouped vertices not flushing, also group select menu items more...
Campbell Barton [Wed, 1 May 2013 05:59:58 +0000 (05:59 +0000)]
fix for select ungrouped vertices not flushing, also group select menu items more logically.

8 years agouse 'normal' orientation rather then 'local' with individual origins to use the per...
Campbell Barton [Wed, 1 May 2013 05:26:10 +0000 (05:26 +0000)]
use 'normal' orientation rather then 'local' with individual origins to use the per-element axis-matrix.

8 years agoFix projection paint clone/soften/smear no longer working with textures,
Brecht Van Lommel [Wed, 1 May 2013 03:28:14 +0000 (03:28 +0000)]
Fix projection paint clone/soften/smear no longer working with textures,

Moved the code after the masking check so we can skip the texture lookup
if the pixel is done, is a bit faster. Also hide the color wheel for these
tools, only did it for 2D paint in previous commit.

8 years agostyle cleanup
Campbell Barton [Wed, 1 May 2013 02:53:45 +0000 (02:53 +0000)]
style cleanup

8 years agofix [#35164] UV unwrapping crash blender
Campbell Barton [Wed, 1 May 2013 02:40:53 +0000 (02:40 +0000)]
fix [#35164] UV unwrapping crash blender
(own fail with misuse of alloca)

8 years agoremove headers from FRS_freestyle.h
Campbell Barton [Wed, 1 May 2013 00:26:47 +0000 (00:26 +0000)]
remove headers from FRS_freestyle.h

8 years agoholding ctrl when using arrow keys in the text editor didn't navigate newlines.
Campbell Barton [Wed, 1 May 2013 00:15:22 +0000 (00:15 +0000)]
holding ctrl when using arrow keys in the text editor didn't navigate newlines.

8 years agofix for missing slot in edge bisect bmesh operator.
Campbell Barton [Tue, 30 Apr 2013 23:35:02 +0000 (23:35 +0000)]
fix for missing slot in edge bisect bmesh operator.

8 years agofix for exception in console auto-completing an object with __getitem__ but no __len_...
Campbell Barton [Tue, 30 Apr 2013 23:01:12 +0000 (23:01 +0000)]
fix for exception in console auto-completing an object with __getitem__ but no __len__ (BMEdge).

8 years agofix for yet another off by one error in console code, could crash deleting words...
Campbell Barton [Tue, 30 Apr 2013 22:46:41 +0000 (22:46 +0000)]
fix for yet another off by one error in console code, could crash deleting words (but mostly it was hidden by guardedalloc), hopefully the last of this kind in console.

8 years agoremove direct freestyle data access from bmesh, was crashing and this should really...
Campbell Barton [Tue, 30 Apr 2013 22:27:52 +0000 (22:27 +0000)]
remove direct freestyle data access from bmesh, was crashing and this should really only be done via customdata layer support.

8 years agoFix tiled overlay not matching up with stroke result in 2d painting.
Antony Riakiotakis [Tue, 30 Apr 2013 22:14:19 +0000 (22:14 +0000)]
Fix tiled overlay not matching up with stroke result in 2d painting.

8 years agoFix: Overlay was getting invalidated too often in image editor making
Antony Riakiotakis [Tue, 30 Apr 2013 21:17:21 +0000 (21:17 +0000)]
Fix: Overlay was getting invalidated too often in image editor making
refresh extremely slow.

8 years agoFix: texture alpha masking not functional after recent commits. Mask is
Antony Riakiotakis [Tue, 30 Apr 2013 20:57:45 +0000 (20:57 +0000)]
Fix: texture alpha masking not functional after recent commits. Mask is
used to see if area has been covered by brush, so exclude the texture
alpha and texture alpha masks from mask comparisons. Coming next:
texture masks for 2d painting.

8 years agoProperties Editor / UI:
Thomas Dinges [Tue, 30 Apr 2013 18:57:04 +0000 (18:57 +0000)]
Properties Editor / UI:
* Render Passes -> Passes, same as Cycles.

8 years agofix for setting int customdata layer names not ensuring uniqueness.
Campbell Barton [Tue, 30 Apr 2013 17:30:40 +0000 (17:30 +0000)]
fix for setting int customdata layer names not ensuring uniqueness.
also use generic layer name callbacks for vert/edge/face/poly/loop.

8 years agoMore painting fixes:
Brecht Van Lommel [Tue, 30 Apr 2013 16:07:52 +0000 (16:07 +0000)]
More painting fixes:

* 2D image painting with textures that contained alpha did not work correctly,
  had been broken for a while.

* 2D image panels texture (mask) panels showed wrong buttons for texture overlay.

* Texture map mode 3D now also uses masking, like Tiled and Stencil the texture
  does not move along with the brush so it works fine.

* 2D image paint View mapping did not work correct, especially noticeable with
  Rake rotation.

* Masking is now disabled for the smear tool, this can't really work because
  the original image is constantly changing and gave artifacts.

8 years agoBug fix #35151
Ton Roosendaal [Tue, 30 Apr 2013 15:17:20 +0000 (15:17 +0000)]
Bug fix #35151

NLA editor: the channel list and the main area were not perfectly aligned, and could
jump a bit around. Easy fix.

8 years agoFix compilation in release mode with strict flags
Sergey Sharybin [Tue, 30 Apr 2013 12:18:09 +0000 (12:18 +0000)]
Fix compilation in release mode with strict flags

8 years agoBug fix #35143
Ton Roosendaal [Tue, 30 Apr 2013 11:11:18 +0000 (11:11 +0000)]
Bug fix #35143

Animplayer treated .tif extensions as movie files, so that didn't work.
Added another hardcoded check for it, like for png tga exr jpg etc.

Why FFmpeg thinks .tif is a movie... that's for another day :)
Quicktime QTKit did same btw.

8 years agoFix another part of #35141: there was no way to reset the stencil transform after...
Brecht Van Lommel [Tue, 30 Apr 2013 10:32:02 +0000 (10:32 +0000)]
Fix another part of #35141: there was no way to reset the stencil transform after e.g.
scaling it along one axis, now there's a Reset Transform button.

The Image Aspect button is now also hidden unless the texture is an image texture.
And also hide the color wheel for painting tools that don't use colors.