blender-staging.git
8 years agoDynamic Paint:
Miika Hamalainen [Fri, 8 Jul 2011 11:03:37 +0000 (11:03 +0000)]
Dynamic Paint:
* Canvas and brush can be now enabled simultaneously. This way it's possible for two canvases to interact.
* Added basic anti-aliasing support for vertex surfaces.
* 3D-view color preview now works even when there's subsurf modifier after Dynamic Paint in modifier stack.
* Added a new brush option to use proximity from object center.
* Default surface frame range now use scene's start and end values.
* Improved ray checks for volume brushes.
* Added new "non-closed" option for volume brushes. This way it's possible to use planar meshes as "volume" brushes with predefined ray direction.
* New carrot branch splash image by CGEffex.
* Improved brush affection code.
* Lots of smaller improvements.
* Fixed: Weight paint didn't work with particles.
* Fixed: Point cache didn't work for non-wave surfaces anymore since last commit.

8 years agoDynamic Paint:
Miika Hamalainen [Sun, 3 Jul 2011 14:01:57 +0000 (14:01 +0000)]
Dynamic Paint:
* Some ui and rna tweaking.
* Effects ui panel is no longer visible for non-paint surfaces.

8 years agoMerge with trunk r38042
Miika Hamalainen [Sat, 2 Jul 2011 18:15:55 +0000 (18:15 +0000)]
Merge with trunk r38042

8 years ago* Added a new surface type "Waves" that simulates simple 2D wave motion.
Miika Hamalainen [Sat, 2 Jul 2011 18:06:39 +0000 (18:06 +0000)]
* Added a new surface type "Waves" that simulates simple 2D wave motion.
* Optimized adjacency point searching for vertex surfaces.
* Separated adjacency code from effect system.
* Overall code cleaning and tweaking.

8 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

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

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

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

8 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

8 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.

8 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.

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

8 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

8 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.

8 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

8 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.

8 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

8 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

8 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

8 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.

Previews:
http://www.blender.org/bf/closed_regions1.png
http://www.blender.org/bf/closed_regions2.png
http://www.blender.org/bf/closed_regions3.png

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 :)

8 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.

8 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.

8 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.

8 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()

8 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.

8 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.

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

8 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.

8 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.

8 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.

8 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.

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

8 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.

8 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.

8 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!

8 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

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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

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

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.

8 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

8 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.

8 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.

8 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.

8 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

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

8 years agoBugfix #27768
Ton Roosendaal [Mon, 27 Jun 2011 11:21:25 +0000 (11:21 +0000)]
Bugfix #27768

On clicking in a non-active Blender window (when you activated others),
the mouse position of the first click was still the old position.

Problem is in GHOST; it sends out the 'activate window' event after the
mouseclick event itself. Code now checks for this case and reads the
correct mouse position.

8 years agoMerge with trunk r37849
Miika Hamalainen [Mon, 27 Jun 2011 08:11:05 +0000 (08:11 +0000)]
Merge with trunk r37849

