blender.git
8 years agoCode cleanup: remove readblenfile module, only contained some utility functions
Brecht Van Lommel [Wed, 11 May 2011 19:29:23 +0000 (19:29 +0000)]
Code cleanup: remove readblenfile module, only contained some utility functions
to read .blend files from runtimes, folded those into blenloader.

8 years agorecent camera border drawing glitch fix needs to be applied to the top right sides...
Campbell Barton [Wed, 11 May 2011 09:42:46 +0000 (09:42 +0000)]
recent camera border drawing glitch fix needs to be applied to the top right sides too.

8 years agofix for glitch with drawing the 2d camera border over the 3d camera.
Campbell Barton [Wed, 11 May 2011 00:59:22 +0000 (00:59 +0000)]
fix for glitch with drawing the 2d camera border over the 3d camera.
seems arbitrary and may be driver specific, but this value is in the middle of what works well on mesa software GL & my nvidia.

8 years agoApply patch from Ryakiotakis Antonis as posted on ML
Nathan Letwory [Tue, 10 May 2011 23:54:15 +0000 (23:54 +0000)]
Apply patch from Ryakiotakis Antonis as posted on ML

Should fix MingW build problems - mingw users, please test too :)

8 years agoMingW apparently doesn't know about RIM_INPUTSINK, define it if it isn't already.
Nathan Letwory [Tue, 10 May 2011 23:38:40 +0000 (23:38 +0000)]
MingW apparently doesn't know about RIM_INPUTSINK, define it if it isn't already.

8 years agopatch from Dan Eicher for cpack rpms
Campbell Barton [Tue, 10 May 2011 21:59:11 +0000 (21:59 +0000)]
patch from Dan Eicher for cpack rpms

8 years agoBugfix #27305
Ton Roosendaal [Tue, 10 May 2011 16:30:03 +0000 (16:30 +0000)]
Bugfix #27305

RGB color node supports to set alpha too but never put alpha in the output.
Report + fix provided by Dani G. Thanks!

8 years agoBugfix #27311
Ton Roosendaal [Tue, 10 May 2011 15:13:03 +0000 (15:13 +0000)]
Bugfix #27311

Physics Gravity property now has UI range of 0-25, but real range goes
to 10000 to allow scaled scenes.

8 years agoremove some duplicate declarations
Campbell Barton [Tue, 10 May 2011 14:48:06 +0000 (14:48 +0000)]
remove some duplicate declarations

8 years agoFix #27217: Bézier control points moves bizarre
Sergey Sharybin [Tue, 10 May 2011 14:38:55 +0000 (14:38 +0000)]
Fix #27217: Bézier control points moves bizarre

Re-calculate handles after applying transform matrix on curve object

This commit is'n fixing changing of curve shape whe nyou're deforming it (as
it was intially reported) but just adds needed handles recalculation.

Handles are calculated correct in that "unneded deformed" curve.

8 years agominor cleanup: make functions static, use NULL for pointer comparisons,
Campbell Barton [Tue, 10 May 2011 13:11:36 +0000 (13:11 +0000)]
minor cleanup: make functions static, use NULL for pointer comparisons,

also fixed a possible bug assigning incorrect DPX function types to
imbuf.

8 years agoTypo in composition guides
Daniel Salazar [Tue, 10 May 2011 05:20:18 +0000 (05:20 +0000)]
Typo in composition guides

8 years agoentering non utf8 text in filepaths in the file selector would get incorrectly stripped.
Campbell Barton [Tue, 10 May 2011 05:07:24 +0000 (05:07 +0000)]
entering non utf8 text in filepaths in the file selector would get incorrectly stripped.

8 years agocamera composition guides: center, thirds, golden rule
Campbell Barton [Tue, 10 May 2011 03:03:53 +0000 (03:03 +0000)]
camera composition guides: center, thirds, golden rule

8 years agoRevert rename of r36578, breaks scons compile.
Nathan Letwory [Mon, 9 May 2011 21:34:52 +0000 (21:34 +0000)]
Revert rename of r36578, breaks scons compile.

