10 years agoThe material index did not work when FSAA was turned on.
Jeroen Bakker [Wed, 6 Jul 2011 16:08:24 +0000 (16:08 +0000)]
The material index did not work when FSAA was turned on.
The information was written in the temp exr files, but was not read back.
After checking I saw that the pass was not merged back in the rendercore.

After adding this it worked. tested with all FSAA settings.

10 years agoFix #27879: sequencer didn't draw overlapping strips well, selected were drawn
Brecht Van Lommel [Wed, 6 Jul 2011 13:15:22 +0000 (13:15 +0000)]
Fix #27879: sequencer didn't draw overlapping strips well, selected were drawn
under unselected, and active strips red border color for active strips was not
clear enough.

10 years agoFix #27883: object actions did not get duplicated on full scene copy.
Brecht Van Lommel [Wed, 6 Jul 2011 12:33:33 +0000 (12:33 +0000)]
Fix #27883: object actions did not get duplicated on full scene copy.

10 years agoErgh! first compile and test then commit!
Ton Roosendaal [Wed, 6 Jul 2011 12:22:36 +0000 (12:22 +0000)]
Ergh! first compile and test then commit!

10 years agoMaking Blender compile for C90 standard, var declared after code :)
Ton Roosendaal [Wed, 6 Jul 2011 11:44:27 +0000 (11:44 +0000)]
Making Blender compile for C90 standard, var declared after code :)

Also cleaned a line of code that was horribly spread over 4 lines.

10 years agoFix #27880: sequencer separate images operator lost strip properties like
Brecht Van Lommel [Wed, 6 Jul 2011 10:58:23 +0000 (10:58 +0000)]
Fix #27880: sequencer separate images operator lost strip properties like
blend mode, opacity, etc.

10 years agoFix #27877: writing .avi files > 4 GB not working on windows.
Brecht Van Lommel [Wed, 6 Jul 2011 10:19:04 +0000 (10:19 +0000)]
Fix #27877: writing .avi files > 4 GB not working on windows.

Solution is to replace "long" by "int64_t" and "fseek" by "_fseeki64", because
long on 64 bit windows is still 32 bit.

10 years agoFix #27876: particles instancing a whole group didn't take group offset into account.
Brecht Van Lommel [Wed, 6 Jul 2011 10:05:27 +0000 (10:05 +0000)]
Fix #27876: particles instancing a whole group didn't take group offset into account.

10 years agoFix #27875: different texture nodes result after decompose/compose.
Brecht Van Lommel [Wed, 6 Jul 2011 09:58:29 +0000 (09:58 +0000)]
Fix #27875: different texture nodes result after decompose/compose.

10 years agoFix #27873: nan pixels in render with degenerate faces.
Brecht Van Lommel [Wed, 6 Jul 2011 09:15:18 +0000 (09:15 +0000)]
Fix #27873: nan pixels in render with degenerate faces.

10 years agoan example for blf - a basic Hello World (for bge, not blender)
Dalai Felinto [Wed, 6 Jul 2011 08:29:20 +0000 (08:29 +0000)]
an example for blf - a basic Hello World (for bge, not blender)

10 years agonew example for bge.texture, a basic texture replacement
Dalai Felinto [Wed, 6 Jul 2011 07:26:04 +0000 (07:26 +0000)]
new example for bge.texture, a basic texture replacement
fresh simple and didactic example straight from my bge book, enjoy it ;)
video texture documentation online ... tears dropping.

10 years agomoving bge.texture example to an external file
Dalai Felinto [Wed, 6 Jul 2011 07:15:56 +0000 (07:15 +0000)]
moving bge.texture example to an external file