8 years agofix [#27778] Set Bone Flags - No Scale - Toggle seems not to work.
Campbell Barton [Mon, 27 Jun 2011 07:51:52 +0000 (07:51 +0000)]
fix [#27778] Set Bone Flags - No Scale - Toggle seems not to work.

Toggling options on the selection is better done as a generic operator.
Replace ARMATURE_OT_flags_set and POSE_OT_flags_set with WM_OT_context_collection_boolean_set and use menus to access it with specific settings.

This way its easy make a key shortcut which toggles any boolean on any collection - sequences, metaballs, objects, bones etc.

8 years agoremove some unused flags and correct aud example heading
Campbell Barton [Mon, 27 Jun 2011 07:44:59 +0000 (07:44 +0000)]
remove some unused flags and correct aud example heading

8 years agoDynamic Paint:
Miika Hamalainen [Mon, 27 Jun 2011 07:30:58 +0000 (07:30 +0000)]
Dynamic Paint:
* Fixed memory leak when baking image sequences.
* Fixed sub-steps when brush was controlled by a parent object.
* Added option to select active outputs for paint surfaces.
* Improved color mixing algorithm.
* Improved memory allocation behavior.
* Memory is now freed even in case of errors.
* Removed "initial color" setting, as it's better to adjust color from material.

* "Paint effects" system:
** Converted to use new data structures.
** Works now with any number of surrounding points.
** Re-implemented support for UV-image surfaces.
** Added support for vertex surfaces too.
** Improved color handling.
** Improved movement stability.
** "Drip" effect uses now Blender's force fields instead of just z-directional gravity like before. Now each surface point can have different force influence.

8 years agobasic sound playback example for audspace module
Dalai Felinto [Mon, 27 Jun 2011 05:12:03 +0000 (05:12 +0000)]
basic sound playback example for audspace module
(I'm on windows at the moment so I can't test it. Hopefully it should be fine)

8 years agofix for a leak in sound_read_sound_buffer(), used when drawing the sequencer waveform.
Campbell Barton [Mon, 27 Jun 2011 05:03:58 +0000 (05:03 +0000)]
fix for a leak in sound_read_sound_buffer(), used when drawing the sequencer waveform.

8 years agoprint the help message if running from python directly.
Campbell Barton [Mon, 27 Jun 2011 04:50:08 +0000 (04:50 +0000)]
print the help message if running from python directly.

8 years agomoved modules added to changelog (this isn't detected by the changelog generator)
Campbell Barton [Mon, 27 Jun 2011 04:21:53 +0000 (04:21 +0000)]
moved modules added to changelog (this isn't detected by the changelog generator)

8 years agoscenes now adjust brush usercounts on copying and freeing, pointed out by Jason Wilkins
Campbell Barton [Mon, 27 Jun 2011 04:05:19 +0000 (04:05 +0000)]
scenes now adjust brush usercounts on copying and freeing, pointed out by Jason Wilkins

8 years ago== Multires ==
Nicholas Bishop [Mon, 27 Jun 2011 03:54:22 +0000 (03:54 +0000)]
== Multires ==
Fix for bug #27710, 'Multires lost from 2.49 file in 2.5x'
Reported by Gaia Clary.

Problem was that the old multires data didn't flush changes to
vertices out to the Multires structure on filesave. So, recent bits of
sculpting could be lost if the multires level wasn't changed before
filesave.

We already had code to deal with missing multires vertex data, which
simply copies the Mesh vertex data into the multires vertex data if it
matches the number of vertices in the highest level. Moved this code
up a bit so that we always make this copy if the numbers match up.

Was able to reproduce the bug fresh in 2.49b, and confirmed that the
fix works. However, this does not help if changes were sculpted on a
multires level other than the highest level and saved without a
subsequent level change.

8 years agoMinor warning cleanup & fix
Campbell Barton [Mon, 27 Jun 2011 03:36:14 +0000 (03:36 +0000)]
Minor warning cleanup & fix
- comment/remove assignments from values to themselves.
- add case break statements (no functional change but some source code checkers notice).
- fix python errors when the sculpt brush is None.

8 years agofix for building with msvc/cmake take 2 (think its correct this time)
Campbell Barton [Sun, 26 Jun 2011 17:18:37 +0000 (17:18 +0000)]
fix for building with msvc/cmake take 2 (think its correct this time)
also sync build flags with scons.

8 years agomore compact code for recent sphere/line intersection functions.
Campbell Barton [Sun, 26 Jun 2011 17:16:06 +0000 (17:16 +0000)]
more compact code for recent sphere/line intersection functions.

8 years agoPutting back blender.org and release number in info header.
Ton Roosendaal [Sun, 26 Jun 2011 17:01:10 +0000 (17:01 +0000)]
Putting back blender.org and release number in info header.
Worked always great for tutorials in past, to check what's been used.

8 years ago2d version of line/circle intersec function.
Campbell Barton [Sun, 26 Jun 2011 11:08:12 +0000 (11:08 +0000)]
2d version of line/circle intersec function.

8 years agoFix in texts for Mesh.materials.pop()
Dalai Felinto [Sun, 26 Jun 2011 09:10:54 +0000 (09:10 +0000)]
Fix in texts for Mesh.materials.pop()
found by accident while studying how to append materials from python ;)

8 years agoThis solves the issue of having symlinks in the LIBDIR path (CMAKE Windows). Hopefull...
Mitchell Stokes [Sun, 26 Jun 2011 08:42:00 +0000 (08:42 +0000)]
This solves the issue of having symlinks in the LIBDIR path (CMAKE Windows). Hopefully it doesn't break other things.

8 years agorenamed math functions and made public
Campbell Barton [Sun, 26 Jun 2011 08:07:09 +0000 (08:07 +0000)]
renamed math functions and made public
 lambda_cp_line --> line_point_factor_v3
 lambda_cp_line2 --> line_point_factor_v2

correction to previous commit function name
 isect_seg_sphere_v3 --> isect_line_sphere_v3
 ... since its not clipped.

added a clip argument to the python version of the function.

8 years agomath func to find the intersection(s) between a segment and a sphere for C/python.
Campbell Barton [Sun, 26 Jun 2011 07:21:19 +0000 (07:21 +0000)]
math func to find the intersection(s) between a segment and a sphere for C/python.

from python:
  i1, i2 = mathutils.geometry.intersect_line_sphere(l1, l2, sphere, radius)

8 years agoAllow the lib dir to be a symlink, pointed out by Mitchell Stokes.
Campbell Barton [Sun, 26 Jun 2011 06:05:56 +0000 (06:05 +0000)]
Allow the lib dir to be a symlink, pointed out by Mitchell Stokes.

8 years agofix incorrect ui text for is_runtime
Campbell Barton [Sat, 25 Jun 2011 17:36:33 +0000 (17:36 +0000)]
fix incorrect ui text for is_runtime

8 years agoBugfix #27765
Ton Roosendaal [Sat, 25 Jun 2011 15:54:20 +0000 (15:54 +0000)]
Bugfix #27765

Thumbnail save for .blend crashed, when being in editmode for a mesh
that has other object users as well. Derivedmesh confusement...

Thanks to Sergey for finding the cause!

8 years agofix for building with MSVC release, some edits I made didnt work as I expected but...
Campbell Barton [Sat, 25 Jun 2011 14:10:46 +0000 (14:10 +0000)]
fix for building with MSVC release, some edits I made didnt work as I expected but still built for debug

8 years agoBugfix #27761
Ton Roosendaal [Sat, 25 Jun 2011 13:23:14 +0000 (13:23 +0000)]
Bugfix #27761

Default startup theme used same node header color for "in/out" nodes
as for "inactive or undefined" nodes. This made it impossible to see
which of the output nodes in node setup was 'active'. Made the active
in/out color a slight blueish shade of grey now.

8 years agowrong rna func type used
Campbell Barton [Sat, 25 Jun 2011 06:54:11 +0000 (06:54 +0000)]
wrong rna func type used

8 years agoGHOST Cocoa: some changes to Y coordinate conversion in previous commit,
Brecht Van Lommel [Sat, 25 Jun 2011 02:10:13 +0000 (02:10 +0000)]
GHOST Cocoa: some changes to Y coordinate conversion in previous commit,
to fix continuous grab being broken (bug report #27760).

8 years agoFix [#27748] undeterministic behaviour of volumetric renderer
Matt Ebb [Sat, 25 Jun 2011 00:33:36 +0000 (00:33 +0000)]
Fix [#27748] undeterministic behaviour of volumetric renderer

* Made clearer in the UI that the approximate multiple scattering always enables light cache
* Fixed a potential problem in anisotropic scattering

8 years agoSVN maintenance.
Guillermo S. Romero [Fri, 24 Jun 2011 23:14:26 +0000 (23:14 +0000)]
SVN maintenance.

8 years agoown patch [#27752] Python Callback (Scriptlink functionality)
Campbell Barton [Fri, 24 Jun 2011 16:54:30 +0000 (16:54 +0000)]
own patch [#27752] Python Callback (Scriptlink functionality)

Python:
 * adds bpy.app.handlers which contains lists, each for an event type:
   render_pre, render_post, load_pre, load_post, save_pre, save_post
 * each list item needs to be a callable object which takes 1 argument (the ID).
 * callbacks are cleared on file load.

Example:
 def MyFunc(scene): print("Callback:", data)
 bpy.app.handlers.render_post.append(MyFunc)

C:
 * This patch adds a generic C callback api which is currently only used by python.
 * Unlike python callbacks these are not cleared on file load.

8 years agomove callbacks file out of intern (only contains 1 function but re-using it for new...
Campbell Barton [Fri, 24 Jun 2011 15:10:34 +0000 (15:10 +0000)]
move callbacks file out of intern (only contains 1 function but re-using it for new callback api)

8 years agoFirst commit to make "Style" settings saved in startup.blend
Ton Roosendaal [Fri, 24 Jun 2011 14:00:15 +0000 (14:00 +0000)]
First commit to make "Style" settings saved in startup.blend

Usage currently is limited to:
- Panel text, widget text and label text style:
  point size, shadow effects

Setting individual fonts to these is not possible yet, it uses the
default for it.

Access goes via outliner now; check "User Preferences". UI team could
add this in userpref scripts :)

8 years agofree_bvhtree_from_mesh was incorrectly useing sizeof() when clearing memory.
Campbell Barton [Fri, 24 Jun 2011 05:34:03 +0000 (05:34 +0000)]
free_bvhtree_from_mesh was incorrectly useing sizeof() when clearing memory.

8 years agofix [#27742] Smart UV project no longer works in 2.58
Campbell Barton [Fri, 24 Jun 2011 04:12:01 +0000 (04:12 +0000)]
fix [#27742] Smart UV project no longer works in 2.58
failed with active, unselected objects.

8 years agofix [#27747] Modal operator in Special Menu (W) ignores continues grab
Campbell Barton [Fri, 24 Jun 2011 03:59:41 +0000 (03:59 +0000)]
fix [#27747] Modal operator in Special Menu (W) ignores continues grab

8 years agofix [#27746] Black and White Render doesn't work and/or Saves as a Blank screen
Campbell Barton [Fri, 24 Jun 2011 03:49:56 +0000 (03:49 +0000)]
fix [#27746] Black and White Render doesn't work and/or Saves as a Blank screen
convert to grayscale when saving renders rather then only writing the red channel.

8 years agoW special menu for changing orthographic camera lens scale was missing
Daniel Salazar [Fri, 24 Jun 2011 03:41:07 +0000 (03:41 +0000)]
W special menu for changing orthographic camera lens scale was missing

btw continues grab doesn't work with this modal ops.. whats up?

8 years agorevert commit 27133: Committing patch [#27133] "Fix for for Object Color in BGE"...
Dalai Felinto [Thu, 23 Jun 2011 22:29:02 +0000 (22:29 +0000)]
revert commit 27133: Committing patch [#27133] "Fix for for Object Color in BGE" by Kupoman
This was causing a lot of backward compatibility problems and side effects.

It has to be done properly, linked with Material ObjectColor shader_flag or at least the TF OBCOLOR (which apparently worked at some point so I've been told).
If you need to use OBCOLOR simply keyframe the obcolor and it will work as before.

8 years agoGHOST Cocoa: move y origin top/bottom conversions out of windowmanager module
Brecht Van Lommel [Thu, 23 Jun 2011 19:55:47 +0000 (19:55 +0000)]
GHOST Cocoa: move y origin top/bottom conversions out of windowmanager module
and into GHOST. Also fixes a problem where e.g. the user preferences window
would not open under the mouse cursor correctly.

8 years agoFix typo in addon user preferences menu.
Brecht Van Lommel [Thu, 23 Jun 2011 19:42:54 +0000 (19:42 +0000)]
Fix typo in addon user preferences menu.

8 years agoMore flexible size options for particle billboards. This adds scale factors for width...
Lukas Toenne [Thu, 23 Jun 2011 18:59:47 +0000 (18:59 +0000)]
More flexible size options for particle billboards. This adds scale factors for width and height of billboards, relative to the particle size. It's useful when the particle size is primarily used for collision and the like, so the billboard appearance can be adjusted independently. Also allows non-square billboards.
In addition the billboards can be scaled by the particle velocity with optional head and tail factors (similar to line drawing options). This allows for pseudo-motionblur effects.

8 years agoRemove unnecessary check. OpenAL, SDL, JACK don't depend on samplerate.
Nathan Letwory [Thu, 23 Jun 2011 17:29:18 +0000 (17:29 +0000)]
Remove unnecessary check. OpenAL, SDL, JACK don't depend on samplerate.

8 years agofix for building mingw in debug mode
Campbell Barton [Thu, 23 Jun 2011 16:33:59 +0000 (16:33 +0000)]
fix for building mingw in debug mode

8 years agoallow building with ffmpeg but not aud
Campbell Barton [Thu, 23 Jun 2011 16:10:48 +0000 (16:10 +0000)]
allow building with ffmpeg but not aud

8 years agocorrection to recent commit & made ffmpeg includes only add when enabled.
Campbell Barton [Thu, 23 Jun 2011 15:58:41 +0000 (15:58 +0000)]
correction to recent commit & made ffmpeg includes only add when enabled.

8 years agomistake in own commit.
Campbell Barton [Thu, 23 Jun 2011 15:12:05 +0000 (15:12 +0000)]
mistake in own commit.

8 years agocmake option to build without an audio library.
Campbell Barton [Thu, 23 Jun 2011 09:27:56 +0000 (09:27 +0000)]
cmake option to build without an audio library.

8 years agofix for function before definition in own recent commit.
Campbell Barton [Thu, 23 Jun 2011 07:50:28 +0000 (07:50 +0000)]
fix for function before definition in own recent commit.

8 years agochecks in rna range functions that the max value cant be less than the min.
Campbell Barton [Thu, 23 Jun 2011 06:13:21 +0000 (06:13 +0000)]
checks in rna range functions that the max value cant be less than the min.
also fix for invalid rage for FILE_OT_filenum.