10 years agocorrection for windows.
Campbell Barton [Mon, 18 Apr 2011 10:18:35 +0000 (10:18 +0000)]
correction for windows.

10 years agoFix for [#26949] problems opening 2.49 files with audio (relative path problems?)
Joerg Mueller [Mon, 18 Apr 2011 10:04:28 +0000 (10:04 +0000)]
Fix for [#26949] problems opening 2.49 files with audio (relative path problems?)
When I wrote that code wasn't set correctly and I had to use; now it seems to be the other way round :-)

10 years agofix [#26951] blenderplayer and runtimes will not load
Campbell Barton [Mon, 18 Apr 2011 08:27:50 +0000 (08:27 +0000)]
fix [#26951] blenderplayer and runtimes will not load
blenderplayer wasn't finding bundled python, eg: ./2.57/python/lib

10 years agocmake
Campbell Barton [Mon, 18 Apr 2011 07:11:40 +0000 (07:11 +0000)]
- allow building blenderplayer with redcode.
- when ffmpeg is enabled remove strict compiler errors for imbuf and blenkernel since its hard to avoid these warnings across ffmpeg versions.

10 years agofix for own mistake in recent commit: [#27000] Spotlight spot shape size, lamp object...
Campbell Barton [Mon, 18 Apr 2011 03:27:15 +0000 (03:27 +0000)]
fix for own mistake in recent commit: [#27000] Spotlight spot shape size, lamp object data - numerical entries are interpreted as radians though displayed in degrees in SVN 36199

now apply units after python evaluation for unit buttons.

10 years agoobject.collision was allocating on access for all object types - camera could get...
Campbell Barton [Mon, 18 Apr 2011 01:45:28 +0000 (01:45 +0000)]
object.collision was allocating on access for all object types - camera could get collision data for eg.
now check for mesh types only.

any other type will return None.

10 years agofix [#26995] Crash on bpy.context.object.collision
Campbell Barton [Mon, 18 Apr 2011 01:40:45 +0000 (01:40 +0000)]
fix [#26995] Crash on bpy.context.object.collision
  use object.collision rather then object.modifiers[...].settings

10 years agoFix [#26896] Displace Node crashes Blender when connected to Z-Buffer
Matt Ebb [Sun, 17 Apr 2011 22:47:23 +0000 (22:47 +0000)]
Fix [#26896] Displace Node crashes Blender when connected to Z-Buffer

Clamped the maximum displacement distance to 4 x the input image dimensions - prevents hanging when vary large values are mistakenly plugged in, such as Z buffers,

10 years agoCommitting patch [#26960] bu MiikaH, fixes bug:
Matt Ebb [Sun, 17 Apr 2011 22:11:23 +0000 (22:11 +0000)]
Committing patch [#26960] bu MiikaH, fixes bug:
[#26945] Hue Correct doesn't Hue But Rather Saturate


10 years agochange unit evaluation only to do try the units replacements if evaluating with pytho...
Campbell Barton [Sun, 17 Apr 2011 12:47:20 +0000 (12:47 +0000)]
change unit evaluation only to do try the units replacements if evaluating with python fails, in rare cases its possible a valid python expression could get units applied to it.

10 years agoFix #26989: Smooth tangent Iteration field in Curve panel not responding.
Sergey Sharybin [Sun, 17 Apr 2011 12:13:02 +0000 (12:13 +0000)]
Fix #26989: Smooth tangent Iteration field in Curve panel not responding.

Not sure what's the uint of step argument for RNA_def_property_ui_range, but
i just set the same values as in other cases used (like Camera.draw_size)

10 years ago== Sequencer ==
Peter Schlaile [Sun, 17 Apr 2011 10:05:27 +0000 (10:05 +0000)]
== Sequencer ==

Fixes Fix for [#25713] VSE shows and renders wrong straight alpha gradient even after convert to pr
(see revision: 34540, fix by Janne)

By not breaking the seqcache interface API.

Added comments to header file, so that it is easier to understand, how the
cache API is supposed to work.

10 years agofix #26957
M.G. Kishalmi [Sun, 17 Apr 2011 08:38:27 +0000 (08:38 +0000)]
fix #26957

spotlights halo and intensity tooltip had "(buffer shadow)" in there,
while it works just fine with no-shadow and ray-shadow.

the volumetric "step" property is only visible with buffershadows

10 years agobuildbot:
Sergey Sharybin [Sun, 17 Apr 2011 06:17:37 +0000 (06:17 +0000)]

Use BF_NUMJOBS from user cinfigs rather than passing it as
command line argument.

10 years agobuildbot:
Sergey Sharybin [Sat, 16 Apr 2011 21:23:05 +0000 (21:23 +0000)]
- use cores+1 threads
- do not clean build directories
- separate build directories for blender and blenderplayer

This should make compilation much faster and buildbot rebuild tag could
happen more often

10 years agochanging the gl texture limit wasn't updating the displayed sizes.
Campbell Barton [Sat, 16 Apr 2011 10:19:34 +0000 (10:19 +0000)]
changing the gl texture limit wasn't updating the displayed sizes.

10 years agoFix for IRC reported bug from Dalai:
Sergey Sharybin [Sat, 16 Apr 2011 09:58:50 +0000 (09:58 +0000)]
Fix for IRC reported bug from Dalai:
Text editor used to add extra indentation when inserting new line from
line with dictionary. Also, fixed extra indentation when comma is inside string.

10 years agofix [#26955] GL Texture Size doesn't work.
Campbell Barton [Sat, 16 Apr 2011 09:26:45 +0000 (09:26 +0000)]
fix [#26955] GL Texture Size doesn't work.
Brecht: reverting this change you made r22532, which I cant see a reason for.

10 years agofix [#26906] Panorama Button (Camera Data Properties)
Campbell Barton [Fri, 15 Apr 2011 12:08:17 +0000 (12:08 +0000)]
fix [#26906] Panorama Button (Camera Data Properties)
- render check for ortho/panorama combination wasn't working since the flags were not initialized at the time of checking.
- disable panorama button in ortho mode.

10 years agopossible fix [#26930] Blender 2.57 Shuts down when trying to edit 3D text
Campbell Barton [Fri, 15 Apr 2011 03:47:54 +0000 (03:47 +0000)]
possible fix [#26930] Blender 2.57 Shuts down when trying to edit 3D text
can't test but this avoids using strncat which is giving problems.

10 years agostyle changes & replace some memset's with zero initializers.
Campbell Barton [Fri, 15 Apr 2011 01:43:30 +0000 (01:43 +0000)]
style changes & replace some memset's with zero initializers.

10 years agofix [#26937] Radio button text truncation should start at beginning of string
Campbell Barton [Fri, 15 Apr 2011 01:32:37 +0000 (01:32 +0000)]
fix [#26937] Radio button text truncation should start at beginning of string
ensure start of text is always visible.

- also left in test for fix [#26933] which left it broken.
- quiet warning in AUD Py API.

10 years agocorrect typo
Joseph Eagar [Thu, 14 Apr 2011 22:15:43 +0000 (22:15 +0000)]
correct typo

10 years agofloat value reader in compositor backdrop (Alt + LMB Drag) should be 4 decimals like...
Daniel Salazar [Thu, 14 Apr 2011 20:30:54 +0000 (20:30 +0000)]
float value reader in compositor backdrop (Alt + LMB Drag) should be 4 decimals like in image editor

10 years agofix [#26933] Render Crash with Decimate Modifier
Campbell Barton [Thu, 14 Apr 2011 17:22:05 +0000 (17:22 +0000)]
fix [#26933] Render Crash with Decimate Modifier

10 years agono functional change, avoid making stack arrays for the purpose of indexing.
Campbell Barton [Thu, 14 Apr 2011 17:06:55 +0000 (17:06 +0000)]
no functional change, avoid making stack arrays for the purpose of indexing.

10 years agono functional change, avoid making a 4 pointer array just for an index lookup for...
Campbell Barton [Thu, 14 Apr 2011 16:41:17 +0000 (16:41 +0000)]
no functional change, avoid making a 4 pointer array just for an index lookup for tangents, orcos and normals.

10 years agofix [#26902] Raytracing black dots
Campbell Barton [Thu, 14 Apr 2011 16:13:32 +0000 (16:13 +0000)]
fix [#26902] Raytracing black dots
derivatives from reflected duplis were not taking object instance transformation into account.

10 years agoFix #26932: When I enable multires, and start sculpting, some parts of the mesh just...
Sergey Sharybin [Thu, 14 Apr 2011 15:53:33 +0000 (15:53 +0000)]
Fix #26932: When I enable multires, and start sculpting, some parts of the mesh just disappears.

Redraw issue was caused due to different redraw rectangles used for 3d view redraw and
gathering PBVH nodes to be re-drawed. I moved redraw rect expansion with rect from
previous step into sculpt_get_redraw_rect, so now redrawing works as it was planned
some commits ago -- redraw everything to which is inside currect rectangle and rectangle
from previous stroke step -- this still prevents artifact caused by fast strokes but
mesh doesn't disappear.

Brecht, Nicholas: it's the simpliest fix i could suggest atm. I've got some more
ideas with additional node flags, but it looked more complicated for me and
made code more difficult to understand. If you could see something better (like
revert all this redraw fixes for fast strokes) please tell me.

10 years agofix [#26931] Shift+Alt+RMB only selects loops, can't deselect them - 2.57 official
Campbell Barton [Thu, 14 Apr 2011 15:03:28 +0000 (15:03 +0000)]
fix [#26931] Shift+Alt+RMB only selects loops, can't deselect them - 2.57 official
own fault with fix [#26885] for selected edges having de-selected verts in some cases.

10 years agofix for help menu docs linking to the wrong page, created a redirect so 2.57 release...
Campbell Barton [Thu, 14 Apr 2011 14:13:04 +0000 (14:13 +0000)]
fix for help menu docs linking to the wrong page, created a redirect so 2.57 release doesn't get 404's.

10 years agoincorrect documentation spotted by macouno.
Campbell Barton [Thu, 14 Apr 2011 12:19:31 +0000 (12:19 +0000)]
incorrect documentation spotted by macouno.

10 years agoapi to support different kinds of relative paths on export, including copying the...
Campbell Barton [Thu, 14 Apr 2011 08:47:47 +0000 (08:47 +0000)]
api to support different kinds of relative paths on export, including copying the files to a subdir.

10 years agoA better fix than r36151 for the Grease Pencil drawing issues in the
Joshua Leung [Thu, 14 Apr 2011 04:22:52 +0000 (04:22 +0000)]
A better fix than r36151 for the Grease Pencil drawing issues in the
Image Editor.

There's already a flag in use for tagging the "special drawing in
Image Editor" case, so make use of that now.
Most of the changes here are just whitespace tweaks...

10 years agowork-around for grease pencil single points in the image view drawing really large...
Campbell Barton [Wed, 13 Apr 2011 15:30:26 +0000 (15:30 +0000)]
work-around for grease pencil single points in the image view drawing really large (bigger then the image).

10 years agominor improvements to sphinx doc main page
Campbell Barton [Wed, 13 Apr 2011 14:43:11 +0000 (14:43 +0000)]
minor improvements to sphinx doc main page

10 years agofix [#26904] Crush while open file !
Campbell Barton [Wed, 13 Apr 2011 14:40:50 +0000 (14:40 +0000)]
fix [#26904] Crush while open file !
commit r28002 was attempting to run do-versions on an invalid pointer.

10 years agoRemove unnecessary lines.
Nathan Letwory [Wed, 13 Apr 2011 09:09:37 +0000 (09:09 +0000)]
Remove unnecessary lines.

10 years agodisable engine info until report popup bug is fixed.
Campbell Barton [Wed, 13 Apr 2011 09:08:55 +0000 (09:08 +0000)]
disable engine info until report popup bug is fixed.

10 years agoVersion bump for doxygen.
Nathan Letwory [Wed, 13 Apr 2011 08:47:35 +0000 (08:47 +0000)]
Version bump for doxygen.

10 years agofix [#26895] STL import in Win 7 64bit
Campbell Barton [Wed, 13 Apr 2011 02:47:52 +0000 (02:47 +0000)]
fix [#26895] STL import in Win 7 64bit
fixes python non-utf8 path access for file selector 'files' property.

10 years agofix for mistake checking engines on load.
Campbell Barton [Wed, 13 Apr 2011 00:51:48 +0000 (00:51 +0000)]
fix for mistake checking engines on load.

10 years agoCrap, there was still a old Link to Release Logs. Maybe retag, after this and last...
Thomas Dinges [Tue, 12 Apr 2011 21:17:31 +0000 (21:17 +0000)]
Crap, there was still a old Link to Release Logs. Maybe retag, after this and last commit (Tooltip error in Splash Screen) ?

10 years agoFixed a copy and paste error in "Copy Previous Settings" operator. ;-)
Thomas Dinges [Tue, 12 Apr 2011 21:00:53 +0000 (21:00 +0000)]
Fixed a copy and paste error in "Copy Previous Settings" operator. ;-)

10 years agofix for compile issue on MSVC 2008 due to macro expansion differences with gcc.
Andrea Weikert [Tue, 12 Apr 2011 17:58:54 +0000 (17:58 +0000)]
fix for compile issue on MSVC 2008 due to macro expansion differences with gcc.

10 years agofix for crash when pressing 'Copy Startup Settings', was using out of date main database.
Campbell Barton [Tue, 12 Apr 2011 17:18:02 +0000 (17:18 +0000)]
fix for crash when pressing 'Copy Startup Settings', was using out of date main database.

10 years agoreference the release PDF correctly
Campbell Barton [Tue, 12 Apr 2011 16:56:15 +0000 (16:56 +0000)]
reference the release PDF correctly

10 years agoedits to blender version data.
Campbell Barton [Tue, 12 Apr 2011 16:36:14 +0000 (16:36 +0000)]
edits to blender version data.

10 years agoThe Epic Blender 2.57 first stable commit! :)
Ton Roosendaal [Tue, 12 Apr 2011 16:24:24 +0000 (16:24 +0000)]
The Epic Blender 2.57 first stable commit! :)

Let's do a quick last check if things work, call for release will be done
shortly on bf-committers.

Thanks everyone for making it possible!

10 years ago- fix for cmake when there is no version character.
Campbell Barton [Tue, 12 Apr 2011 16:20:41 +0000 (16:20 +0000)]
- fix for cmake when there is no version character.
- link to release docs correctly from the splash page.

10 years agoreport missing engines on file load. (request from Martin).
Campbell Barton [Tue, 12 Apr 2011 15:55:38 +0000 (15:55 +0000)]
report missing engines on file load. (request from Martin).

10 years agochanged image texture filters description from 'Area filter' to
M.G. Kishalmi [Tue, 12 Apr 2011 15:55:04 +0000 (15:55 +0000)]
changed image texture filters description from 'Area filter' to
'selected filter'.

10 years agoadd randomize transform & object align back into the menu.
Campbell Barton [Tue, 12 Apr 2011 15:12:05 +0000 (15:12 +0000)]
add randomize transform & object align back into the menu.

10 years agoignore the local blender folder when displaying the copy old settings button.
Campbell Barton [Tue, 12 Apr 2011 14:57:02 +0000 (14:57 +0000)]
ignore the local blender folder when displaying the copy old settings button.

10 years agoFix crash for Intel G45 video cards
Sergey Sharybin [Tue, 12 Apr 2011 14:31:59 +0000 (14:31 +0000)]
Fix crash for Intel G45 video cards

This video card need a bit different approach to buffer swapping.
Patch provided by nico_ga from IRC.

10 years agoFix #26860: uv snap/weld/stitch did not take live unwrap setting into account.
Brecht Van Lommel [Tue, 12 Apr 2011 14:22:52 +0000 (14:22 +0000)]
Fix #26860: uv snap/weld/stitch did not take live unwrap setting into account.

10 years agofix [#26888] 3D viewport shading broken after solidify modifier
Campbell Barton [Tue, 12 Apr 2011 12:59:37 +0000 (12:59 +0000)]
fix [#26888] 3D viewport shading broken after solidify modifier

10 years agofix [#26885] transform option disapears when deselecting loops
Campbell Barton [Tue, 12 Apr 2011 12:49:54 +0000 (12:49 +0000)]
fix [#26885] transform option disapears when deselecting loops
deselecting edgeloop & edgering would leave the verts de-selected even if other edges had them selected.

10 years agoless alarming warnings about the python api not being stable in online docs and remov...
Campbell Barton [Tue, 12 Apr 2011 12:09:38 +0000 (12:09 +0000)]
less alarming warnings about the python api not being stable in online docs and remove from interactive console.

10 years agorevert Joseph Eagar's eltopo commits r36073, 36075 (& some minor edits)
Campbell Barton [Tue, 12 Apr 2011 11:09:10 +0000 (11:09 +0000)]
revert Joseph Eagar's eltopo commits r36073, 36075 (& some minor edits)
discussed with Janne, Ton, Nathan and we agreed this kind of change at least needs discussion with module owners.

Its also too close to release to be making these kinds of changes.

commands used:

  # reverse merge
  svn merge -r36073:36072 .
  # for some reason this gave a lot of property changes
  svn revert `svn st | grep "^ M" | awk '{print $2}'`
  # reverse merging didn't work here, removing while dir.
  svn rm extern/eltopo/

  # manually fixed conflict in
  # ./source/blenderplayer/CMakeLists.txt
  # also manually removed 2 lines from
  # ./CMakeLists.txt

10 years agoFix #26879: Some sculpt brushes does not work when sculpting corrective shapekeys
Sergey Sharybin [Tue, 12 Apr 2011 10:16:00 +0000 (10:16 +0000)]
Fix #26879: Some sculpt brushes does not work when sculpting corrective shapekeys

It was simply missed crazyspace correction for shape keys when mesh is
deformed by modifiers and current tool is smooth/layer (they need special
approach due to they don't use proxies)

10 years agomodify the method for calculating ghost alpha.
Campbell Barton [Tue, 12 Apr 2011 10:13:09 +0000 (10:13 +0000)]
modify the method for calculating ghost alpha.
* ghost frame 1 did nothing (alpha 0.0).
* was subtracting alpha from the existing alpha which could end up with negative alpha.
* with larger frame ranges the frames on each size would get too close to being the same as the active frames alpha, use 66% alpha for all non-active frames as well as time based falloff.

10 years agosmall patch from Dobz to clean up non-functional multiuser code for now, and ensure...
Nathan Letwory [Tue, 12 Apr 2011 08:41:26 +0000 (08:41 +0000)]
small patch from Dobz to clean up non-functional multiuser code for now, and ensure admin level is requested on starting.

10 years agochange behavior of restoring old settings
Campbell Barton [Tue, 12 Apr 2011 04:23:38 +0000 (04:23 +0000)]
change behavior of restoring old settings
- only attempt to restore old 'user' settings (not local), since bundled blender's always use their own settings.
- only automatically run 'bpy.ops.wm.read_homefile()' after copying files if the user hasnt alreadt started making changes in the blend file.

10 years agoenable blenderplayer library sorting on windows, (was already enabled for blender...
Campbell Barton [Tue, 12 Apr 2011 01:56:03 +0000 (01:56 +0000)]
enable blenderplayer library sorting on windows, (was already enabled for blender), resolves linking issue on windows

10 years agoFIx crash when opening User Preferences even with NVidia card
Sergey Sharybin [Mon, 11 Apr 2011 19:22:43 +0000 (19:22 +0000)]
FIx crash when opening User Preferences even with NVidia card

This crash was discovered by Dalai and this happened because of
unset current context (as result of call wglMakeCurrent(NULL, NULL)).
In this case glGetString(GL_VENDOR) returns NULL. Rather than add check
for vendor != NULL before string comparison, I've changed a bit logic of
context creation:
- Create context and set it as current
- If it's crappy Intel card -- delete this context and
  share the only one context between all Windows
- Otherwise, use initial logic (with sharing lists and so on)

This could also fix crash when opening userprefs from a menu with Intel card.

10 years agopy api: wasn't working like image is dirty, instead is would return...
Campbell Barton [Mon, 11 Apr 2011 15:31:05 +0000 (15:31 +0000)]
py api: wasn't working like image is dirty, instead is would return if the file was saved or not.
- rename to 'is_saved' (and negated).
- add 'is_dirty' which is true when the files edits are not saved to disk.

10 years agooperator & splash button to copy over old settings when blender version changes.
Campbell Barton [Mon, 11 Apr 2011 15:13:06 +0000 (15:13 +0000)]
operator & splash button to copy over old settings when blender version changes.

10 years agoapi changes needed for for copying old settings to new.
Campbell Barton [Mon, 11 Apr 2011 13:56:58 +0000 (13:56 +0000)]
api changes needed for for copying old settings to new.
- py: bpy.utils.resource_path('USER', 2, 56)
- C: BLI_get_folder_version(id, major, minor, check);

10 years agofix [#26856] Can't change target object in modifier by Ctrl+V
Campbell Barton [Mon, 11 Apr 2011 05:33:43 +0000 (05:33 +0000)]
fix [#26856] Can't change target object in modifier by Ctrl+V

10 years agopatch [#26861] Spelling, Typos, and Grammar
Campbell Barton [Mon, 11 Apr 2011 01:18:25 +0000 (01:18 +0000)]
patch [#26861] Spelling, Typos, and Grammar
- also fix own bad assert from yesterday & remove testing cmake print.

10 years agofix for one of the [#26854] UV issues
Campbell Barton [Mon, 11 Apr 2011 00:49:08 +0000 (00:49 +0000)]
fix for one of the [#26854] UV issues
- add back UV X/Y number buttons, the report points out they are missing.
- set the 2D cursor's subtype to PROP_COORDS (so buttons say x/y now)

10 years agoFix for [#26652] "Audio Muted" in Time Line Editor is not working
Joerg Mueller [Sun, 10 Apr 2011 22:40:37 +0000 (22:40 +0000)]
Fix for [#26652] "Audio Muted" in Time Line Editor is not working
-> The feature was completely missing o_O
Also fixed an ffmpeg seeking bug.

10 years agoBugfix #26842
Ton Roosendaal [Sun, 10 Apr 2011 18:15:24 +0000 (18:15 +0000)]
Bugfix #26842

Compositor: when using RenderLayer nodes from other scenes and FSA,
Blender crashed because these nodes didn't get a 'tag' for refresh.

10 years ago- background job style cleanup.
Campbell Barton [Sun, 10 Apr 2011 15:24:05 +0000 (15:24 +0000)]
- background job style cleanup.
- assert if material assignment is called with lib. (so the callers can be corrected).
- correct example docs

10 years agoUse the same LLIBS set for cmake at Win64 platform as scons uses.
Sergey Sharybin [Sun, 10 Apr 2011 14:44:57 +0000 (14:44 +0000)]
Use the same LLIBS set for cmake at Win64 platform as scons uses.

This fixes linking errors occurred recently for me (kinda of SDL
and registry stuff)

Now it works perfectly, thanks to Campbell for tip :)

10 years agoRedid the previous startup.blend changes by Thomas
Ton Roosendaal [Sun, 10 Apr 2011 13:14:34 +0000 (13:14 +0000)]
Redid the previous startup.blend changes by Thomas
(icon for material, 1 console).
A windows tmp path crept in somehow...

10 years agoFix [#26827] Blender Crashes when it opens corrupt jpeg
Andrea Weikert [Sun, 10 Apr 2011 11:36:29 +0000 (11:36 +0000)]
Fix [#26827] Blender Crashes when it opens corrupt jpeg
* memory corruption when skipping over long marker (was attempting to read over end of file)
* also updated internal jpeg macros to be the same as in jpeg lib

10 years ago[#26848] Keyed Particles seems to be broken
Janne Karhu [Sun, 10 Apr 2011 11:24:29 +0000 (11:24 +0000)]
[#26848] Keyed Particles seems to be broken
* Explode modifier wasn't updated properly when keyed particles were used.
* Explode modifier didn't get correct locations for grid distributed particles.

10 years agominor pep8 edits, also added 'test_pep8' & 'test_cmake' to the GNUmakefile for conven...
Campbell Barton [Sun, 10 Apr 2011 10:45:56 +0000 (10:45 +0000)]
minor pep8 edits, also added 'test_pep8' & 'test_cmake' to the GNUmakefile for convenience.

10 years agoquiet msvc/mingw compiler warnings.
Campbell Barton [Sun, 10 Apr 2011 09:37:04 +0000 (09:37 +0000)]
quiet msvc/mingw compiler warnings.

10 years agoStartup blend:
Thomas Dinges [Sun, 10 Apr 2011 08:29:17 +0000 (08:29 +0000)]
Startup blend:
* Default material missed the mat preview icon.

10 years agoStartup blend:
Thomas Dinges [Sun, 10 Apr 2011 07:53:18 +0000 (07:53 +0000)]
Startup blend:
* Removed the second console in the "Scripting" Screen Layout.

10 years agoLabelling fix
Matt Ebb [Sun, 10 Apr 2011 07:05:22 +0000 (07:05 +0000)]
Labelling fix

10 years agodisable new cloth solver by default.
Campbell Barton [Sun, 10 Apr 2011 06:06:26 +0000 (06:06 +0000)]
disable new cloth solver by default.

10 years agoeltopo cloth solver couldnt be enabled from cmake, also dont use globbing.
Campbell Barton [Sun, 10 Apr 2011 05:43:34 +0000 (05:43 +0000)]
eltopo cloth solver couldnt be enabled from cmake, also dont use globbing.

10 years agoEnable WINDRES only for MinGW, otherwise we get multiple manifest errors for ie....
Nathan Letwory [Sat, 9 Apr 2011 23:25:52 +0000 (23:25 +0000)]
Enable WINDRES only for MinGW, otherwise we get multiple manifest errors for ie. vs2008

10 years ago=cloth collisions=
Joseph Eagar [Sat, 9 Apr 2011 23:19:11 +0000 (23:19 +0000)]
=cloth collisions=

Plugged the eltopo library into the cloth solver.
I was playing with it earlier, and it's so easy to
use I decided to quickly put it in (trunk's) cloth.

.  The authors are on the bleeding edge of continuous collision
detection (one of them did ILM's cloth sim).
don't really have to time to plug it into softbody, particles,
bullet, fluid, etc, but doing so would be pretty straightforward.
I'll leave that up to someone else.

To use, turn on USE_ELTOPO (in cmake) or WITH_BF_ELTOPO in scons.

10 years agodoxygen fix
Nathan Letwory [Sat, 9 Apr 2011 19:46:17 +0000 (19:46 +0000)]
doxygen fix

10 years agowhitespace
Nathan Letwory [Sat, 9 Apr 2011 19:23:49 +0000 (19:23 +0000)]

10 years agoFix crash for Windows+Intel video card configuration
Sergey Sharybin [Sat, 9 Apr 2011 18:29:43 +0000 (18:29 +0000)]
Fix crash for Windows+Intel video card configuration

Intel video cards don't work fine with multiple contexts and
have to share the same context for all windows. This could work
incorrect with multiple video cards configuration, so suppose
there'll be no such situation (Intel cards are mostly in portable
devices like notebooks and laptops, where there's actually no
dual video cards). Anyway, it should work much better now.

Non-Intel cards behavior was kept unchanged.

Thanks to Ton for debug session :)

10 years agochange in how cmake works with CMAKE_C_STANDARD_LIBRARIES / CMAKE_CXX_STANDARD_LIBRARIES.
Campbell Barton [Sat, 9 Apr 2011 11:16:37 +0000 (11:16 +0000)]
if not defined (first run) these are now set blank but can be defined later.

the problem is that scons & cmake builds would link against different libraries since cmake added its own defaults.
now, by default, scons & cmake have the same libraries.

This fixes an obscure crash in MinGW where cmakes default linking with -ladvapi32 would crash on string formatting which used float precision as an argument, eg:
  printf("%.*f", 3, value);
...without giving a useful backtrace or pointing to the line of code doing the string formatting.

10 years agoPrint out reports on console too (debug and up) as fix for [#26708] "INFO" reports...
Nathan Letwory [Sat, 9 Apr 2011 02:23:39 +0000 (02:23 +0000)]
Print out reports on console too (debug and up) as fix for [#26708] "INFO" reports are not displayed
reported by Tom Edwards

Showing of certain reports (ie. info) is very hidden. At least print these to console.

10 years agoremove -mwindows flag for scons/mingw, enable manifest & winblender.rc for all window...
Campbell Barton [Sat, 9 Apr 2011 00:10:29 +0000 (00:10 +0000)]
remove -mwindows flag for scons/mingw, enable manifest & winblender.rc for all windows builds except for msvc2010

10 years agoAdd missing defines for .rc file.
Nathan Letwory [Fri, 8 Apr 2011 22:07:17 +0000 (22:07 +0000)]
Add missing defines for .rc file.

10 years agoFixes related to using Library files:
Ton Roosendaal [Fri, 8 Apr 2011 16:56:44 +0000 (16:56 +0000)]
Fixes related to using Library files:

- Assigning local materials to library objects disabled
  (crashes on undo/redo cases)
- Disabling options in Material buttons to add/remove slots
  on library data
- Drawing Object ID template in Object properties, this
  allows browse active Object, but especially shows library
  status then.

10 years agoFix small typo in resource define.
Nathan Letwory [Fri, 8 Apr 2011 15:00:53 +0000 (15:00 +0000)]
Fix small typo in resource define.

10 years agoClean up linking flags for win32.
Nathan Letwory [Fri, 8 Apr 2011 14:56:31 +0000 (14:56 +0000)]
Clean up linking flags for win32.

10 years agoClean up linking flags for win64.
Nathan Letwory [Fri, 8 Apr 2011 14:40:43 +0000 (14:40 +0000)]
Clean up linking flags for win64.

10 years agoFix for compilation under non-windows platforms -- missed check for
Sergey Sharybin [Fri, 8 Apr 2011 14:04:59 +0000 (14:04 +0000)]
Fix for compilation under non-windows platforms -- missed check for
platform before WM_console_toggle call