8 years agoFix #27346: When The FONT object is blank, the dimensions are calculated wong.
Sergey Sharybin [Mon, 9 May 2011 20:14:34 +0000 (20:14 +0000)]
Fix #27346: When The FONT object is blank, the dimensions are calculated wong.

This commit fixes boundbox for empty curve-typed objects. Because of strange
reason (-1,-1,-1) and (1,1,1) was used as boundbox. Now it uses zero-sized
boundbox (as it's done for meshes).

This commit makes nothig with that single space character text from the report.

8 years agoSVN maintenance.
Guillermo S. Romero [Mon, 9 May 2011 20:13:48 +0000 (20:13 +0000)]
SVN maintenance.

8 years agopatch [#21740] Image support for Empty Objects
Campbell Barton [Mon, 9 May 2011 16:31:54 +0000 (16:31 +0000)]
patch [#21740] Image support for Empty Objects
from Andy Braham (andybraham)

This adds support for empties to reference images and draw in the 3D view.

Modifications from the original patch.
- use an empty draw 'image' type
- use image aspect ratio for non-square-pixels
- when the image is not found, still draw the frame.

8 years agominor cleanup, no functional changes.
Campbell Barton [Mon, 9 May 2011 14:41:44 +0000 (14:41 +0000)]
minor cleanup, no functional changes.

8 years agoRecreate mipmaps after undo in image editor
Sergey Sharybin [Mon, 9 May 2011 13:13:16 +0000 (13:13 +0000)]
Recreate mipmaps after undo in image editor

8 years agofixed scrolling lists with the mousewheel for some X11 windowmanagers.
M.G. Kishalmi [Mon, 9 May 2011 12:46:59 +0000 (12:46 +0000)]
fixed scrolling lists with the mousewheel for some X11 windowmanagers.

some WMs not only send 'crossing' events when really moving from one
window to another, but also when mousewheeling.
distinguishing those events 'mode' property fixed this.

brecht++ for figuring out the details.

8 years agoFix for memory leak caused by re-making mipmaps
Sergey Sharybin [Mon, 9 May 2011 10:03:06 +0000 (10:03 +0000)]
Fix for memory leak caused by re-making mipmaps

Problem was caused by different limits for "last" mipmap: it was 1x1
for mkaing mipmaps and 2x2 for re-making.

2x2 should be enough for mipmap.

8 years agoset svn end of lines to native
Campbell Barton [Mon, 9 May 2011 08:15:38 +0000 (08:15 +0000)]
set svn end of lines to native

8 years agoCode cleanup: warning fixes.
Brecht Van Lommel [Mon, 9 May 2011 08:01:48 +0000 (08:01 +0000)]
Code cleanup: warning fixes.

8 years agoCode cleanup: remove unused image window code, already implemented elsewhere.
Brecht Van Lommel [Mon, 9 May 2011 07:54:21 +0000 (07:54 +0000)]
Code cleanup: remove unused image window code, already implemented elsewhere.

8 years agoBug fix own collection:
Sergey Sharybin [Sun, 8 May 2011 20:21:31 +0000 (20:21 +0000)]
Bug fix own collection:
 - Recreate mipmaps if they're dirty when drawing background image
   (this prevents "delayed" update of background image when you're paiting on it
    in image editor).
 - Mark mipmaps as dirty when inverting image channels.

TODO: there's memory leak caused by IMB_remakemipmap, but it'll be
      anuther bugfix commit after discussion with other devs.

8 years agofix [#27324] WindowManager.invoke_search_popup() crashes blender and does not work
Campbell Barton [Sun, 8 May 2011 12:51:05 +0000 (12:51 +0000)]
fix [#27324] WindowManager.invoke_search_popup() crashes blender and does not work
also minor formatting fixes.

8 years agocomment some unused code.
Campbell Barton [Sun, 8 May 2011 10:29:40 +0000 (10:29 +0000)]
comment some unused code.

8 years agoApply second half of [#21590] .dds textures: fix for DXT1n format + sync with upstrea...
Nathan Letwory [Sun, 8 May 2011 09:05:52 +0000 (09:05 +0000)]
Apply second half of [#21590] .dds textures: fix for DXT1n format + sync with upstream nvtt
submitted by Amorilia

This updates the DDS module with upstearm nvtt (r1042).

8 years agoFixes for bugs noticed during previous fix:
Joshua Leung [Sun, 8 May 2011 05:41:57 +0000 (05:41 +0000)]
Fixes for bugs noticed during previous fix:
- In Drivers mode of Graph Editor, expanders for sub-object data were
not working at all. This was because they were getting overriden by an
errant ob-level drivers check
- Adding drivers from py-api didn't update Graph Editor

8 years agoRNA Bugfix:
Joshua Leung [Sun, 8 May 2011 05:18:40 +0000 (05:18 +0000)]
RNA Bugfix:

The following script would fail:
#ob = bpy.context.active_object
pb = bpy.context.active_pose_bone
pb.bone.driver_add("hide")  # <--- exception here

The RNA-path function for Bone assumed that when it got called, it's
"id_data" (or owner-idblock-pointer) would only be ID_AR (i.e. an
armature). However, in the above example, pb.bone has ob as its
id_data, resulting in an invalid RNA path getting created. Added check
for this case, since it's likely to be common

8 years agoCommitting patch [#27133] "Fix for for Object Color in BGE" by Kupoman
Mitchell Stokes [Sun, 8 May 2011 03:42:24 +0000 (03:42 +0000)]
Committing patch [#27133] "Fix for for Object Color in BGE" by Kupoman

The tracker description:
"This patch fixes this bug:
http://projects.blender.org/tracker/index.php?func=detail&aid=25487&group_id=9&atid=306

This was accomplished by making sure the KX_GameObject's object color gets set during the conversion process in the method gameobject_from_blenderobject. Otherwise all the values for object color default to 0. The reason adding an IPO worked as a work around is because it set the object color."

The bug report mentioned is bug [#25487] "BGE: Object Color only works when it has a keyed frame"

8 years agoPatch [#26799] embedded blenderplayer not receiving keyboard input by Sebastian Korczak
Dalai Felinto [Sat, 7 May 2011 22:28:56 +0000 (22:28 +0000)]
Patch [#26799] embedded blenderplayer not receiving keyboard input by Sebastian Korczak
(patch co-reviewed by Nathan Letwory)

Overview: GHOST using rawinput for keyboard input. GHOST window receives WM_INPUT only when it is the active window. Child window cannot be active, so when embedding blenderplayer, WM_INPUT is consumed by top level parent window (for Burster it is the web browser window). Patch register raw input device as 'inputsink' - it makes GHOST window receives all keyboard messages. Window procedure check if GHOST window is active or focused.

::TranslateMessage(&msg) generates WM_CHAR etc. messages from WM_KEYDOWN, WM_KEYUP etc. Because of using RawInput only WM_INPUT messages are processed, so we doesn't need WM_CHAR, WM_KEYDOWN etc. [this is why ::TranslateMessage is no longer getting called].

Note: It's responsibility of the parent window (aka the wrapper) to send WM_SETFOCUS to child window (embedded blenderplayer).
However some parent windows (e.g. webbrowsers) will not send WM_SETFOCUS to the child window when someone clicks on it.
In those cases the blenderplayer needs to be patched to call setFocus(&msg); in the event of WM_LBUTTONDOWN (see GHOST_SystemWin32.cpp)

8 years agoApply part of [#21590] .dds textures: fix for DXT1n format
Nathan Letwory [Sat, 7 May 2011 20:53:49 +0000 (20:53 +0000)]
Apply part of [#21590] .dds textures: fix for DXT1n format
Submitted by Amorilia.

DXT1 .dds textures with 1-bit alpha channel have their alpha channel imported in Blender.

The patch also makes change to contact info for the patch submitter.

I left the sync with upstream nvtt for another commit.

8 years agoFix #27319: Text editor "Find" does not locate words.
Sergey Sharybin [Sat, 7 May 2011 17:52:44 +0000 (17:52 +0000)]
Fix #27319: Text editor "Find" does not locate words.

Added new option to find panel of space text which toggles
case-esensitive search.

Additional changes:
- Send NC_TEXT|NA_EDITED when removing markers in find_and_replace modifier
  this prevents "sticked" markers which disappears on first redraw when
  search text wasn't found
- Do not show "Text wasn't found" error when text to be searched is contained
  in the end of buffer and it's selected. Replacing/marking used to happen, but
  this popup message was really annoying for this case.

TODO: It's incorrect to use UI_GetThemeColor4ubv from this operator

8 years agoio_utils.axis_conversion(...) utility function to easily convert the forward & up...
Campbell Barton [Sat, 7 May 2011 11:25:59 +0000 (11:25 +0000)]
io_utils.axis_conversion(...) utility function to easily convert the forward & up axis between different apps on import/export.

8 years agopatch from Dan Eicher, CPack/RPM working again
Campbell Barton [Fri, 6 May 2011 23:59:15 +0000 (23:59 +0000)]
patch from Dan Eicher, CPack/RPM working again

8 years agomissed updating warp modifier UI, gave a py error when selecting texture UI layer.
Campbell Barton [Fri, 6 May 2011 23:54:40 +0000 (23:54 +0000)]
missed updating warp modifier UI, gave a py error when selecting texture UI layer.

8 years agofix [#27298] Alt + RMB always extends selection
Campbell Barton [Fri, 6 May 2011 23:46:24 +0000 (23:46 +0000)]
fix [#27298] Alt + RMB always extends selection

8 years agoForgot to mention that for scons, I've disabled install of the texture and
Brecht Van Lommel [Fri, 6 May 2011 20:21:20 +0000 (20:21 +0000)]
Forgot to mention that for scons, I've disabled install of the texture and
sequence plugins, as was already done for cmake, they don't work in 2.5.

This is a fix for last commit, this file shouldn't have been included.

8 years agoCode cleanup: remove source/kernel module, this wasn't really the kernel of
Brecht Van Lommel [Fri, 6 May 2011 20:18:42 +0000 (20:18 +0000)]
Code cleanup: remove source/kernel module, this wasn't really the kernel of
anything, only contained a hash map and functions to pass command line args
to the game engine. Moved those to container and BlenderRoutines modules.

8 years agoCode cleanup: PIL_dynlib, renamed to BLI_dynlib, and other tweaks.
Brecht Van Lommel [Fri, 6 May 2011 15:17:42 +0000 (15:17 +0000)]
Code cleanup: PIL_dynlib, renamed to BLI_dynlib, and other tweaks.

8 years agopatch [#27205] Infinite recursion inside resolve_ncase() when passed a driver letter...
Campbell Barton [Fri, 6 May 2011 11:27:04 +0000 (11:27 +0000)]
patch [#27205] Infinite recursion inside resolve_ncase() when passed a driver letter on Windows that does not exist
by Brandon Ehle (azverkan)

8 years agoPatch #27225: blenderplayer resource compilation error fix for cmake + mingw,
Brecht Van Lommel [Fri, 6 May 2011 08:16:44 +0000 (08:16 +0000)]
Patch #27225: blenderplayer resource compilation error fix for cmake + mingw,
patch by Ryakiotakis Antonis.

8 years agopy/rna debugging option (defaults to off), which quickly exposes errors with RNA...
Campbell Barton [Fri, 6 May 2011 03:29:55 +0000 (03:29 +0000)]
py/rna debugging option (defaults to off), which quickly exposes errors with RNA functions holding string pointers by making a temp copy of the string and freeing after the function is called.

8 years agofix [#27304] uiItemsFullEnumO: operator missing srna ''
Campbell Barton [Fri, 6 May 2011 02:55:09 +0000 (02:55 +0000)]
fix [#27304] uiItemsFullEnumO: operator missing srna ''
python strings are not static so dont hold pointers to them within blenders UI.

8 years ago[#26715] Blender2.57 crash when opening in Windows, non-latin char in path
Campbell Barton [Fri, 6 May 2011 01:03:36 +0000 (01:03 +0000)]
[#26715] Blender2.57 crash when opening in Windows, non-latin char in path
this isn't a fix but GetModuleFileName is returning a name that doesn't exist, so finding python after this isn't working.

Show a popup that the path has an invalid name so at least the user can move it.

8 years agoadd zlib include dir for cmake too.
Campbell Barton [Thu, 5 May 2011 22:41:49 +0000 (22:41 +0000)]
add zlib include dir for cmake too.

8 years agofix to scons after exotic was removed (patch from jms)
Dalai Felinto [Thu, 5 May 2011 18:50:17 +0000 (18:50 +0000)]
fix to scons after exotic was removed (patch from jms)

8 years agoFix for [#27294] Subframes cause dampened particles to behave differently
Janne Karhu [Thu, 5 May 2011 17:07:20 +0000 (17:07 +0000)]
Fix for [#27294] Subframes cause dampened particles to behave differently
* The unphysical particle damping wasn't scaled according to the timestep.

8 years agofix [#27285] Renderslot missing
Campbell Barton [Thu, 5 May 2011 15:21:43 +0000 (15:21 +0000)]
fix [#27285] Renderslot missing
scale fixes size header buttons by DPI

8 years agosphinx api docs: fix for addons linking to the wrong operator SVN url's.
Campbell Barton [Thu, 5 May 2011 14:45:24 +0000 (14:45 +0000)]
sphinx api docs: fix for addons linking to the wrong operator SVN url's.
also change from blender from 'release' back to beta so new docs don't overwrite the 2.57b release docs.

8 years agoremove exotic.c, there was no operators to access these formats and they were not...
Campbell Barton [Thu, 5 May 2011 14:21:31 +0000 (14:21 +0000)]
remove exotic.c, there was no operators to access these formats and they were not well maintained.

8 years agoalternative to joe's commit r36451.
Campbell Barton [Wed, 4 May 2011 20:42:34 +0000 (20:42 +0000)]
alternative to joe's commit r36451.
loopcut now follows 'Release confirms' user preference.

8 years agonew rna api call: RNA_struct_idprops_unset(op->ptr, "someprop"), added to allow un...
Campbell Barton [Wed, 4 May 2011 17:36:13 +0000 (17:36 +0000)]
new rna api call: RNA_struct_idprops_unset(op->ptr, "someprop"), added to allow un-setting operator properties.

8 years agonew BLF functions
Campbell Barton [Wed, 4 May 2011 15:09:48 +0000 (15:09 +0000)]
new BLF functions
- BLF_height_max
- BLF_width_max
- BLF_descender
- BLF_ascender

use for tooltip and image stamp.

8 years agoOwn TODO item: sculpting on constructive modifiers
Sergey Sharybin [Wed, 4 May 2011 13:15:42 +0000 (13:15 +0000)]
Own TODO item: sculpting on constructive modifiers

- Constructive modifiers are enabled by default in sculpt mode.
- There's option to disable all constructive modifiers in the "Options"
  panel of toolbox in sculpt mode,
- Use one column in options panel to make strings easier to read
- No modifiers would still be applied on multires

8 years agodrawing in 3d camera view conversion between mouse/camera view border was broken.
Campbell Barton [Wed, 4 May 2011 12:59:24 +0000 (12:59 +0000)]
drawing in 3d camera view conversion between mouse/camera view border was broken.

8 years agopass colors to glColor as vectors where possible.
Campbell Barton [Wed, 4 May 2011 12:00:11 +0000 (12:00 +0000)]
pass colors to glColor as vectors where possible.

8 years agofix 2 bugs with addon installation
Campbell Barton [Wed, 4 May 2011 08:44:08 +0000 (08:44 +0000)]
fix 2 bugs with addon installation
- installing an addon which creates a new script directory didn't add this to the sys.path.
- installing the addon was meant to set the search string to the addon name but was broken.

8 years agoworkaround [#27276] Full Screen toggle for Save Screenshot ignored
Campbell Barton [Wed, 4 May 2011 06:08:14 +0000 (06:08 +0000)]
workaround [#27276] Full Screen toggle for Save Screenshot ignored
don't show the option in the file sel, it only has effect when set before invoke.

8 years agorna object constraint remove function wasn't calling ED_object_constraint_update().
Campbell Barton [Wed, 4 May 2011 05:56:26 +0000 (05:56 +0000)]
rna object constraint remove function wasn't calling ED_object_constraint_update().

8 years agofix [#26920] working with bones causes segmetation fault.
Campbell Barton [Wed, 4 May 2011 05:52:14 +0000 (05:52 +0000)]
fix [#26920] working with bones causes segmetation fault.
ITASC IK solver data wasn't being cleared when constraints were removed, would access freed memory and crash.

8 years agouse UNUSED in some more function args, no functional changes.
Campbell Barton [Wed, 4 May 2011 04:00:53 +0000 (04:00 +0000)]
use UNUSED in some more function args, no functional changes.

8 years agofix for crash executing sculpt via python.
Campbell Barton [Wed, 4 May 2011 03:34:55 +0000 (03:34 +0000)]
fix for crash executing sculpt via python.

8 years agoPatch [#26799] 2.5x blenderplayer (BGE) anti-aliasing & embedding by Sebastian Korcza...
Dalai Felinto [Wed, 4 May 2011 01:50:17 +0000 (01:50 +0000)]
Patch [#26799] 2.5x blenderplayer (BGE) anti-aliasing & embedding by Sebastian Korczak (with some small tweaks) + adding GHOST_PRINTF
The patch can also be found in http://codereview.appspot.com/4431072/

##############
This patch fix anti-aliasing (multisampling) implementation for win32 platform. It also gives opportunity to embed blenderplayer inside parent window.

Usage:
blenderplayer.exe -i 123456 -m 16 file.blend

where:
123456 - parent window handler (integer, default: 0)
16 - multisample level (integer, default: 0, max: 16. Put there maximum level you want. If not supported, player will automatically try 15,14,13,...,3,2,1)
##############

This patch was originally created as part of the Burster (aka webplugin) project but benefit any one embedding the bge in a custom OpenGL context. By the way, to embed the BGE in a .Net application is really straightforward now =)
The Multisampling work for blenderplayer as a whole.

Missing functionalities:
- to expose the multisampling to the ui (so far it only works in console)
- window focus and keyboard messages for embedded blenderplayer (supported in their previous patch for 2.49, yet to be ported over)
- handle resizing (to be investigated, indeed the changes in getState() in GHOST_WindowWin32.cpp are going to get in the way of that if I'm not mistaken. To be addressed together.

Doxygen documentation to be added whenever I sort out how to do so. Sorry Nathan too many stuff to deal with at the same time. The sooner this patch gets in, the sooner the missing functionalities can be patched on top of that.

8 years agoDo not lock key whn undoing to another shapekey while sculpting
Sergey Sharybin [Tue, 3 May 2011 18:47:16 +0000 (18:47 +0000)]
Do not lock key whn undoing to another shapekey while sculpting

8 years agobplayer stub update + remove some tabs
Dalai Felinto [Tue, 3 May 2011 18:31:01 +0000 (18:31 +0000)]
bplayer stub update + remove some tabs

8 years agofix [#27160] Shaded checkbox is not working.
Campbell Barton [Tue, 3 May 2011 15:30:16 +0000 (15:30 +0000)]
fix [#27160] Shaded checkbox is not working.

8 years agofix [#27271] Going into sculpt mode causes crash
Campbell Barton [Tue, 3 May 2011 15:01:55 +0000 (15:01 +0000)]
fix [#27271] Going into sculpt mode causes crash

8 years agofix [#27218] Tooltip text renders incorrectly.
Campbell Barton [Tue, 3 May 2011 13:12:47 +0000 (13:12 +0000)]
fix [#27218] Tooltip text renders incorrectly.

8 years agofix [#27268] 2.57b Global Pivot Option not functional.
Campbell Barton [Tue, 3 May 2011 12:37:15 +0000 (12:37 +0000)]
fix [#27268] 2.57b Global Pivot Option not functional.

8 years agoremove player runtime writing functions, this is now an addon.
Campbell Barton [Tue, 3 May 2011 08:45:40 +0000 (08:45 +0000)]
remove player runtime writing functions, this is now an addon.

8 years agofix [#27143] Cannot import key configuration with systemwide install
Campbell Barton [Tue, 3 May 2011 08:21:11 +0000 (08:21 +0000)]
fix [#27143] Cannot import key configuration with systemwide install

8 years agocorrect url [#27252] Help link "Manual" in blender still points to 2.49 documents.
Campbell Barton [Tue, 3 May 2011 07:51:07 +0000 (07:51 +0000)]
correct url [#27252] Help link "Manual" in blender still points to 2.49 documents.

8 years agoreplace OBJECT_OT_location_apply, OBJECT_OT_scale_apply, OBJECT_OT_rotation_apply...
Campbell Barton [Tue, 3 May 2011 07:09:02 +0000 (07:09 +0000)]
replace OBJECT_OT_location_apply, OBJECT_OT_scale_apply, OBJECT_OT_rotation_apply with OBJECT_OT_transform_apply with 3 boolean options.
added back menu item from 2.4x to apply Rotation & Scale.

8 years agochange ghost/x11 toggleConsole to use dummy function in the header.
Campbell Barton [Tue, 3 May 2011 07:05:01 +0000 (07:05 +0000)]
change ghost/x11 toggleConsole to use dummy function in the header.

8 years agotake 3, fix [#26727] Make Proxy ignores group offset
Campbell Barton [Tue, 3 May 2011 05:41:16 +0000 (05:41 +0000)]
take 3, fix [#26727] Make Proxy ignores group offset

8 years agofix [#27266] EdgeSplit + RemoveDoubles + MoveView = Crash
Campbell Barton [Tue, 3 May 2011 04:18:23 +0000 (04:18 +0000)]
fix [#27266] EdgeSplit + RemoveDoubles + MoveView = Crash

8 years agoauto-merge was incorrectly subtracting the doubles removed from the meshes total...
Campbell Barton [Tue, 3 May 2011 04:09:56 +0000 (04:09 +0000)]
auto-merge was incorrectly subtracting the doubles removed from the meshes total face count, remove doubles handles this.

8 years ago=trunk=
Joseph Eagar [Tue, 3 May 2011 01:48:15 +0000 (01:48 +0000)]
=trunk=
Recommitted eltopo collision code (but disabled by default)
with Genscher's permission.

To use, you need to install liblapack and libblas

8 years agobugfix: empty proxied (Ctrl+Alt+P) doesn't maintain draw type and size
Dalai Felinto [Tue, 3 May 2011 00:13:01 +0000 (00:13 +0000)]
bugfix: empty proxied (Ctrl+Alt+P) doesn't maintain draw type and size
reported by me in my Blender ranting sessions with myself

8 years agofix [#27148] *Invalid Path* in all "operator presets" dropdowns
Campbell Barton [Mon, 2 May 2011 17:29:30 +0000 (17:29 +0000)]
fix [#27148] *Invalid Path* in all "operator presets" dropdowns

8 years agoFix for recent glsl commit, forgot to include this file.
Brecht Van Lommel [Mon, 2 May 2011 15:59:24 +0000 (15:59 +0000)]
Fix for recent glsl commit, forgot to include this file.

8 years agoremove dos/unix conversion scripts, enough editors and utilities can do this.
Campbell Barton [Mon, 2 May 2011 15:56:52 +0000 (15:56 +0000)]
remove dos/unix conversion scripts, enough editors and utilities can do this.
update debian spec for new icon location.

8 years agofix for building windows/mingw
Campbell Barton [Mon, 2 May 2011 14:18:47 +0000 (14:18 +0000)]
fix for building windows/mingw

8 years agoFix #26807: glsl diffuse/specular was not clamping negative values, giving
Brecht Van Lommel [Mon, 2 May 2011 14:01:45 +0000 (14:01 +0000)]
Fix #26807: glsl diffuse/specular was not clamping negative values, giving
some inconsistent results with the renderer.

8 years agoFix #26697: glsl color management + vertex color was not working right.
Brecht Van Lommel [Mon, 2 May 2011 13:52:41 +0000 (13:52 +0000)]
Fix #26697: glsl color management + vertex color was not working right.

8 years agoreverse string lookup listbase function BLI_findstring counterparts, added BLI_rfinds...
Campbell Barton [Mon, 2 May 2011 13:35:04 +0000 (13:35 +0000)]
reverse string lookup listbase function BLI_findstring counterparts, added BLI_rfindstring, BLI_rfindstring_ptr, these search from the end of the listbase (like pythons rfind).

8 years agoPotential fix for #27257: menus disappear particle edit mode wireframe draw.
Brecht Van Lommel [Mon, 2 May 2011 12:50:26 +0000 (12:50 +0000)]
Potential fix for #27257: menus disappear particle edit mode wireframe draw.
Depth test got re-enabled without check if it was necessary.

8 years agoenable face mask selection in texture paint mode again (worked in 2.4x).
Campbell Barton [Mon, 2 May 2011 12:32:28 +0000 (12:32 +0000)]
enable face mask selection in texture paint mode again (worked in 2.4x).

8 years agoFix #27098: missing 3d view updates when editing GLSL material nodes.
Brecht Van Lommel [Mon, 2 May 2011 12:31:09 +0000 (12:31 +0000)]
Fix #27098: missing 3d view updates when editing GLSL material nodes.

8 years agoFix for revision 36403, using BLI_findstring. This loop looks for the last
Brecht Van Lommel [Mon, 2 May 2011 12:07:07 +0000 (12:07 +0000)]
Fix for revision 36403, using BLI_findstring. This loop looks for the last
found entry, not the first, made this a bit more explicit in the code now.

8 years agoFix #27165: uvedit mesh selection sync did not handle click / shift+click
Brecht Van Lommel [Mon, 2 May 2011 11:34:57 +0000 (11:34 +0000)]
Fix #27165: uvedit mesh selection sync did not handle click / shift+click
for switching selection modes in the header.

8 years agoImage Editor: remove toolbox menu, was an experiment and not in any other space.
Brecht Van Lommel [Mon, 2 May 2011 11:32:38 +0000 (11:32 +0000)]
Image Editor: remove toolbox menu, was an experiment and not in any other space.

8 years agoUV Edit: move uv vertex buttons code to uvedit module.
Brecht Van Lommel [Mon, 2 May 2011 11:11:57 +0000 (11:11 +0000)]
UV Edit: move uv vertex buttons code to uvedit module.

8 years agoworkaround [#27203] Crashes with some high-res image thumbnail generation
Campbell Barton [Mon, 2 May 2011 10:22:49 +0000 (10:22 +0000)]
workaround [#27203] Crashes with some high-res image thumbnail generation
skip generating thumbs for images over 100mb.
also pass string lengths as size_t rather then int for path_util.c functions.

8 years agoFix #27230: texture paint face selection mask did not work on multires. It
Brecht Van Lommel [Mon, 2 May 2011 10:21:07 +0000 (10:21 +0000)]
Fix #27230: texture paint face selection mask did not work on multires. It
seems the support mapping flag was removed for disabling in edit mode, but
this wasn't necessary.

8 years agoRelated to bug #27004: there is now an option to disable color management for
Brecht Van Lommel [Mon, 2 May 2011 09:08:43 +0000 (09:08 +0000)]
Related to bug #27004: there is now an option to disable color management for
GLSL. I've tried to find a quicker way to do it that still looks the same, but
couldn't find a formula that didn't have major color shifts.

8 years agoFix #27243: missing seed button for halo materials.
Brecht Van Lommel [Mon, 2 May 2011 08:56:53 +0000 (08:56 +0000)]
Fix #27243: missing seed button for halo materials.