8 years agofix own error with updating edge tagging (seams didnt work)
Campbell Barton [Mon, 24 Jun 2013 05:26:42 +0000 (05:26 +0000)]
fix own error with updating edge tagging (seams didnt work)

8 years agomake behavior for edge tagging more predictable.
Campbell Barton [Mon, 24 Jun 2013 05:24:27 +0000 (05:24 +0000)]
make behavior for edge tagging more predictable.
last-picked edge is always selected+active.

8 years agoadd api calls for BM_mesh_active_vert/edge_get.
Campbell Barton [Mon, 24 Jun 2013 04:51:56 +0000 (04:51 +0000)]
add api calls for BM_mesh_active_vert/edge_get.
inspecting the edit-selection inline was cumbersome.

8 years agode-duplicate ED_mesh_active_dvert_* functions.
Campbell Barton [Mon, 24 Jun 2013 04:41:03 +0000 (04:41 +0000)]
de-duplicate ED_mesh_active_dvert_* functions.

not to devs - please don't just copy static functions around, make them api calls and add to headers.

8 years agoFix [#35852], hide Cycles sampling pattern menu, when using GPU.
Thomas Dinges [Mon, 24 Jun 2013 04:28:07 +0000 (04:28 +0000)]
Fix [#35852], hide Cycles sampling pattern menu, when using GPU.

8 years agoBGE: Fix for [#35737] "Action actuator in property mode don't work with values lower...
Mitchell Stokes [Mon, 24 Jun 2013 04:24:01 +0000 (04:24 +0000)]
BGE: Fix for [#35737] "Action actuator in property mode don't work with values lower then 1" reported by HG1.

IPOs were only set as "initialized" if the current time was greater than 0.0, which is why negative values weren't working.

8 years agoBGE: fix [#35811] Blenderplayer crash on closing if file saved with an actual version.
Daniel Stokes [Mon, 24 Jun 2013 04:21:17 +0000 (04:21 +0000)]
BGE: fix [#35811] Blenderplayer crash on closing if file saved with an actual version.

Making sure free_nodesystem() is called before BLO_blendfiledata_free() fixes the problem. free_nodesystem() relies on blendfiledata.

8 years agouse booleans for bpath api.
Campbell Barton [Mon, 24 Jun 2013 03:06:32 +0000 (03:06 +0000)]
use booleans for bpath api.

8 years agofix [#35825] "Find missing files" seems to search for files which are not missing
Campbell Barton [Mon, 24 Jun 2013 02:57:06 +0000 (02:57 +0000)]
fix [#35825] "Find missing files" seems to search for files which are not missing
Made finding paths for files that exist optional (and off by default), since its handy for relocating projects.

8 years agoremove unused var in view3d_panel_vgroup
Campbell Barton [Mon, 24 Jun 2013 02:30:09 +0000 (02:30 +0000)]
remove unused var in view3d_panel_vgroup

8 years agoFix #35847: cycles group nodes did not work well exposing inputs like normal or
Brecht Van Lommel [Sun, 23 Jun 2013 19:24:32 +0000 (19:24 +0000)]
Fix #35847: cycles group nodes did not work well exposing inputs like normal or
texture coordinate that should automatically use the default normal or texture
coordinate appropriate for that node, rather than some fixed value specified by
the user.

8 years agoprevent cycles sm_35 kernel to be built on win32 with vs2012 because of ptxas crashes.
Jürgen Herrmann [Sun, 23 Jun 2013 19:07:46 +0000 (19:07 +0000)]
prevent cycles sm_35 kernel to be built on win32 with vs2012 because of ptxas crashes.
Workaround to keep buildbot running.
I filed a bug report to NVidia, will remove this as soon as the problem is fixed.

8 years agocorrect example [#35850] documentation error for mathutils.Vector
Campbell Barton [Sun, 23 Jun 2013 19:04:12 +0000 (19:04 +0000)]
correct example [#35850] documentation error for mathutils.Vector

8 years agoChanged text alignment to better match old layout behaviour
Gaia Clary [Sun, 23 Jun 2013 18:21:26 +0000 (18:21 +0000)]
Changed text alignment to better match old layout behaviour

8 years agoreadded 'old' layout due to user complains
Gaia Clary [Sun, 23 Jun 2013 18:00:14 +0000 (18:00 +0000)]
readded 'old' layout due to user complains

8 years agoClarify tooltip for Weight paint tool
Gaia Clary [Sun, 23 Jun 2013 17:27:50 +0000 (17:27 +0000)]
Clarify tooltip for Weight paint tool

8 years agoadd missing notifiers for mask tools, some wouldn't refresh the compositor.
Campbell Barton [Sun, 23 Jun 2013 15:48:00 +0000 (15:48 +0000)]
add missing notifiers for mask tools, some wouldn't refresh the compositor.

8 years agoAdded polished Vertex Weights Panel (properties sidebar)
Gaia Clary [Sun, 23 Jun 2013 15:37:08 +0000 (15:37 +0000)]
Added polished Vertex Weights Panel (properties sidebar)

8 years agomask menus were missing from the image editor.
Campbell Barton [Sun, 23 Jun 2013 15:12:26 +0000 (15:12 +0000)]
mask menus were missing from the image editor.

8 years agotweak comparisons for connect pair in rare case the value == CONNECT_EPS.
Campbell Barton [Sun, 23 Jun 2013 15:00:12 +0000 (15:00 +0000)]
tweak comparisons for connect pair in rare case the value == CONNECT_EPS.

8 years agoWorkaround visual studio 2012 compiler bug compiling large RNA_blender_cpp.h, removed
Brecht Van Lommel [Sun, 23 Jun 2013 13:59:06 +0000 (13:59 +0000)]
Workaround visual studio 2012 compiler bug compiling large RNA_blender_cpp.h, removed
the comments/descriptions for now to make it smaller. Maybe eventual solution would be
to split this up but for now it's not a public API yet anyway.

8 years agoFix #35848: render crash in background mode due to missing G.main.
Brecht Van Lommel [Sun, 23 Jun 2013 13:58:59 +0000 (13:58 +0000)]
Fix #35848: render crash in background mode due to missing G.main.

8 years agoSwitch buildbot to use OpenEXR-2.0
Sergey Sharybin [Sun, 23 Jun 2013 11:31:54 +0000 (11:31 +0000)]
Switch buildbot to use OpenEXR-2.0

8 years agofix for connect_pair cutting across triangle verts from edges.
Campbell Barton [Sun, 23 Jun 2013 09:50:10 +0000 (09:50 +0000)]
fix for connect_pair cutting across triangle verts from edges.

8 years agoremove vec_rot_to_mat3(), replace with axis_angle_normalized_to_mat3()
Campbell Barton [Sat, 22 Jun 2013 23:58:52 +0000 (23:58 +0000)]
remove vec_rot_to_mat3(), replace with axis_angle_normalized_to_mat3()

8 years agoadd strict conversion flags for mask_rasterize and reduce some signed/unsigned compar...
Campbell Barton [Sat, 22 Jun 2013 23:37:45 +0000 (23:37 +0000)]
add strict conversion flags for mask_rasterize and reduce some signed/unsigned comparisons.

8 years agoMake edgehash and ghash use the same limit for expanding buckets, r26206 changed...
Campbell Barton [Sat, 22 Jun 2013 22:30:56 +0000 (22:30 +0000)]
Make edgehash and ghash use the same limit for expanding buckets, r26206 changed ghash.
double checked and r26206 does indeed give a speedup, so change for edgehash too.

8 years agoreduce sign conversion comparisons for smallhash and tweak warnings elsewhere.
Campbell Barton [Sat, 22 Jun 2013 20:20:06 +0000 (20:20 +0000)]
reduce sign conversion comparisons for smallhash and tweak warnings elsewhere.

8 years agobuild fix for old gccs (after rev.57620)
Dalai Felinto [Sat, 22 Jun 2013 20:00:17 +0000 (20:00 +0000)]
build fix for old gccs (after rev.57620)
enabling the new pragmas only when gcc >= 4.6
gcc 4.2.1 here (OSX)

8 years agocomment the icon file from the theme buttons since its not working.
Campbell Barton [Sat, 22 Jun 2013 18:08:58 +0000 (18:08 +0000)]
comment the icon file from the theme buttons since its not working.

8 years agoExtend existing editmesh connect tool so it can connect across multiple faces.
Campbell Barton [Sat, 22 Jun 2013 17:25:02 +0000 (17:25 +0000)]
Extend existing editmesh connect tool so it can connect across multiple faces.
only use this when 2 vertices are selected, otherwise use the same behavior as before.

This works a little like a fast knife tool, but it only cuts straight lines and doesnt depend on the view-port.


8 years agoCycles: ensure any SSE data is allocated 16 byte aligned, happens automatically
Brecht Van Lommel [Sat, 22 Jun 2013 14:35:09 +0000 (14:35 +0000)]
Cycles: ensure any SSE data is allocated 16 byte aligned, happens automatically
on many platforms but is not assured everywhere.

8 years agoCycles OSL: don't set optimize=2 option in OSL shading system, this is already
Brecht Van Lommel [Sat, 22 Jun 2013 12:52:15 +0000 (12:52 +0000)]
Cycles OSL: don't set optimize=2 option in OSL shading system, this is already
the default, and by not setting it the user can override it with an environmnet
variable, for example:

export OSL_OPTIONS="optimize=0"

8 years agostyle cleanup
Campbell Barton [Sat, 22 Jun 2013 10:59:30 +0000 (10:59 +0000)]
style cleanup

8 years agoMinor code cleanup in 'source/gameengine/GamePlayer/ghost/GPG_Application.cpp'.
Inês Almeida [Sat, 22 Jun 2013 09:04:33 +0000 (09:04 +0000)]
Minor code cleanup in 'source/gameengine/GamePlayer/ghost/GPG_Application.cpp'.
Removed a function call with no effect and merged two other lines for legibility.
This commit was reviewed by Moguri.

8 years agoBGE bugfix/patch "[#26075] game anaglyph colors are inverted" by Juha Maki-Kanto...
Dalai Felinto [Sat, 22 Jun 2013 08:04:02 +0000 (08:04 +0000)]
BGE bugfix/patch "[#26075] game anaglyph colors are inverted" by Juha Maki-Kanto (kanttori)
Later I will try to find when this bug was introduced. But it's definitively broken in trunk.

8 years agoBGE: Fix for [#35815] "makeScreenshot() relative path not working in Blenderplayer...
Mitchell Stokes [Sat, 22 Jun 2013 05:27:28 +0000 (05:27 +0000)]
BGE: Fix for [#35815] "makeScreenshot() relative path not working in Blenderplayer" reported by HG1.

Someone forgot to add relative path expansion (BLI_path_abs) to the Blenderplayer...

8 years agoFix #35812: cycles image texture node not doing proper alpha handling of PNG
Brecht Van Lommel [Fri, 21 Jun 2013 13:05:10 +0000 (13:05 +0000)]
Fix #35812: cycles image texture node not doing proper alpha handling of PNG
images with open shading language enabled.

8 years agoCycles OpenCL: make displacement and world importance sampling work.
Brecht Van Lommel [Fri, 21 Jun 2013 13:05:08 +0000 (13:05 +0000)]
Cycles OpenCL: make displacement and world importance sampling work.

8 years agoFix #35804: NVidia OpenCL render issue after sampler changes, workaround what looks...
Brecht Van Lommel [Fri, 21 Jun 2013 12:34:34 +0000 (12:34 +0000)]
Fix #35804: NVidia OpenCL render issue after sampler changes, workaround what looks like a compiler bug.

8 years agoCode cleanup: fix some vs2012 compiler warnings
Brecht Van Lommel [Fri, 21 Jun 2013 12:33:19 +0000 (12:33 +0000)]
Code cleanup: fix some vs2012 compiler warnings

8 years agoBGE: fix [#32775] LibFree crashing
Daniel Stokes [Fri, 21 Jun 2013 06:56:43 +0000 (06:56 +0000)]
BGE: fix [#32775] LibFree crashing

Used the engine's RemoveScene (which ultimately calls the converter's RemoveScene) instead of the converter's RemoveScene when the converter free a blend file. This handles the scene removal in a safer fashion and solves the crash described in part 2 of the bug report. Part 1 no longer appears to cause a crash.

8 years agoDefault paint context will be image paint if object is not in a paint mode. It solves...
Antony Riakiotakis [Thu, 20 Jun 2013 23:20:33 +0000 (23:20 +0000)]
Default paint context will be image paint if object is not in a paint mode. It solves not being able to tweak textures in the new texture context button system if an image editor is set up for painting and active object is in object mode.

8 years agoBGE: Fix for [#33163] "Text Font Bug" reported and fixed by HG1.
Mitchell Stokes [Thu, 20 Jun 2013 22:37:55 +0000 (22:37 +0000)]
BGE: Fix for [#33163] "Text Font Bug" reported and fixed by HG1.

The embedded player was calling glPolygonMode(GL_FRONT_AND_BACK, GL_FILL) before rendering font objects, but someone forgot to add this to the Blenderplayer.

8 years agoUpdating suse packman repo url, name and alias to go in line with what suse does...
Daniel Salazar [Thu, 20 Jun 2013 21:36:30 +0000 (21:36 +0000)]
Updating suse packman repo url, name and alias to go in line with what suse does right now. At least this should avoid duplicate packman repos on 12.3

8 years agoreduce sign comparisons for ghash and add more strict warnings for gcc.
Campbell Barton [Thu, 20 Jun 2013 19:39:29 +0000 (19:39 +0000)]
reduce sign comparisons for ghash and add more strict warnings for gcc.

8 years ask suse users whether they want to install packman or not (can...
Bastien Montagne [Thu, 20 Jun 2013 19:19:11 +0000 (19:19 +0000)] ask suse users whether they want to install packman or not (can be already installed/enabled from a different URL, Suse repositories management is to complex to be handled automatically at this point).

8 years agomove sort from vert/edge/face into mesh menu only (sorting isn't such a common operat...
Campbell Barton [Thu, 20 Jun 2013 19:09:18 +0000 (19:09 +0000)]
move sort from vert/edge/face into mesh menu only (sorting isn't such a common operation).
correct own recently added assert.

8 years agosupport proportional editing with x-mirror enabled.
Campbell Barton [Thu, 20 Jun 2013 18:19:42 +0000 (18:19 +0000)]
support proportional editing with x-mirror enabled.

8 years agoMove DLL copying to before actual build process.
Nathan Letwory [Thu, 20 Jun 2013 14:19:46 +0000 (14:19 +0000)]
Move DLL copying to before actual build process.

8 years agoSequencer: fix names when adding several video (or audio) files at once (all strips...
Bastien Montagne [Thu, 20 Jun 2013 13:52:58 +0000 (13:52 +0000)]
Sequencer: fix names when adding several video (or audio) files at once (all strips were getting the same, annoying ;) ).

8 years agoConstruct orco UV layer for curve when applying constructive modifier
Sergey Sharybin [Thu, 20 Jun 2013 13:27:48 +0000 (13:27 +0000)]
Construct orco UV layer for curve when applying constructive modifier
Also construct orco uv layer when converting curve to a mesh.

This makes it possible to preserve automatically generated coordinates
("use uv for mapping" option) when using constructive modifiers or
converting curve to the mesh.

With cycles nothing special is needed to preserve texture mapping
after such operations, in blender internal you'll need to change
texture mapping from Generated to UV.

This feature is useful on it's own and also would help in potential
switch 3d viewport to always use DM to draw objects, which would
help making drawing more thread-safe.

8 years agotransform: 2d option for proportional editmode,
Campbell Barton [Thu, 20 Jun 2013 13:24:07 +0000 (13:24 +0000)]
transform: 2d option for proportional editmode,
Uses for view orientation for distance calculation, can give nicer results when you dont want twisting caused by changes in depth.

8 years agoCycles: update build configurations to include CUDA sm_35 architecture. When using
Brecht Van Lommel [Thu, 20 Jun 2013 13:10:47 +0000 (13:10 +0000)]
Cycles: update build configurations to include CUDA sm_35 architecture. When using
a compiler older than CUDA 5.0 it will give a warning and skip this architecture.

8 years agoFix #35807: blender internal motion blur render without antialiasing would
Brecht Van Lommel [Thu, 20 Jun 2013 11:47:09 +0000 (11:47 +0000)]
Fix #35807: blender internal motion blur render without antialiasing would
give black speckles (self intersection errors) in raytraced shadows.

Motion blur does some extra offsets for free antialiasing in the motion blur
samples, but did not take them into account everywhere.

8 years agoFix #35439: Render Border have weird influence on compositing
Sergey Sharybin [Thu, 20 Jun 2013 11:32:08 +0000 (11:32 +0000)]
Fix #35439: Render Border have weird influence on compositing

Issue was caused by render result passing to a compositor
was having a resolution of border when using a camera border
in cases there's no Render Layer nodes.

Made it so resolution in which compositor works does not
depend on whether Render Layers present or not.

8 years agoeditmesh draw optimizations: use customdata offsets rather then per-element lookups.
Campbell Barton [Thu, 20 Jun 2013 11:18:19 +0000 (11:18 +0000)]
editmesh draw optimizations: use customdata offsets rather then per-element lookups.

8 years agoFix crash in when dding subsurf modifier to curves
Sergey Sharybin [Thu, 20 Jun 2013 11:00:35 +0000 (11:00 +0000)]
Fix crash in when dding subsurf modifier to curves

Issue was caused by svn rev57566 which didn't take into
account the fact that curves could have dm of type CCGDM
and in this case CDDM_calc_normals_mapping_ex would fail

Added a check around normals update call bout whether
DM is CDDM or not. The same happens in mesh's modifier

8 years agoFix for [#35230] CPU freeze at playback after cutting/deleting/duplicating audio...
Joerg Mueller [Thu, 20 Jun 2013 07:46:40 +0000 (07:46 +0000)]
Fix for [#35230] CPU freeze at playback after cutting/deleting/duplicating audio strip

8 years agoremove NULL checks for return values from EDBM_***_at_index calls.
Campbell Barton [Thu, 20 Jun 2013 07:00:57 +0000 (07:00 +0000)]
remove NULL checks for return values from EDBM_***_at_index calls.

8 years agoBGE: fix [#35447] LibLoad Meshes and Scenes causes crash of blender
Daniel Stokes [Thu, 20 Jun 2013 06:17:28 +0000 (06:17 +0000)]
BGE: fix [#35447] LibLoad Meshes and Scenes causes crash of blender

KX_BlenderSceneConverter's destructor freed the contents of several std::vectors without removing those contents from the vectors. Later these vectors are iterated through. Making sure the vectors get cleared solves this problem.

8 years agoBGE: Fix for [#34781] "bge.texture.ImageRender does not show Font object" reported...
Mitchell Stokes [Thu, 20 Jun 2013 03:50:02 +0000 (03:50 +0000)]
BGE: Fix for [#34781] "bge.texture.ImageRender does not show Font object" reported by Monster.

This fix is mostly based off of HG1's patch from the bug report, which had ImageRender::Render() call KX_KetsjiEngine::RenderFonts(). However, I have moved RenderFonts() from KX_KetsjiEngine to KX_Scene where all of the other font and rendering functions are. The real fix for this mess would be to not have ImageRender::Render() have so much duplicate code from KX_KetsjiEngine::Render(), but that's a code cleanup problem for another day.

8 years agoBGE: Fix for [#35479] "OSKEY (Command Key on Mac) not working" reported by Mike Pan...
Mitchell Stokes [Thu, 20 Jun 2013 03:22:55 +0000 (03:22 +0000)]
BGE: Fix for [#35479] "OSKEY (Command Key on Mac) not working" reported by Mike Pan (mpan3).

The OSKEY was never added to the game engine, so it didn't recognize it.

8 years agoSnap to Symmetry (editmesh tool)
Campbell Barton [Wed, 19 Jun 2013 21:35:06 +0000 (21:35 +0000)]
Snap to Symmetry (editmesh tool)

Update from a script I had in 2.4x, useful if you have mesh data which is _almost_ symmetrical,
there was no good way to automatically make the minor adjustments to make the mesh fully symmetrical.

Options for...
- symmetry-axis.
- blending between the +/- side.
- center mid verts.

Access from Mesh menu.

8 years agoadd axis option to EDBM_verts_mirror_cache_begin
Campbell Barton [Wed, 19 Jun 2013 21:23:00 +0000 (21:23 +0000)]
add axis option to EDBM_verts_mirror_cache_begin

8 years agoBKE_bmbvh_find_vert_closest: very stupid & old bug, it was comparing hit locations...
Campbell Barton [Wed, 19 Jun 2013 20:43:38 +0000 (20:43 +0000)]
BKE_bmbvh_find_vert_closest: very stupid & old bug, it was comparing hit locations incorrectly so that only the first hit was valid.
This isn't noticeable for small distances, otherwise it gives bad results.

8 years agocorrect editmesh BKE_bmbvh_find_vert_closest(), distances are expected to be squared.
Campbell Barton [Wed, 19 Jun 2013 20:11:28 +0000 (20:11 +0000)]
correct editmesh BKE_bmbvh_find_vert_closest(), distances are expected to be squared.

8 years agocorrect for own regressions when refactoring select-path, was using heap popmin incor...
Campbell Barton [Wed, 19 Jun 2013 19:59:49 +0000 (19:59 +0000)]
correct for own regressions when refactoring select-path, was using heap popmin incorrectly.

8 years agoThis commit tackles the "context" buttons in Properties header, which were still...
Bastien Montagne [Wed, 19 Jun 2013 19:37:17 +0000 (19:37 +0000)]
This commit tackles the "context" buttons in Properties header, which were still using "ugly" old UI code.

It removes buttons_header.c file, adds a (small) one, with a PROPERTIES_HT_header class, which simply uses the RNA enum to draw the context buttons.
It also fixes that enum, btw, it always featured all contexts, which means you could (try to!) set through RNA invalid contexts...

Thanks to brecht and dingto for the reviews.

8 years agoRemove paranoid null checks for editmesh EDBM_vert_at_index and friends (use asserts...
Campbell Barton [Wed, 19 Jun 2013 18:59:54 +0000 (18:59 +0000)]
Remove paranoid null checks for editmesh EDBM_vert_at_index and friends (use asserts instead).
temp set BM_OMP_LIMIT to zero for better testing before release.

8 years agointernal editmesh api: add an extended version of EDBM_verts_mirror_cache_begin which...
Campbell Barton [Wed, 19 Jun 2013 18:22:00 +0000 (18:22 +0000)]
internal editmesh api: add an extended version of EDBM_verts_mirror_cache_begin which takes arguments to give some more control.

8 years agoCycles: optimized SSE BVH traversal now also works with SSE2 CPUs, so all the
Brecht Van Lommel [Wed, 19 Jun 2013 17:54:26 +0000 (17:54 +0000)]
Cycles: optimized SSE BVH traversal now also works with SSE2 CPUs, so all the
way back to Pentium 4, using a slightly less efficient instruction.

Also ensure /Ox is used for Visual Studio for RelWithDebInfo builds.

8 years agoCycles: prepare to make CUDA 5.0 the official version we use
Brecht Van Lommel [Wed, 19 Jun 2013 17:54:23 +0000 (17:54 +0000)]
Cycles: prepare to make CUDA 5.0 the official version we use

* Add CUDA compiler version detection to cmake/scons/runtime
* Remove noinline in kernel_shader.h and reenable --use_fast_math if CUDA 5.x
  is used, these were workarounds for CUDA 4.2 bugs
* Change max number of registers to 32 for sm 2.x (based on performance tests
  from Martijn Berger and confirmed here), and also for NVidia OpenCL.

Overall it seems that with these changes and the latest CUDA 5.0 download, that
performance is as good as or better than the 2.67b release with the scenes and
graphics cards I tested.

8 years agoFix for Debug build on MSVC2008 and MSVC2012 after Cycles Kernel optimization:
Jürgen Herrmann [Wed, 19 Jun 2013 17:17:51 +0000 (17:17 +0000)]
Fix for Debug build on MSVC2008 and MSVC2012 after Cycles Kernel optimization:

Compiler optimization was accidentally set to /Ox for debug build too.
Changed this to be /Od in Debug and /Ox in Release mode.

8 years agoUsability:
Ton Roosendaal [Wed, 19 Jun 2013 15:20:50 +0000 (15:20 +0000)]

For users without middle-mouse buttons, they can now use Circle and Border
deselect by holding SHIFT. Middle mouse still works too.

8 years agoFix for expanded enums with icon_only enabled, name of each item was still used to...
Bastien Montagne [Wed, 19 Jun 2013 15:08:07 +0000 (15:08 +0000)]
Fix for expanded enums with icon_only enabled, name of each item was still used to compute its button's size!

8 years agofix own regression with normal recalculation updates
Campbell Barton [Wed, 19 Jun 2013 15:05:02 +0000 (15:05 +0000)]
fix own regression with normal recalculation updates

8 years agoui precision drawing - avoid calling pow(10, -prec) since the range is small use...
Campbell Barton [Wed, 19 Jun 2013 14:08:27 +0000 (14:08 +0000)]
ui precision drawing - avoid calling pow(10, -prec) since the range is small use a fixed array.

8 years agoTake precision into account for calculating display of small numbers
Gaia Clary [Wed, 19 Jun 2013 12:16:50 +0000 (12:16 +0000)]
Take precision into account for calculating display of small numbers

8 years agofix for filesel autocomplete, it had the annoying behavior if you entered in a non...
Campbell Barton [Wed, 19 Jun 2013 11:53:48 +0000 (11:53 +0000)]
fix for filesel autocomplete, it had the annoying behavior if you entered in a non-existing name, of executing it and then asking to add the dir.

8 years agodont use 'if(${WITH_STATIC_LIBS})', no need to expend the variable.
Campbell Barton [Wed, 19 Jun 2013 11:26:11 +0000 (11:26 +0000)]
dont use 'if(${WITH_STATIC_LIBS})', no need to expend the variable.

8 years agoFix #35773: Drag-to-Open failed in Movie Clip Editor
Sergey Sharybin [Wed, 19 Jun 2013 08:45:02 +0000 (08:45 +0000)]
Fix #35773: Drag-to-Open failed in Movie Clip Editor

8 years agoFollowup to svn rev57551
Sergey Sharybin [Wed, 19 Jun 2013 08:40:18 +0000 (08:40 +0000)]
Followup to svn rev57551

Perhaps real fix would be to make all parts of blender
mandatory and not switchable off, so every area of code
would be compiled and verified after no-functional-changes

8 years agofix [#35795] Edge split modifier do not show result in viewport with curves.
Campbell Barton [Wed, 19 Jun 2013 08:19:36 +0000 (08:19 +0000)]
fix [#35795] Edge split modifier do not show result in viewport with curves.

caused by recent changes in normal calculation, however curves were not being very smart about calculating modifiers (calling unneeded re-tessellation for every modifier)

8 years agomove modifier callback wrappers into modifier.c
Campbell Barton [Wed, 19 Jun 2013 08:00:20 +0000 (08:00 +0000)]
move modifier callback wrappers into modifier.c

8 years agofix [#35793] Crash When Painting Gradient Weight
Campbell Barton [Wed, 19 Jun 2013 07:45:36 +0000 (07:45 +0000)]
fix [#35793] Crash When Painting Gradient Weight

8 years agoalternate fix for r57562. check if the mouse is over the parent menu.
Campbell Barton [Wed, 19 Jun 2013 06:31:37 +0000 (06:31 +0000)]
alternate fix for r57562. check if the mouse is over the parent menu.

8 years agofix [#35792] Submenus not opening properly on mouse move
Campbell Barton [Wed, 19 Jun 2013 06:01:38 +0000 (06:01 +0000)]
fix [#35792] Submenus not opening properly on mouse move
caused by own fix for [#35346], now only apply wiggle room for toplevel menus.

8 years agoreport exceptions when enabling and disabling modules in blenders interface.
Campbell Barton [Wed, 19 Jun 2013 05:17:31 +0000 (05:17 +0000)]
report exceptions when enabling and disabling modules in blenders interface.
so if pressing the addon checkbox fails it tells why rather then failing silently.

8 years agoCycles / UI:
Thomas Dinges [Tue, 18 Jun 2013 22:34:37 +0000 (22:34 +0000)]
Cycles / UI:
* Some tweaks to the material "Settings" panel.

8 years agoVS 2012 x86 SCons update.
Jürgen Herrmann [Tue, 18 Jun 2013 20:11:58 +0000 (20:11 +0000)]
VS 2012 x86 SCons update.

8 years agoFix for own mistake in r57555 :-(
Jürgen Herrmann [Tue, 18 Jun 2013 19:09:49 +0000 (19:09 +0000)]
Fix for own mistake in r57555 :-(
Add include to autoexec.c instead of BLI_path_util.h

Thanks Bastien Montagne for the hint.

8 years agoCompile fix for r57554 missing include "BLI_string.h" in BLI_path_util.h
Jürgen Herrmann [Tue, 18 Jun 2013 18:42:29 +0000 (18:42 +0000)]
Compile fix for r57554 missing include "BLI_string.h" in BLI_path_util.h

8 years agoadd option to enable auto-execute scripts, but exclude certain directories.
Campbell Barton [Tue, 18 Jun 2013 18:11:52 +0000 (18:11 +0000)]
add option to enable auto-execute scripts, but exclude certain directories.

8 years agoFix cycles crash on some processors. We actually need S-SSE3 support for this
Brecht Van Lommel [Tue, 18 Jun 2013 16:52:02 +0000 (16:52 +0000)]
Fix cycles crash on some processors. We actually need S-SSE3 support for this
new BVH traversal code, not just SSE3.

8 years agouse booleans for operator check functions.
Campbell Barton [Tue, 18 Jun 2013 15:30:51 +0000 (15:30 +0000)]
use booleans for operator check functions.

8 years agoCycles: attempt to fix internal compile error with some visual studio builds
Brecht Van Lommel [Tue, 18 Jun 2013 13:19:16 +0000 (13:19 +0000)]
Cycles: attempt to fix internal compile error with some visual studio builds

8 years agoCycles BVH Build fix for MSVC 2012.
Jürgen Herrmann [Tue, 18 Jun 2013 12:32:43 +0000 (12:32 +0000)]
Cycles BVH Build fix for MSVC 2012.
needs to include intrin.h for _BitScanForward and _BitScanReverse.

8 years agoScons and BuildBot changes for MSVC 2012 support.
Jürgen Herrmann [Tue, 18 Jun 2013 11:55:32 +0000 (11:55 +0000)]
Scons and BuildBot changes for MSVC 2012 support.

Thanks Brecht and Thomas for reviewing ;)

8 years agoMade blender compilable with strict flags.
Sergey Sharybin [Tue, 18 Jun 2013 10:09:45 +0000 (10:09 +0000)]
Made blender compilable with strict flags.