Commit Graph

25030 Commits

Author SHA1 Message Date
Brecht Van Lommel
d5929b452e Cycles: fix missing #include. 2011-05-06 09:19:29 +00:00
Brecht Van Lommel
b25346a48c Cycles: svn merge -r36352:36495 https://svn.blender.org/svnroot/bf-blender/trunk/blender/ 2011-05-05 10:14:56 +00:00
Brecht Van Lommel
61fdadbb2e Cycles refactoring: put external engine code into separate file. 2011-05-05 09:43:45 +00:00
Campbell Barton
fbe17e09a3 alternative to joe's commit r36451.
loopcut now follows 'Release confirms' user preference.
2011-05-04 20:42:34 +00:00
Campbell Barton
5ed5c7441c new rna api call: RNA_struct_idprops_unset(op->ptr, "someprop"), added to allow un-setting operator properties. 2011-05-04 17:36:13 +00:00
Brecht Van Lommel
6778ea39d5 Cycles: rename UV geometry node output to Parametric to avoid confusion with uv texture coordinates. 2011-05-04 15:22:15 +00:00
Campbell Barton
015a32d01c new BLF functions
- BLF_height_max
- BLF_width_max
- BLF_descender
- BLF_ascender

use for tooltip and image stamp.
2011-05-04 15:09:48 +00:00
Sergey Sharybin
d000103e80 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
2011-05-04 13:15:42 +00:00
Campbell Barton
5d1fdb73ce drawing in 3d camera view conversion between mouse/camera view border was broken. 2011-05-04 12:59:24 +00:00
Campbell Barton
b9076b87d2 pass colors to glColor as vectors where possible. 2011-05-04 12:00:11 +00:00
Campbell Barton
7c5d6c9c39 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.
2011-05-04 06:08:14 +00:00
Campbell Barton
ff7ae1d4f4 rna object constraint remove function wasn't calling ED_object_constraint_update(). 2011-05-04 05:56:26 +00:00
Campbell Barton
ea5b43d862 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.
2011-05-04 05:52:14 +00:00
Campbell Barton
b5c2598a6b use UNUSED in some more function args, no functional changes. 2011-05-04 04:00:53 +00:00
Campbell Barton
41dbd19b4d fix for crash executing sculpt via python. 2011-05-04 03:34:55 +00:00
Dalai Felinto
c56fe3efe6 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.
2011-05-04 01:50:17 +00:00
Sergey Sharybin
8df1a51c19 Do not lock key whn undoing to another shapekey while sculpting 2011-05-03 18:47:16 +00:00
Dalai Felinto
905289eb60 bplayer stub update + remove some tabs 2011-05-03 18:31:01 +00:00
Brecht Van Lommel
2996f08f84 Cycles: first batch of windows build fixes, not quite there yet. 2011-05-03 18:29:11 +00:00
Campbell Barton
aca6c426f0 fix [#27160] Shaded checkbox is not working. 2011-05-03 15:30:16 +00:00
Campbell Barton
23f1f26e7b fix [#27271] Going into sculpt mode causes crash 2011-05-03 15:01:55 +00:00
Campbell Barton
12a78aceee fix [#27218] Tooltip text renders incorrectly. 2011-05-03 13:12:47 +00:00
Campbell Barton
80d94babe0 fix [#27268] 2.57b Global Pivot Option not functional. 2011-05-03 12:37:15 +00:00
Campbell Barton
0a2a138d86 remove player runtime writing functions, this is now an addon. 2011-05-03 08:45:40 +00:00
Campbell Barton
809252664b correct url [#27252] Help link "Manual" in blender still points to 2.49 documents. 2011-05-03 07:51:07 +00:00
Campbell Barton
0a415b6e71 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.
2011-05-03 07:09:02 +00:00
Campbell Barton
e601dee168 take 3, fix [#26727] Make Proxy ignores group offset 2011-05-03 05:41:16 +00:00
Campbell Barton
2865e072c9 fix [#27266] EdgeSplit + RemoveDoubles + MoveView = Crash 2011-05-03 04:18:23 +00:00
Campbell Barton
b0cd0a0577 auto-merge was incorrectly subtracting the doubles removed from the meshes total face count, remove doubles handles this. 2011-05-03 04:09:56 +00:00
Joseph Eagar
03734f5c58 =trunk=
Recommitted eltopo collision code (but disabled by default)
with Genscher's permission.

To use, you need to install liblapack and libblas
2011-05-03 01:48:15 +00:00
Dalai Felinto
1fdc760bfe bugfix: empty proxied (Ctrl+Alt+P) doesn't maintain draw type and size
reported by me in my Blender ranting sessions with myself
2011-05-03 00:13:01 +00:00
Brecht Van Lommel
a9b066a9c6 Fix for recent glsl commit, forgot to include this file. 2011-05-02 15:59:24 +00:00
Brecht Van Lommel
14d7d480df Fix #26807: glsl diffuse/specular was not clamping negative values, giving
some inconsistent results with the renderer.
2011-05-02 14:01:45 +00:00
Brecht Van Lommel
7f4b4bbaf0 Fix #26697: glsl color management + vertex color was not working right. 2011-05-02 13:52:41 +00:00
Campbell Barton
08d8914b3d 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). 2011-05-02 13:35:04 +00:00
Brecht Van Lommel
6baa456dfd Potential fix for #27257: menus disappear particle edit mode wireframe draw.
Depth test got re-enabled without check if it was necessary.
2011-05-02 12:50:26 +00:00
Campbell Barton
354ca130f6 enable face mask selection in texture paint mode again (worked in 2.4x). 2011-05-02 12:32:28 +00:00
Brecht Van Lommel
a2941a464b Fix #27098: missing 3d view updates when editing GLSL material nodes. 2011-05-02 12:31:09 +00:00
Brecht Van Lommel
e23e125c34 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.
2011-05-02 12:07:07 +00:00
Brecht Van Lommel
c2f18383f9 Fix #27165: uvedit mesh selection sync did not handle click / shift+click
for switching selection modes in the header.
2011-05-02 11:34:57 +00:00
Brecht Van Lommel
b0ed43c581 Image Editor: remove toolbox menu, was an experiment and not in any other space. 2011-05-02 11:32:38 +00:00
Brecht Van Lommel
438f604d15 UV Edit: move uv vertex buttons code to uvedit module. 2011-05-02 11:11:57 +00:00
Campbell Barton
02fbaede8f 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.
2011-05-02 10:22:49 +00:00
Brecht Van Lommel
1357443e48 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.
2011-05-02 10:21:07 +00:00
Brecht Van Lommel
bee2523a41 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.
2011-05-02 09:08:43 +00:00
Campbell Barton
3986896500 copying/freeing node trees now adjusts grease pencil user count.
also NULL freed texture node socket data incase its used again by accident.
2011-05-02 08:37:44 +00:00
Campbell Barton
e9e9f89f1a x11 builds again. 2011-05-02 08:36:00 +00:00
Nathan Letwory
d197ec74e3 Fix [#26981] Command window is not opening in 2.57.0
Reported by Thomas Engel
Fix [#26938] Blender Zoom not working after startup (Windows)
  Reported by Ilija Boshkov

by applying patch [#26881] Fix for console disappearing in debug mode [Windows]
  Submitted by Alexander Kuznetsov (AlexK)

The patch moves console toggling code into GHOST and improves on the toggling behaviour.

The patch changes handling of WM_SYSCOMMAND so that alt-key toggling isn't a problem anymore.
2011-05-02 08:07:24 +00:00
Sergey Sharybin
1745113639 Use enum menu for angle source in sculpt mode -- rake toggling wasn't
working due to it's 3 possible sources.
2011-05-02 08:04:05 +00:00
Campbell Barton
474fe33301 fix transform code using a node space as an image space, accessing unallocated memory.
also remove bullet patch which has now been applied.
2011-05-02 05:24:59 +00:00