10 years agoFix #28295 Outliner, mouse button on menu's pass through.
Sergey Sharybin [Mon, 29 Aug 2011 17:46:07 +0000 (17:46 +0000)]
Fix #28295 Outliner, mouse button on menu's pass through.

It was introduced in rev33603 with not good patch -- release event
was catching by outliner after clicking on menu item.

Use KM_CLICK instead of KM_RELEASE to deal with icon drag/drop.
This not changes drag/drop behavior, but prevents unneeded event be handled.
Also make consistent behavior of activating and extending selection.

10 years agoFix #28347: VBO's highlights wrong faces when Mirror modifier is in use
Sergey Sharybin [Mon, 29 Aug 2011 16:07:44 +0000 (16:07 +0000)]
Fix #28347: VBO's highlights wrong faces when Mirror modifier is in use

Added callback to drawMappedFaces which checks if two faces have got equal draw options.

After discussion with Brecht we found it's nicest solution for now:
- Disabling VBOs in edit mode for this case wouldn't be nicer for this case -
  some additional flag stored in DM should be added in this case.
- Adding new callback in DM isn't nicer that this solution.
- Handling face selection in drawobject would lead to duplicated code
  which is also not nice.

Hopefully, this callback could handle all cases in the future.

Also, Brecht mentioned current VBO implementation isn't perfect, so maybe
when we'll redesign this area dealing with edit mode wouldn't be so tricky.

10 years agoFix player build error after envmap commit.
Brecht Van Lommel [Mon, 29 Aug 2011 12:57:46 +0000 (12:57 +0000)]
Fix player build error after envmap commit.