10 years agopatch [#27871] bge.texture documentation from Solano Felício (+ changes from me)...
Dalai Felinto [Wed, 6 Jul 2011 07:05:29 +0000 (07:05 +0000)]
patch [#27871] bge.texture documentation from Solano Felício (+ changes from me) it still needs work
... and I can't test rst in windows so for now let's pretend it builds. If someone can generate the docs and see how it goes please let me know.

(plus a small fix for bge.logic rst)

10 years agoFix #27865: weird mouse warping with continuous grab on OS X.
Brecht Van Lommel [Tue, 5 Jul 2011 20:15:29 +0000 (20:15 +0000)]
Fix #27865: weird mouse warping with continuous grab on OS X.

10 years agoFix #27777: vertex color disabled when in a reused node material.
Brecht Van Lommel [Tue, 5 Jul 2011 19:45:26 +0000 (19:45 +0000)]
Fix #27777: vertex color disabled when in a reused node material.

10 years agoPatch #27829: fix X11 compile problem due to missing XF86XK_AudioForward define
Brecht Van Lommel [Tue, 5 Jul 2011 19:10:28 +0000 (19:10 +0000)]
Patch #27829: fix X11 compile problem due to missing XF86XK_AudioForward define
on Debian Lenny. Patch by "dungeoneer".

10 years agoPatch #27842: build fix for solaris, missing finite(). Patch by A. Hettinger.
Brecht Van Lommel [Tue, 5 Jul 2011 19:04:38 +0000 (19:04 +0000)]
Patch #27842: build fix for solaris, missing finite(). Patch by A. Hettinger.

10 years agoFix small part of #27815: recognize m2ts as video file extension.
Brecht Van Lommel [Tue, 5 Jul 2011 18:54:16 +0000 (18:54 +0000)]
Fix small part of #27815: recognize m2ts as video file extension.

10 years agoFix #27848: sequencer strip hard cut looses soft trim on second strip.
Brecht Van Lommel [Tue, 5 Jul 2011 16:31:21 +0000 (16:31 +0000)]
Fix #27848: sequencer strip hard cut looses soft trim on second strip.

10 years agoFix compile for msvc (broken in r38119)
Nathan Letwory [Tue, 5 Jul 2011 14:53:37 +0000 (14:53 +0000)]
Fix compile for msvc (broken in r38119)

10 years agoFix #27855: crash on enabling high resolution smoke.
Brecht Van Lommel [Tue, 5 Jul 2011 12:25:56 +0000 (12:25 +0000)]
Fix #27855: crash on enabling high resolution smoke.

Wavelet tile generation code was reading outside of array bounds, and as a
result could give a noise.wavelets file with nan values. Now that problem
is fixed, and existing files with nan are ignored.

10 years agoFix part of #27858: crash trying to apply subsurf modifier as shape key,
Brecht Van Lommel [Tue, 5 Jul 2011 10:35:48 +0000 (10:35 +0000)]
Fix part of #27858: crash trying to apply subsurf modifier as shape key,
fix found by Bastian Schreiber.

10 years agoFix #27826: bone envelope head/tail radius not dynamically updated in viewport.
Brecht Van Lommel [Tue, 5 Jul 2011 10:04:40 +0000 (10:04 +0000)]
Fix #27826: bone envelope head/tail radius not dynamically updated in viewport.

10 years agoFix #27846: time extend / E key not work in sequence editor.
Brecht Van Lommel [Tue, 5 Jul 2011 09:47:09 +0000 (09:47 +0000)]
Fix #27846: time extend / E key not work in sequence editor.

10 years agoFix #27810: bones drawn blue in 2.49 file, was still checking stride bone
Brecht Van Lommel [Tue, 5 Jul 2011 09:35:38 +0000 (09:35 +0000)]
Fix #27810: bones drawn blue in 2.49 file, was still checking stride bone
flag for drawing even though that feature is no longer in 2.5.

10 years agoFix #27863: converting curve spline type from python crashes.
Brecht Van Lommel [Tue, 5 Jul 2011 08:57:11 +0000 (08:57 +0000)]
Fix #27863: converting curve spline type from python crashes.

10 years agoFix: #27861 bevel angle limit at 90° wasn't working well on cube, tweaked
Brecht Van Lommel [Tue, 5 Jul 2011 08:28:54 +0000 (08:28 +0000)]
Fix: #27861 bevel angle limit at 90° wasn't working well on cube, tweaked
epsilon value to be a bit smaller.

10 years agofix [#27862] OpenGL render animation don't respect .png RGB option.
Campbell Barton [Tue, 5 Jul 2011 07:46:25 +0000 (07:46 +0000)]
fix [#27862] OpenGL render animation don't respect .png RGB option.

10 years agoFix for [#27182] particle/collision kill interacting strangely
Janne Karhu [Tue, 5 Jul 2011 02:56:14 +0000 (02:56 +0000)]
Fix for [#27182] particle/collision kill interacting strangely
* Particle die time wasn't taken correctly into account in certain situations when calculating dynamics.

10 years agoFix for [#27579] Particles Cache Problem
Janne Karhu [Tue, 5 Jul 2011 02:18:55 +0000 (02:18 +0000)]
Fix for [#27579] Particles Cache Problem
* Horrors from the ancient world of deprecated code: object animation offset can't really work correctly with particles unless point cache takes full control of particle system timing.
* Disabled the non-working offset control from effecting particles so that for now particles will work consistently and the offset is only applied to the object.

10 years agoFix for [#27347] Particle x-axis mirror editing not working as expected.
Janne Karhu [Tue, 5 Jul 2011 01:49:34 +0000 (01:49 +0000)]
Fix for [#27347] Particle x-axis mirror editing not working as expected.
* The x-mirror editing didn't mirror strand lengths.

10 years agoblenderplayer bundle in OSX doesn't need script folder (untested)
Dalai Felinto [Tue, 5 Jul 2011 00:30:27 +0000 (00:30 +0000)]
blenderplayer bundle in OSX doesn't need script folder (untested)
I can't test this here, somehow blender+scons is failing in my building env.
but it should work. Basically it skips the copy of the script folder for the

I will test it once buildbot get pass this review ;)

10 years agoUpdated the indent, sorry!
Jeroen Bakker [Mon, 4 Jul 2011 19:22:37 +0000 (19:22 +0000)]
Updated the indent, sorry!

10 years ago====== Proposal: Nodes property windows enhancement ======
Jeroen Bakker [Mon, 4 Jul 2011 18:48:36 +0000 (18:48 +0000)]
====== Proposal: Nodes property windows enhancement ======

===== Situation before this patch =====

in the current situation inside the node editor there is a properties panel (press 'n'-key). This pabel displays some information about the node, backdrop and grease pencil. The UI of the property panel is typically vertical oriented. Nodes in the other hand are not oriented in a direction. Both area's are draw via the same draw function.

With some nodes this will create not user-friendly UI. Try the color-balance for instance). The 3 color circles are drawn next to each other, it would be better to draw them below each other.

When creating more complex nodes you don't want to display all handles in the node-panel and in the properties panel. For instance fine-tuning handles you only want to appear in the property panel to reduce place in the node itself.

===== Situation after this patch  =====

This patch separates the draw functions of the property panel and the node panel.
When no special draw function is created for the property panel, the draw function of the node will be used as 'fallback'

===== Impact =====

==== BKE_node.h ====

add a new uifunc (called uifuncbut) to the bNodeType struct. The definition is the same as the uifunc.

==== node_buttons.c ====

if the uifuncbut is set, call it. currently calls the uifunc method

==== drawnode.c ====

static void node_composit_set_butfunc(bNodeType *ntype). set the uifuncbut function where needed. When at the end of the method uifuncbut is still empty, set uifuncbut to the uifunc.

===== Final note =====

! PS. this is not limited to the compositor it also works for Materials and Textures !
! PPS. For other branching creating their own node-tree. Please make sure that your uifuncbut is set NULL or a valid draw function !

10 years agoCurrent situation
Jeroen Bakker [Mon, 4 Jul 2011 18:14:41 +0000 (18:14 +0000)]
Current situation

A mesh can consist out of multiple material. Take a character with clothing's. the skin can be a different material as the different clothing's. During compositing it is a common use-case to only do a part of the composit on only a specific material. Currently this can not be done.

In blender movies this feature is known to be implemented, but until now it never got integrated into trunk.

With material index the Blender internal renderer will be capable of creating a buffer containing the material indexes of the first pixel-hit. This will be implemented in the same manner as the object index.

In the compositor the ID Mask node can be used to extract the information out of the Render pass.
User interface

On the properties-space the next changes will be done

    Scene⇒Render layer⇒Passes⇒Material index will be added
    Material⇒Options⇒Pass index will be added


    Material struct will get an new field called “index”. this will be a short-type.
    Material struct the field pad will be removed.
    A new Render-layer pass will be added (bit 1«18)


    Material RNA is updated (based on “pass index” from object)
    Render layer RNA is updated (based on IndexOB)

Blender internal renderer

The Blender internal renderer will process the render pass as a copy of the Object index.
Blender compositor

The render layer input will get a new output socket called “IndexMA”

An example on how to use material index can be found at:

This is also example of a commit message longer than the commit itself :)

10 years agobind marker camera now uses active object rather then scene camera (was requested...
Campbell Barton [Mon, 4 Jul 2011 15:09:02 +0000 (15:09 +0000)]
bind marker camera now uses active object rather then scene camera (was requested a few times)

10 years agoFix #27849: 3D manipulator widget lost on mesh in edge mode.
Brecht Van Lommel [Mon, 4 Jul 2011 13:48:18 +0000 (13:48 +0000)]
Fix #27849: 3D manipulator widget lost on mesh in edge mode.

The manipulator was always using vertex selection flags, but those are only
valid in vertex mode, as selection flag flushing only happens in the direction
vertex -> edge -> face. Now use edge/face selection flags when needed.

10 years agoPaths: remove some temporary code that was only needed for 2.57.
Brecht Van Lommel [Mon, 4 Jul 2011 13:33:47 +0000 (13:33 +0000)]
Paths: remove some temporary code that was only needed for 2.57.

10 years agoFix #27785: blenderplayer + eltopo linking error.
Brecht Van Lommel [Mon, 4 Jul 2011 13:03:41 +0000 (13:03 +0000)]
Fix #27785: blenderplayer + eltopo linking error.

10 years agoBug report (IRC)
Ton Roosendaal [Mon, 4 Jul 2011 11:28:39 +0000 (11:28 +0000)]
Bug report (IRC)

Knife cut with long mouse trails failed, increased max amount of input points
4 fold (1024).

10 years agoFix #27850: keyboards with a comma instead of a dot on the numpad now get
Brecht Van Lommel [Mon, 4 Jul 2011 10:56:59 +0000 (10:56 +0000)]
Fix #27850: keyboards with a comma instead of a dot on the numpad now get
converted to a dot when typing into number buttons, for easier number entry.

10 years agoApply patch 4636051. COLLADA: Export selection.
Nathan Letwory [Mon, 4 Jul 2011 08:59:28 +0000 (08:59 +0000)]
Apply patch 4636051. COLLADA: Export selection.
Original patch by Jan Diederich, adapted by Pelle Johnsen. Review assistance by Daniel Tavares.

This patch adds an option to export only the selection.

10 years agofix for own error in intersect_line_sphere_2d(), using 3d function on 2d vectors
Campbell Barton [Mon, 4 Jul 2011 08:13:27 +0000 (08:13 +0000)]
fix for own error in intersect_line_sphere_2d(), using 3d function on 2d vectors

10 years agofix for crash when setting layers or saving when there is no active scene - only...
Campbell Barton [Mon, 4 Jul 2011 05:23:36 +0000 (05:23 +0000)]
fix for crash when setting layers or saving when there is no active scene - only really happens when running python scripts on startup.

10 years agofix for building WITH_PYTHON_MODULE
Campbell Barton [Sun, 3 Jul 2011 19:15:46 +0000 (19:15 +0000)]
fix for building WITH_PYTHON_MODULE

10 years agoAs per discussion: allow bone transforms again for proxy'ed bones.
Ton Roosendaal [Sun, 3 Jul 2011 18:21:37 +0000 (18:21 +0000)]
As per discussion: allow bone transforms again for proxy'ed bones.

10 years agoCMake file to build ghost tests again.
Campbell Barton [Sun, 3 Jul 2011 16:17:38 +0000 (16:17 +0000)]
CMake file to build ghost tests again.

10 years agochanged the max decimal points to show from 7 to 6, since with float precision proble...
Campbell Barton [Sun, 3 Jul 2011 13:20:21 +0000 (13:20 +0000)]
changed the max decimal points to show from 7 to 6, since with float precision problems the median point of a selection could be 0.0000003

10 years agofix 2 bugs in project from view from a camera object
Campbell Barton [Sun, 3 Jul 2011 10:48:18 +0000 (10:48 +0000)]
fix 2 bugs in project from view from a camera object
- panorama mode was scaled 2x too high.
- scaled camera objects would incorrectly effect the result.

10 years agofix [#27839] UV 'Project from view' ignores camera lens shift
Campbell Barton [Sun, 3 Jul 2011 07:37:33 +0000 (07:37 +0000)]
fix [#27839] UV 'Project from view' ignores camera lens shift

10 years agofix for python error when pinning a non mesh object in mesh editmode.
Campbell Barton [Sun, 3 Jul 2011 07:21:33 +0000 (07:21 +0000)]
fix for python error when pinning a non mesh object in mesh editmode.

10 years agofix for error when moving module, broke fracture tools and select internal face operator.
Campbell Barton [Sun, 3 Jul 2011 04:28:41 +0000 (04:28 +0000)]
fix for error when moving module, broke fracture tools and select internal face operator.

10 years agofix for error in cmake files
Campbell Barton [Sat, 2 Jul 2011 07:55:06 +0000 (07:55 +0000)]
fix for error in cmake files

10 years agofix for building headless
Campbell Barton [Fri, 1 Jul 2011 15:15:22 +0000 (15:15 +0000)]
fix for building headless

10 years agoPackaging variable named 'a' for release v2.58a
Ton Roosendaal [Fri, 1 Jul 2011 14:46:14 +0000 (14:46 +0000)]
Packaging variable named 'a' for release

10 years agoupdate checksums for x3d tests
Campbell Barton [Fri, 1 Jul 2011 13:39:35 +0000 (13:39 +0000)]
update checksums for x3d tests

10 years agoquick explode failed if executed with no active object
Campbell Barton [Fri, 1 Jul 2011 13:26:20 +0000 (13:26 +0000)]
quick explode failed if executed with no active object

10 years agouv mirror poll function wasnt checking UV's were available on the mesh.
Campbell Barton [Fri, 1 Jul 2011 13:25:00 +0000 (13:25 +0000)]
uv mirror poll function wasnt checking UV's were available on the mesh.

10 years agocmake was installing text as a directory rather then coping the files within it.
Campbell Barton [Fri, 1 Jul 2011 13:10:49 +0000 (13:10 +0000)]
cmake was installing text as a directory rather then coping the files within it.

10 years agominor pep8 edits
Campbell Barton [Fri, 1 Jul 2011 12:33:34 +0000 (12:33 +0000)]
minor pep8 edits

10 years agoadd 'bgl' OpenGL doc to sphinx
Campbell Barton [Fri, 1 Jul 2011 11:16:42 +0000 (11:16 +0000)]
add 'bgl' OpenGL doc to sphinx

10 years agomoving BGL to rst format, first move file.
Campbell Barton [Fri, 1 Jul 2011 11:13:26 +0000 (11:13 +0000)]
moving BGL to rst format, first move file.

10 years agofix [#27820] foreach_get on bpy_prop_collections returns weird results
Campbell Barton [Fri, 1 Jul 2011 08:48:00 +0000 (08:48 +0000)]
fix [#27820] foreach_get on bpy_prop_collections returns weird results

10 years agoFix #27816: Outliner does not update when parents are cleared
Sergey Sharybin [Fri, 1 Jul 2011 05:58:28 +0000 (05:58 +0000)]
Fix #27816: Outliner does not update when parents are cleared

Added NC_OBJECT|ND_PARENT notifier to OBJECT_OT_parent_clear operator.

10 years agoown change to cmake files broke MSVC2010 with Debug configuration, reported by Alex K
Campbell Barton [Fri, 1 Jul 2011 03:40:12 +0000 (03:40 +0000)]
own change to cmake files broke MSVC2010 with Debug configuration, reported by Alex K

10 years agofix for own error in script edits, broke bpy_extras.mesh_utils.ngon_tesselate
Campbell Barton [Thu, 30 Jun 2011 16:06:30 +0000 (16:06 +0000)]
fix for own error in script edits, broke bpy_extras.mesh_utils.ngon_tesselate

10 years agofix for own mistake with key shortcuts r37850
Campbell Barton [Thu, 30 Jun 2011 15:43:38 +0000 (15:43 +0000)]
fix for own mistake with key shortcuts r37850

10 years agoTodo item:
Ton Roosendaal [Thu, 30 Jun 2011 15:02:03 +0000 (15:02 +0000)]
Todo item:

Closed regions didn't always draw the (+) icon right place, confusing
for users.

Next to that, I think this icon is using a bad metaphor or visual language,
Illustrated best if you close a header in outliner or buttons. Icons are
UI widgets, for screen/editor layouts different controls can be stylized.

My preference is something that aligns visually to the seperators between
regions; for testing and hacking pleasure I've added two quick versions,
a small tabbish thing and a triangle. Enable these with debug menu,
ALT+CTRL+D, values 1 or 2.

This is simply drawn with opengl now. An image for it can be made as well.


There's other design ideas to explore as well, like making region deviders
8-10 pixels wide, with a 'drag me' dot on it or so. That takes some screen
estate though, and will require to add big editor-dividers too...
Fun stuff for the mockup-mafia to check on, we have time :)

10 years agoWhen duplicating nodes in a tree, also copy the links between selected nodes, as...
Lukas Toenne [Thu, 30 Jun 2011 12:37:59 +0000 (12:37 +0000)]
When duplicating nodes in a tree, also copy the links between selected nodes, as well as input links from non-selected to selected nodes.

10 years agoFix for undefined "index" in key.c.
Sergey Sharybin [Thu, 30 Jun 2011 07:35:41 +0000 (07:35 +0000)]
Fix for undefined "index" in key.c.

Probably forgotten to be remaned to defgrp_index after
recent commit here.

10 years agoimprove error report [#27775] External Image Editor Preference does not work
Campbell Barton [Thu, 30 Jun 2011 04:32:59 +0000 (04:32 +0000)]
improve error report [#27775] External Image Editor Preference does not work
also correct tooltip typo.

10 years agoreplace inline loops for get_weights_array with calls to defvert_find_weight()
Campbell Barton [Thu, 30 Jun 2011 03:04:39 +0000 (03:04 +0000)]
replace inline loops for get_weights_array with calls to defvert_find_weight()

10 years agominor change in logic for adding a new hook, ignore zero weight verts in a vgroup.
Campbell Barton [Thu, 30 Jun 2011 02:52:13 +0000 (02:52 +0000)]
minor change in logic for adding a new hook, ignore zero weight verts in a vgroup.

10 years agofix/workaround [#27807] bake malloc loop if Deep Shadow && strand && children
Campbell Barton [Thu, 30 Jun 2011 02:02:16 +0000 (02:02 +0000)]
fix/workaround [#27807] bake malloc loop if Deep Shadow && strand && children

render strands use the window matrix and window size which were both zero while baking, this caused divides by 0 and eternal malloc loop.
So set unit window matrix and dummy view size.
This is more a workaround then a fix but avoids crashing.

10 years agominor edits, no functional change.
Campbell Barton [Thu, 30 Jun 2011 01:40:20 +0000 (01:40 +0000)]
minor edits, no functional change.

10 years agoFix windows cmake build, this line got accidentally removed in variable renaming.
Brecht Van Lommel [Wed, 29 Jun 2011 17:56:32 +0000 (17:56 +0000)]
Fix windows cmake build, this line got accidentally removed in variable renaming.

10 years agoAddon UI: button for removing addons which are installed to user/home paths, this...
Campbell Barton [Wed, 29 Jun 2011 15:56:22 +0000 (15:56 +0000)]
Addon UI: button for removing addons which are installed to user/home paths, this is not displayed  for system addons, or ones which come with blender.

10 years agoincorrectly had CMake storing directory names as filepaths
Campbell Barton [Wed, 29 Jun 2011 13:16:11 +0000 (13:16 +0000)]
incorrectly had CMake storing directory names as filepaths
also correct compiler warning for collada and remove print from own last commit.

10 years agoconsole autocomp import now excludes '_' prefixed variables and the results are sorted.
Campbell Barton [Wed, 29 Jun 2011 10:47:43 +0000 (10:47 +0000)]
console autocomp import now excludes '_' prefixed variables and the results are sorted.

10 years agoCorrected link to FFmpeg homepage.
Sergey Sharybin [Wed, 29 Jun 2011 09:46:00 +0000 (09:46 +0000)]
Corrected link to FFmpeg homepage.

10 years agofix [#27800] Tooltips for shading mode options the wrong way round.
Campbell Barton [Wed, 29 Jun 2011 06:14:15 +0000 (06:14 +0000)]
fix [#27800] Tooltips for shading mode options the wrong way round.

10 years agobug [#27779] Python console completion broken
Campbell Barton [Wed, 29 Jun 2011 06:06:59 +0000 (06:06 +0000)]
bug [#27779] Python console completion broken
modified auto-completion, though this may need to become a preference.
The problem is:
- including _all_ text as a prefix can take a lot of space, and isnt too readable.
- including only the previous word is error prone because detecting delimiters can fail when editing strings.

so I've set it to only include the last part of the string but align to the cursor to make it more readable.

10 years ago2.5 Image Buttons Template:
Thomas Dinges [Tue, 28 Jun 2011 20:05:18 +0000 (20:05 +0000)]
2.5 Image Buttons Template:
* Added missing greying out for "fields_per_frame" Property, reported by lmg on IRC. Thanks!

10 years agoown error in recent cmake edits
Campbell Barton [Tue, 28 Jun 2011 16:57:25 +0000 (16:57 +0000)]
own error in recent cmake edits

10 years agoRenderEngine API: add error reporting function for render engines,
Brecht Van Lommel [Tue, 28 Jun 2011 16:25:07 +0000 (16:25 +0000)]
RenderEngine API: add error reporting function for render engines,
works the same as for operators. Also includes some refactoring of render error
reporting code to use ReportList.

10 years agoCMake: campbell already added default build type as release a few hours
Brecht Van Lommel [Tue, 28 Jun 2011 15:43:03 +0000 (15:43 +0000)]
CMake: campbell already added default build type as release a few hours
earlier in a different way, missed that, so reverting my change.

10 years agoCMake: set default cmake build type to Release. Without that you would
Brecht Van Lommel [Tue, 28 Jun 2011 14:42:11 +0000 (14:42 +0000)]
CMake: set default cmake build type to Release. Without that you would
get a build that has neither debug symbols nor optimization, now it
will build an optimized blender by default.

10 years agofix [#27782] Tileable displacement map issue in Blender 2.58
Campbell Barton [Tue, 28 Jun 2011 12:48:39 +0000 (12:48 +0000)]
fix [#27782] Tileable displacement map issue in Blender 2.58
this bug was introduced in 2.58 (r37342), when adding filtering support to imagewrap(), the problem is boxsample was getting float values which were not wrapped as int values are.

10 years agomake drawing faces in the UV editor an image space option, re-using the mesh option...
Campbell Barton [Tue, 28 Jun 2011 09:42:17 +0000 (09:42 +0000)]
make drawing faces in the UV editor an image space option, re-using the mesh option was lazy and doesn't make much sense.

10 years agoExplicitly turn off JACK so it's clear it's not supported.
Nathan Letwory [Tue, 28 Jun 2011 06:56:39 +0000 (06:56 +0000)]
Explicitly turn off JACK so it's clear it's not supported.

10 years agofix [#27787] Smart UV Unwrap Results in Overlaps
Campbell Barton [Tue, 28 Jun 2011 06:51:55 +0000 (06:51 +0000)]
fix [#27787] Smart UV Unwrap Results in Overlaps
added optional face area weighting (from 2.4x) since this can result in overlapping faces.

10 years agocleanup for cmake msvc build options, reference some libs directly, fix conflicting...
Campbell Barton [Tue, 28 Jun 2011 02:49:49 +0000 (02:49 +0000)]
cleanup for cmake msvc build options, reference some libs directly, fix conflicting flags /Ob1 and /Zi for debug

10 years agoVBO:
Nicholas Bishop [Tue, 28 Jun 2011 00:40:39 +0000 (00:40 +0000)]

Fix for bug found by psy-fi.

* gpu_buffers.c was using GL_ARB_vertex_buffer_object to check for VBO
  support, should be using GLEW_ARB_vertex_buffer_object.

10 years agodisable opencollada and openexr for msvc2010, gives linking errors
Campbell Barton [Mon, 27 Jun 2011 16:33:59 +0000 (16:33 +0000)]
disable opencollada and openexr for msvc2010, gives linking errors

10 years agoFix last part of #26850: OS X game player did not react to quit event.
Brecht Van Lommel [Mon, 27 Jun 2011 14:34:58 +0000 (14:34 +0000)]
Fix last part of #26850: OS X game player did not react to quit event.

10 years agoFix part of #26850: OS X game player was showing _NSAutoreleaseNoPool()
Brecht Van Lommel [Mon, 27 Jun 2011 14:06:11 +0000 (14:06 +0000)]
Fix part of #26850: OS X game player was showing _NSAutoreleaseNoPool()
error messages on start. These were coming from initializing the SDL video
subsystem as part of Joystick init. We do not need this, as video stuff is
covered by GHOST, most likely this was conflicting.

10 years agoFix part of #26850: Cocoa OS X game player was not working, two issues:
Brecht Van Lommel [Mon, 27 Jun 2011 13:57:27 +0000 (13:57 +0000)]
Fix part of #26850: Cocoa OS X game player was not working, two issues:

* Unlike blender, the game player draws only on windows update callbacks,
  and those wer not implemented.
* Going fullscreen for player was not implemented correct, it expected an
  existing window but actually it should create one.

10 years agoinitialize cmake's CMAKE_BUILD_TYPE to 'Release'
Campbell Barton [Mon, 27 Jun 2011 13:18:08 +0000 (13:18 +0000)]
initialize cmake's CMAKE_BUILD_TYPE to 'Release'
add reference to cmake cache for convenience GNUMakefile

10 years agofix for editmode option toggle
Campbell Barton [Mon, 27 Jun 2011 11:40:15 +0000 (11:40 +0000)]
fix for editmode option toggle