10 years agobge bugfix: [#28362] Controllers names appear incorrectly with a python query
Dalai Felinto [Mon, 29 Aug 2011 03:20:15 +0000 (03:20 +0000)]
bge bugfix: [#28362] Controllers names appear incorrectly with a python query
the uniquename was never fully implemented for sensors and actuators, only for controllers.
at some point we either get rid of all of them, or bring them all on.

For now removing the "unique name" of controllers

10 years agoclear some warnings with new proxy code.
Campbell Barton [Mon, 29 Aug 2011 01:00:14 +0000 (01:00 +0000)]
clear some warnings with new proxy code.

10 years agoSVN maintenance.
Guillermo S. Romero [Sun, 28 Aug 2011 23:44:43 +0000 (23:44 +0000)]
SVN maintenance.

10 years agopatch [#28355] Better Environment Map scripting
Campbell Barton [Sun, 28 Aug 2011 23:24:34 +0000 (23:24 +0000)]
patch [#28355] Better Environment Map scripting
from Tom Edwards (artfunkel), with minor edits.

This patch makes the following improvements to environment map scripting:

* Adds a "is_valid" RNA property to envmaps. True if the map is ready for use, False if it needs rendering.
* Adds a "clear" RNA function to envmaps. Deletes any envmap image data.
* Adds a "save" RNA function to envmaps. Writes the envmap to disc with a configurable layout. (Defaults to the current hard-coded layout.)
* Updates bpy.ops.texture.envmap_save with configurable layout support as above.

These changes, particularly configurable layouts, make exporting envmaps to other software much easier.

10 years agoSVN maintenance.
Guillermo S. Romero [Sun, 28 Aug 2011 21:48:52 +0000 (21:48 +0000)]
SVN maintenance.

10 years agofix [#28401] OpenGL render option disables border clipping
Campbell Barton [Sun, 28 Aug 2011 21:13:03 +0000 (21:13 +0000)]
fix [#28401] OpenGL render option disables border clipping

10 years ago== Sequencer / proxies ==
Peter Schlaile [Sun, 28 Aug 2011 19:58:33 +0000 (19:58 +0000)]
== Sequencer / proxies ==

fixed crash pointed out by blendervse:
100%-proxy could lead to a segfault under certain conditions.

10 years agoMissed notifier was found when looking at #28393
Sergey Sharybin [Sun, 28 Aug 2011 18:54:02 +0000 (18:54 +0000)]
Missed notifier was found when looking at #28393

10 years ago== Sequencer ==
Peter Schlaile [Sun, 28 Aug 2011 14:46:03 +0000 (14:46 +0000)]
== Sequencer ==

This patch adds:

* support for proxy building again (missing feature from Blender 2.49)
  additionally to the way, Blender 2.49 worked, you can select several
  strips at once and make Blender build proxies in the background (using
  the job system)
  Also a new thing: movie proxies are now build into AVI files, and
  the proxy system is moved into ImBuf-library, so that other parts
  of blender can also benefit from it.

* Timecode support: to fix seeking issues with files, that have
  a) varying frame rates
  b) very large GOP lengths
  c) are broken inbetween
  d) use different time code tracks

  the proxy builder can now also build timecode indices, which are
  used (optionally) for seeking.

  For the first time, it is possible, to do frame exact seeking on
  all file types.

* Support for different video-streams in one video file (can be
  selected in sequencer, other parts of blender can also use it,
  but UI has to be added accordingly)

* IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since
  older versions don't support the pkt_pts field, that is essential
  for building timecode indices.

  Windows and Mac libs are already updated, Linux-users have to build
  their own ffmpeg verions until distros keep up.

10 years agoRNA_property_as_string now escapes the string (so operator redo can include strings...
Campbell Barton [Sun, 28 Aug 2011 09:28:41 +0000 (09:28 +0000)]
RNA_property_as_string now escapes the string (so operator redo can include strings with ", \n etc), also fixed a bug in string escape length limit.

10 years ago- use static vars and functions where possible.
Campbell Barton [Sun, 28 Aug 2011 05:06:30 +0000 (05:06 +0000)]
- use static vars and functions where possible.
- use NULL rather than 0 when used as pointers.

10 years agocheck for unlikely error when freeing a library blend file from the BGE.
Campbell Barton [Sun, 28 Aug 2011 05:01:16 +0000 (05:01 +0000)]
check for unlikely error when freeing a library blend file from the BGE.

10 years agoremove implicit casts to doubles in the noise code, also use floating point math...
Campbell Barton [Sun, 28 Aug 2011 02:54:26 +0000 (02:54 +0000)]
remove implicit casts to doubles in the noise code, also use floating point math functions rather then double since the noise functions range is already limited by casting to ints in many places.
- gives a very small speedup.

10 years agofix [#28388] Clouds at high depth give artifacts.
Campbell Barton [Sun, 28 Aug 2011 02:04:40 +0000 (02:04 +0000)]
fix [#28388] Clouds at high depth give artifacts.

10 years agoDo not show confirm message when creating text block from menu.
Sergey Sharybin [Sat, 27 Aug 2011 12:01:01 +0000 (12:01 +0000)]
Do not show confirm message when creating text block from menu.

10 years agofix [#28373] "Lock camera to view" doew not work with 3D-mouse
Campbell Barton [Sat, 27 Aug 2011 11:52:59 +0000 (11:52 +0000)]
fix [#28373] "Lock camera to view" doew not work with 3D-mouse

10 years agoFix [#28341] writing }(alt+n) in text editor creates a new file
Sergey Sharybin [Sat, 27 Aug 2011 11:41:48 +0000 (11:41 +0000)]
Fix [#28341] writing }(alt+n) in text editor creates a new file

Change hotkey for new textblock to Ctrl-N.

10 years agomistake in own recent commit broke op[encollada with mingw
Campbell Barton [Sat, 27 Aug 2011 08:19:26 +0000 (08:19 +0000)]
mistake in own recent commit broke op[encollada with mingw

10 years ago- use python convention for headings
Campbell Barton [Sat, 27 Aug 2011 08:09:12 +0000 (08:09 +0000)]
- use python convention for headings
- use implicit examples rather than .. code-block::

10 years agofix for building with msvc, ssize_t is more correct but in this case its not going...
Campbell Barton [Sat, 27 Aug 2011 07:06:44 +0000 (07:06 +0000)]
fix for building with msvc, ssize_t is more correct but in this case its not going to give issues.

10 years agobpy Gotcha's section on bones by Bassam Kurdali, with some edit.
Campbell Barton [Sat, 27 Aug 2011 07:05:04 +0000 (07:05 +0000)]
bpy Gotcha's section on bones by Bassam Kurdali, with some edit.
added some examples & notes too.

10 years agoreplace octal 0177 with 127 to be more clear, no functional change.
Campbell Barton [Sat, 27 Aug 2011 03:34:11 +0000 (03:34 +0000)]
replace octal 0177 with 127 to be more clear, no functional change.

10 years ago- use %u rather tham %d for unsigned ints in string formatting funcs.
Campbell Barton [Sat, 27 Aug 2011 03:25:02 +0000 (03:25 +0000)]
- use %u rather tham %d for unsigned ints in string formatting funcs.
- replace (strlen(str) == 0) with str[0]=='\0'

10 years ago- fix for BL_Shader::SetUniform() missing out the last part of the matrix.
Campbell Barton [Sat, 27 Aug 2011 03:20:32 +0000 (03:20 +0000)]
- fix for BL_Shader::SetUniform() missing out the last part of the matrix.
- particle.c wasn't setting all components of the vector when reading cache and setting dummy velocity values.
- some functions incorrectly took a float[3] argument when the 4th value was set.
- remove a few redundant lines of code.

10 years agoBGE: Post drawing callbacks are now done per viewport instead of per scene. This...
Mitchell Stokes [Sat, 27 Aug 2011 03:19:46 +0000 (03:19 +0000)]
BGE: Post drawing callbacks are now done per viewport instead of per scene. This is handy for things like having a different HUD for each player in a splitscreen game. To figure out what viewport you're drawing too, check the scene's active_camera.

10 years agoremove deprecated & unused sequencer transform vars
Campbell Barton [Sat, 27 Aug 2011 02:59:43 +0000 (02:59 +0000)]
remove deprecated & unused sequencer transform vars

10 years agosubtraction on unsigned values didnt work as intended for copying ID's.
Campbell Barton [Sat, 27 Aug 2011 02:45:35 +0000 (02:45 +0000)]
subtraction on unsigned values didnt work as intended for copying ID's.

10 years agobugfix for procedural textures used as bumpmap with osa not rendering right, also...
Campbell Barton [Sat, 27 Aug 2011 02:04:29 +0000 (02:04 +0000)]
bugfix for procedural textures used as bumpmap with osa not rendering right, also remove redundant assignment.

10 years agoremove deprecated & unused mat3_to_vec_rot and mat4_to_vec_rot functions.
Campbell Barton [Sat, 27 Aug 2011 01:42:49 +0000 (01:42 +0000)]
remove deprecated & unused mat3_to_vec_rot and mat4_to_vec_rot functions.

10 years agobge py api XK_GameObject.linVelocityMin was returning linVelocityMax.
Campbell Barton [Sat, 27 Aug 2011 01:37:47 +0000 (01:37 +0000)]
bge py api XK_GameObject.linVelocityMin was returning linVelocityMax.

10 years agoeek F4TOCHAR4 was assigning alpha twice too!, tsk tsk.
Campbell Barton [Sat, 27 Aug 2011 01:24:05 +0000 (01:24 +0000)]
eek F4TOCHAR4 was assigning alpha twice too!, tsk tsk.

10 years agoF3TOCHAR4 macro was assigning the same value twice (setting the alpha, then overwriti...
Campbell Barton [Sat, 27 Aug 2011 01:20:55 +0000 (01:20 +0000)]
F3TOCHAR4 macro was assigning the same value twice (setting the alpha, then overwriting with 255).

10 years agosub_v4_v4v4 was taking float[3] arguments.
Campbell Barton [Fri, 26 Aug 2011 22:37:20 +0000 (22:37 +0000)]
sub_v4_v4v4 was taking float[3] arguments.

10 years agocorrect missing bpy doc references.
Campbell Barton [Fri, 26 Aug 2011 18:48:48 +0000 (18:48 +0000)]
correct missing bpy doc references.

10 years agoadded a section to gotcha's python bpy docs about unicode encoding problems.
Campbell Barton [Fri, 26 Aug 2011 18:32:23 +0000 (18:32 +0000)]
added a section to gotcha's python bpy docs about unicode encoding problems.

10 years agofix for crash when running a python script in a non utf8 blend path, inspecting the...
Campbell Barton [Fri, 26 Aug 2011 17:55:03 +0000 (17:55 +0000)]
fix for crash when running a python script in a non utf8 blend path, inspecting the exception for the path assumed utf8.

10 years agoFix #28301: Sculpting a object with rotational have desface
Sergey Sharybin [Fri, 26 Aug 2011 16:38:23 +0000 (16:38 +0000)]
Fix #28301: Sculpting a object with rotational have desface

Patch from Juha Maki-Kanto

- initgrabz was called with local space coord.
- Brush radiu was multiplying by 2.0 for grab and snake brushes.
  Not sure why this was needed. Made some tests and didn't notice
  any regressions without this multiplication.

10 years agoFix #28370: border select for curve and metaball did not update number of
Brecht Van Lommel [Fri, 26 Aug 2011 11:35:33 +0000 (11:35 +0000)]
Fix #28370: border select for curve and metaball did not update number of
selected vertices in info header. Patch by Julien Duroure, thanks!

10 years agowhen applying armature object transform now transform the bone roll too.
Campbell Barton [Fri, 26 Aug 2011 06:22:12 +0000 (06:22 +0000)]
when applying armature object transform now transform the bone roll too.

This means you can import a BVH, rotate 90d and apply the rotation, the animation will still work as expected - thanks to Benjy's script for showing how obvious it is that this works :)

10 years agodocument some of the pitfalls in the blender python api (taken from frequent mails...
Campbell Barton [Fri, 26 Aug 2011 04:00:55 +0000 (04:00 +0000)]
document some of the pitfalls in the blender python api (taken from frequent mails and bug reports)

10 years agofile-selector: when converting operator arguments to the file selector, wasnt making...
Campbell Barton [Fri, 26 Aug 2011 01:32:07 +0000 (01:32 +0000)]
file-selector: when converting operator arguments to the file selector, wasnt making paths absolute (abs paths are made relative when converting the other way).

10 years agoexecuting operators that changed the context from the console wasnt returning an...
Campbell Barton [Thu, 25 Aug 2011 17:59:37 +0000 (17:59 +0000)]
executing operators that changed the context from the console wasnt returning an operator set/flag.

10 years agoerror when a python operator gave an incorrect return value was near useless, re...
Campbell Barton [Thu, 25 Aug 2011 17:54:30 +0000 (17:54 +0000)]
error when a python operator gave an incorrect return value was near useless, re-raise a more comprehensive error which includes the operator name.

10 years agobpy-rna - simplify enum string/set parsing.
Campbell Barton [Thu, 25 Aug 2011 17:01:33 +0000 (17:01 +0000)]
bpy-rna - simplify enum string/set parsing.

10 years agosanity checks on operator exec/modal/invoke return values.
Campbell Barton [Thu, 25 Aug 2011 16:42:42 +0000 (16:42 +0000)]
sanity checks on operator exec/modal/invoke return values.

10 years agoFix for [#28304]
Alexander Kuznetsov [Thu, 25 Aug 2011 16:41:08 +0000 (16:41 +0000)]
Fix for [#28304]

Show A: and B: drives in Windows file browser.

10 years agopicky style edits with screen/view/drawing, also remove own bad example doc.
Campbell Barton [Thu, 25 Aug 2011 15:49:52 +0000 (15:49 +0000)]
picky style edits with screen/view/drawing, also remove own bad example doc.

10 years agoups, syntax error, missing :
Jens Verwiebe [Thu, 25 Aug 2011 15:18:54 +0000 (15:18 +0000)]
ups, syntax error, missing :

10 years agoOSX: refine logic for NDOF, if WITH_BF_3DMOUSE is disabled also never do weak-link...
Jens Verwiebe [Thu, 25 Aug 2011 15:12:57 +0000 (15:12 +0000)]
OSX: refine logic for NDOF, if WITH_BF_3DMOUSE is disabled also never do weak-link framework, existing or not

10 years agoOSX: fix condition for NDOF linking
Jens Verwiebe [Thu, 25 Aug 2011 14:49:47 +0000 (14:49 +0000)]
OSX: fix condition for NDOF linking

10 years agoOSX/scons: don´t link to system stubs with 10.7 sdk
Jens Verwiebe [Thu, 25 Aug 2011 09:41:36 +0000 (09:41 +0000)]
OSX/scons: don´t link to system stubs with 10.7 sdk

10 years agoFix for [#28239] Particles Billboard 3x3 Split Error.
Janne Karhu [Thu, 25 Aug 2011 07:30:12 +0000 (07:30 +0000)]
Fix for [#28239] Particles Billboard 3x3 Split Error.
* Patch by Alex Fraser.

10 years agoSVN maintenance.
Guillermo S. Romero [Thu, 25 Aug 2011 06:16:26 +0000 (06:16 +0000)]
SVN maintenance.

10 years agomove wiki api intro and overview docs into the api reference docs.
Campbell Barton [Thu, 25 Aug 2011 04:25:33 +0000 (04:25 +0000)]
move wiki api intro and overview docs into the api reference docs.

Updated docs since some parts still were from beta still.

10 years agoPatch for bug #28289
Jeroen Bakker [Wed, 24 Aug 2011 20:48:37 +0000 (20:48 +0000)]
Patch for bug #28289

updated the logic behind node delete with reconnect.
When on input and output socket is connected, these two will be reconnected
see bug report for example.

10 years agoCommitting patch #25675 "Make "Cast Buffer Shadows" option work in viewport and BGE...
Mitchell Stokes [Wed, 24 Aug 2011 20:28:54 +0000 (20:28 +0000)]
Committing patch #25675 "Make "Cast Buffer Shadows" option work in viewport and BGE" by me.

Description from the tracker:
"It's really handy to be able to prevent an object/material from casting a shadow. So, I made use of the Cast Buffer Shadows option in the material settings, and made it work in the viewport and the BGE."

10 years agopart of a patch from Dan Eicher for cmake packaging.
Campbell Barton [Wed, 24 Aug 2011 18:23:21 +0000 (18:23 +0000)]
part of a patch from Dan Eicher for cmake packaging.

10 years agothis should finally fix collada & ubuntu building with cmake
Campbell Barton [Wed, 24 Aug 2011 18:13:11 +0000 (18:13 +0000)]
this should finally fix collada & ubuntu building with cmake

10 years agoattempt to fix issue with opencollada + ubuntu ppa
Campbell Barton [Wed, 24 Aug 2011 17:09:25 +0000 (17:09 +0000)]
attempt to fix issue with opencollada + ubuntu ppa

10 years agoopencollada find module. hopefully solves the problem where includes can in an `...
Campbell Barton [Wed, 24 Aug 2011 16:04:35 +0000 (16:04 +0000)]
opencollada find module. hopefully solves the problem where includes can in an `/include` subdir or not.

10 years agofix [#28356] Import export STL files, problem in script in version r39307
Campbell Barton [Wed, 24 Aug 2011 14:22:41 +0000 (14:22 +0000)]
fix [#28356] Import export STL files, problem in script in version r39307
& correct some bad comments.

10 years agofix [#28340] Can't set image depth, quality from image save
Campbell Barton [Wed, 24 Aug 2011 00:44:58 +0000 (00:44 +0000)]
fix [#28340] Can't set image depth, quality from image save

10 years agofix [#28351] active RenderLayer can be set to None, leading to crash
Campbell Barton [Tue, 23 Aug 2011 20:54:44 +0000 (20:54 +0000)]
fix [#28351] active RenderLayer can be set to None, leading to crash

10 years agofix [#28352] Deleting group name in particle system -> panel: Render crashes Blender
Campbell Barton [Tue, 23 Aug 2011 20:49:06 +0000 (20:49 +0000)]
fix [#28352] Deleting group name in particle system -> panel: Render crashes Blender

10 years agocmake: skip rpath (paths to libs) for portable distrobution
Campbell Barton [Tue, 23 Aug 2011 20:19:08 +0000 (20:19 +0000)]
cmake: skip rpath (paths to libs) for portable distrobution

10 years agofix for 3 bugs in bone renaming
Campbell Barton [Tue, 23 Aug 2011 19:58:15 +0000 (19:58 +0000)]
fix for 3 bugs in bone renaming
- renaming a bone could crash if the area had to spaces in it (reported by Sebastian Koenig).
- renaming bones wouldn't  update inactive 3d views locked bone names.
- selecting locked bones in the UI didnt work in editmode.

10 years agoBLI_strescape for a basic, python like string escaping, currently only use for drag...
Campbell Barton [Tue, 23 Aug 2011 15:08:54 +0000 (15:08 +0000)]
BLI_strescape for a basic, python like string escaping, currently only use for drag and drop ID's into the console but should eventually be used for the animsys too.

10 years agoFix #28343: glsl error after derivative maps commit.
Brecht Van Lommel [Tue, 23 Aug 2011 13:15:18 +0000 (13:15 +0000)]
Fix #28343: glsl error after derivative maps commit.

10 years agofix [#28336] Particles: setting to zero the count of all elements of a group crashes...
Campbell Barton [Tue, 23 Aug 2011 12:09:20 +0000 (12:09 +0000)]
fix [#28336] Particles: setting to zero the count of all elements of a group crashes Blender

10 years agofix [#28344] for this file, the multires smiley has 2 materials, but only 1 loads
Campbell Barton [Tue, 23 Aug 2011 11:46:16 +0000 (11:46 +0000)]
fix [#28344] for this file, the multires smiley has 2 materials, but only 1 loads

10 years agoadd warning about misuse of ID.user_clear() since it can crash blender.
Campbell Barton [Tue, 23 Aug 2011 11:28:18 +0000 (11:28 +0000)]
add warning about misuse of ID.user_clear() since it can crash blender.

10 years agoMake Ctrl+RMB in editmode behave like 2.4x, was re-using center option which worked...
Campbell Barton [Tue, 23 Aug 2011 09:05:12 +0000 (09:05 +0000)]
Make Ctrl+RMB in editmode behave like 2.4x, was re-using center option which worked but used center select too.
instead add 'object' option to VIEW3D_OT_select.

10 years agoFix for [#28339] Rev:39618 The revision part doesn't suffice.
Thomas Dinges [Tue, 23 Aug 2011 08:02:48 +0000 (08:02 +0000)]
Fix for [#28339] Rev:39618 The revision part doesn't suffice.
NAN_BUILDINFO > WITH_BUILDINFO change from rev 39618 was missing in those files.

10 years agochange compression level for gzip saving to 1, approx twice as fast when saving a...
Campbell Barton [Tue, 23 Aug 2011 07:59:25 +0000 (07:59 +0000)]
change compression level for gzip saving to 1, approx twice as fast when saving a 194mb blend file and only slightly bigger.

10 years agoRevert a part of 39385.
Thomas Dinges [Mon, 22 Aug 2011 22:26:25 +0000 (22:26 +0000)]
Revert a part of 39385.
Vertex Select Button got somehow into the Mesh panel.

10 years agoglsl and render support for derivative maps
Morten Mikkelsen [Mon, 22 Aug 2011 19:57:54 +0000 (19:57 +0000)]
glsl and render support for derivative maps

10 years agoUpdate rules for linux cross and mingw: list of DLLs for FFmpeg should be defined...
Sergey Sharybin [Mon, 22 Aug 2011 19:27:54 +0000 (19:27 +0000)]
Update rules for linux cross and mingw: list of DLLs for FFmpeg should be defined there.

10 years agofix for buildinfo changes with blenderplayer
Campbell Barton [Mon, 22 Aug 2011 19:13:26 +0000 (19:13 +0000)]
fix for buildinfo changes with blenderplayer

10 years agoForgot this in previous commit
Sergey Sharybin [Mon, 22 Aug 2011 19:00:32 +0000 (19:00 +0000)]
Forgot this in previous commit

10 years agoactually, this if is still marginally good to have
Morten Mikkelsen [Mon, 22 Aug 2011 18:56:13 +0000 (18:56 +0000)]
actually, this if is still marginally good to have

10 years agoFFmpeg library update:
Sergey Sharybin [Mon, 22 Aug 2011 18:49:42 +0000 (18:49 +0000)]
FFmpeg library update:

- Update scons/cmake rules to use new versions of libs/dlls.
- Update rules for buildbot.

10 years agoproperly escape chars for pythons bpy objects __repr__
Campbell Barton [Mon, 22 Aug 2011 18:13:37 +0000 (18:13 +0000)]
properly escape chars for pythons bpy objects __repr__

10 years agorename NAN_BUILDINFO --> WITH_BUILDINFO
Campbell Barton [Mon, 22 Aug 2011 16:54:26 +0000 (16:54 +0000)]

10 years agobuildinfo is now quoted from the build systems, avoids stripping quotes on startup.
Campbell Barton [Mon, 22 Aug 2011 12:24:14 +0000 (12:24 +0000)]
buildinfo is now quoted from the build systems, avoids stripping quotes on startup.
tested with linux/cmake linux/scons windows/cmake/mingw windows/cmake/msvc

10 years agoremove workaround for bug in python 3.2.0 loading web pages on *nix
Campbell Barton [Mon, 22 Aug 2011 11:54:40 +0000 (11:54 +0000)]
remove workaround for bug in python 3.2.0 loading web pages on *nix

10 years agopep8 edits and change '!= None' to 'is not None'
Campbell Barton [Mon, 22 Aug 2011 09:01:49 +0000 (09:01 +0000)]
pep8 edits and change '!= None' to 'is not None'

10 years agopatch [#28320] Small change to trunk needed for Motion Capture Addon - GSoC 2011...
Campbell Barton [Mon, 22 Aug 2011 08:47:48 +0000 (08:47 +0000)]
patch [#28320] Small change to trunk needed for Motion Capture Addon - GSoC 2011 - Pepper Branch
from Benjy Cook (benjycook)

10 years agofix [bf-blender-Patches][27924] Redundant applying of SetNetworkDevice
Campbell Barton [Sun, 21 Aug 2011 21:17:55 +0000 (21:17 +0000)]
fix [bf-blender-Patches][27924] Redundant applying of SetNetworkDevice
noticed by Jorge Bernal (lordloki)

10 years agoname mandatory driver for OSX NDOF compile - testcommit same time
Jens Verwiebe [Sun, 21 Aug 2011 21:11:26 +0000 (21:11 +0000)]
name mandatory driver for OSX NDOF compile - testcommit same time

10 years agoFix #28154: doesn't exist
Sergey Sharybin [Sun, 21 Aug 2011 13:31:46 +0000 (13:31 +0000)]
Fix #28154: doesn't exist

Change OURPLATFORM from "linux<major_version>" to simple "linux".
Since new policy for linux kernel versions that major version in
platform doesn't make much sense for building rules so the same
rules could be used for both of linux2 and linux3 now/

Tested on both of linux2 and linux3 systems.

10 years agoSmall fix, report in IRC by Olivier:
Ton Roosendaal [Sun, 21 Aug 2011 13:25:19 +0000 (13:25 +0000)]
Small fix, report in IRC by Olivier:

Click in Compositor on output node invoked a re-composite.
Only has to be done for inactive outputs.

10 years agonew cmake doesn't consider CLang == GNUCC, set flags for clang explicitly.
Campbell Barton [Sun, 21 Aug 2011 11:06:49 +0000 (11:06 +0000)]
new cmake doesn't consider CLang == GNUCC, set flags for clang explicitly.

10 years agofix for out of bounds array access for shaded drawing in the UI, remove alpha blendin...
Campbell Barton [Sun, 21 Aug 2011 10:14:21 +0000 (10:14 +0000)]
fix for out of bounds array access for shaded drawing in the UI, remove alpha blending for uiDrawBoxShade and uiDrawBoxVerticalShade.

10 years agofloats were being promoted to doubles in quite a few cases (using gcc's -Wdouble...
Campbell Barton [Sat, 20 Aug 2011 17:39:13 +0000 (17:39 +0000)]
floats were being promoted to doubles in quite a few cases (using gcc's -Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%.

10 years agouse ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel lite, will...
Campbell Barton [Sat, 20 Aug 2011 14:23:43 +0000 (14:23 +0000)]
use ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel lite, will also speedup undo.

note: only works with CMake, wasn't able to get this working with scons, complains about same file being built in different environments.

10 years agofix for crash when loading a file from a script, and executing user modules in the...
Campbell Barton [Sat, 20 Aug 2011 13:29:42 +0000 (13:29 +0000)]
fix for crash when loading a file from a script, and executing user modules in the newly loaded file.

10 years agoremove over zealous undo's on operators that don't need it.
Campbell Barton [Fri, 19 Aug 2011 20:25:25 +0000 (20:25 +0000)]
remove over zealous undo's on operators that don't need it.