10 years agoFix #29878: running bpy.ops.render.opengl() from console not starting new line
Brecht Van Lommel [Fri, 13 Jan 2012 15:35:36 +0000 (15:35 +0000)]
Fix #29878: running bpy.ops.render.opengl() from console not starting new line
or printing output.

10 years agoBugfix: Editing baked cache in particle mode for Softbody and Cloth now shows changes...
Daniel Genrich [Fri, 13 Jan 2012 15:14:08 +0000 (15:14 +0000)]
Bugfix: Editing baked cache in particle mode for Softbody and Cloth now shows changes in 3dview without having to exit + enter editmode.

10 years agoFix quicktime issue in last commit that moved settings into own RNA struct.
Brecht Van Lommel [Fri, 13 Jan 2012 14:56:51 +0000 (14:56 +0000)]
Fix quicktime issue in last commit that moved settings into own RNA struct.

10 years agoFix #29873: transform with individual origins not working in edge select mode.
Brecht Van Lommel [Fri, 13 Jan 2012 14:56:41 +0000 (14:56 +0000)]
Fix #29873: transform with individual origins not working in edge select mode.

10 years agoMove FFmpeg and QuickTime settings to own structure inside RenderSettings
Sergey Sharybin [Fri, 13 Jan 2012 12:34:41 +0000 (12:34 +0000)]
Move FFmpeg and QuickTime settings to own structure inside RenderSettings
rather than making all properties have ffmpeg_ and quicktime_ prefixes

10 years agoAdded Lossless Output option for h264 codec.
Sergey Sharybin [Fri, 13 Jan 2012 12:34:23 +0000 (12:34 +0000)]
Added Lossless Output option for h264 codec.

This will fix #26943: render image to video problem

10 years agofix for error comparing py-struct members
Campbell Barton [Fri, 13 Jan 2012 11:36:32 +0000 (11:36 +0000)]
fix for error comparing py-struct members

if 2 pyrna structs used the same pointer they could incorrectly compare as true, this caused an error in theme saving because an item could match its parent and stop writing (to prevent recursive writing of same data).

  context.user_preferences.themes[0].user_interface.wcol_regular == context.user_preferences.themes[0].user_interface

10 years agoadding metaballs and lamps in local mode was broken.
Campbell Barton [Fri, 13 Jan 2012 10:14:48 +0000 (10:14 +0000)]
adding metaballs and lamps in local mode was broken.

10 years agoalpha value for button triangles ignored the alpha value (was no way to change alpha...
Campbell Barton [Fri, 13 Jan 2012 09:26:06 +0000 (09:26 +0000)]
alpha value for button triangles ignored the alpha value (was no way to change alpha of `Tick` in boolean option button).

10 years agoFix #29824: Error writing frame if 3D scene starts after first frame of animation...
Sergey Sharybin [Fri, 13 Jan 2012 09:20:13 +0000 (09:20 +0000)]
Fix #29824: Error writing frame if 3D scene starts after first frame of animation and output is H264

Issue was caused by incorrectly set PTS value frames came form Scene strip renderer.
This value used to be calculated from RenderData current and start frame which
lead to non-uniformuly counting which totally confuses encoder.

Switch append_avi and append_ffmpeg to use current frame from rendering scene
(which was already passing to this functions and was used mostly for logging)
and start frame of rendering scene (it's new parameter added). This allowed to
calculate correct PTS value easily and get rid of global static sframe variable
in writeavi.c file.

10 years agobge api doc update
Dalai Felinto [Fri, 13 Jan 2012 08:58:12 +0000 (08:58 +0000)]
bge api doc update
bge.texture materialId wasn't showing up
bge.type was outdated (I removed the glew example, I hope no one mind)

10 years agofix for weight paint wire draw leaving GL_BLEND enabled (made pose bones draw with...
Campbell Barton [Fri, 13 Jan 2012 08:38:26 +0000 (08:38 +0000)]
fix for weight paint wire draw leaving GL_BLEND enabled (made pose bones draw with low alpha)

10 years ago'uw' was used in weight paint code for previous deform weight, renamed to 'dw_prev'
Campbell Barton [Fri, 13 Jan 2012 08:18:22 +0000 (08:18 +0000)]
'uw' was used in weight paint code for previous deform weight, renamed to 'dw_prev'

10 years agogive a more useful error when attempting to opengl render in background mode.
Campbell Barton [Fri, 13 Jan 2012 06:59:16 +0000 (06:59 +0000)]
give a more useful error when attempting to opengl render in background mode.
add some tips to the python docs.

10 years agorename 'MultiLayer' to 'OpenEXR MultiLayer'
Campbell Barton [Fri, 13 Jan 2012 06:58:15 +0000 (06:58 +0000)]
rename 'MultiLayer' to 'OpenEXR MultiLayer'

10 years agofix [#29832] Weightpainting with "x-mirror" and "auto normalize" fails for center...
Campbell Barton [Fri, 13 Jan 2012 05:52:34 +0000 (05:52 +0000)]
fix [#29832] Weightpainting with "x-mirror" and "auto normalize" fails for center bones

normalize function simply wasn't called on the mirror vertex.

also fix 3 other bugs / inconsistencies

* when mirror is enabled, center verts get themselves as the mirror vertex, wpaint code didn't check for this case, mirroring the vertex to it self (would work, but unneeded).
* normalizing after painting would scale the active weight too, now keep the painted weight and adjust others when normalizing.
* VP_ONLYVGROUP wasn't respected for mirror (mirror vertex group would always be added).

10 years agoanother minor weightpaint change, dont pass do_auto_normalize as a bool arg to do_wei...
Campbell Barton [Fri, 13 Jan 2012 02:25:15 +0000 (02:25 +0000)]
another minor weightpaint change, dont pass do_auto_normalize as a bool arg to do_weight_paint_normalize_all(), just check before calling.

10 years agominor edits to main weight paint function for better readability - do_weight_paint_ve...
Campbell Barton [Fri, 13 Jan 2012 02:17:29 +0000 (02:17 +0000)]
minor edits to main weight paint function for better readability - do_weight_paint_vertex(), no functional changes.

10 years agoRemove vestigial retopo/retopo-paint code.
Nicholas Bishop [Thu, 12 Jan 2012 22:12:07 +0000 (22:12 +0000)]
Remove vestigial retopo/retopo-paint code.

10 years agoFix some RNA/scene issuess with unified paint settings.
Nicholas Bishop [Thu, 12 Jan 2012 21:48:08 +0000 (21:48 +0000)]
Fix some RNA/scene issuess with unified paint settings.

Added RNA for the unified paint setting flags that matches the Brush
RNA. Fixed the getter/setter functions to avoid guessing which Scene's
UnifiedPaintSetting to use. The getter functions take a Scene pointer
now, the setter functions are removed in favor of a more explicit
approach through RNA:

Rather than RNA choosing whether a property's value is in the Brush or
in the UnifiedPaintSettings, there are now explicit properties for
both. The UI code has been modified accordingly to switch the toggle
buttons between affecting the Brush and the UnifiedPaintSettings.

10 years agoFix related to #29694: quicktime export was not showing or respecting RGBA
Brecht Van Lommel [Thu, 12 Jan 2012 21:10:46 +0000 (21:10 +0000)]
Fix related to #29694: quicktime export was not showing or respecting RGBA
option even though some movie formats support alpha.

10 years agoFix ##29803: cycles image texture node refresh issue with image editor.
Brecht Van Lommel [Thu, 12 Jan 2012 21:10:30 +0000 (21:10 +0000)]
Fix ##29803: cycles image texture node refresh issue with image editor.

10 years agoFixing FreeBSD x64 build
Sergey Sharybin [Thu, 12 Jan 2012 19:38:08 +0000 (19:38 +0000)]
Fixing FreeBSD x64 build

Patch by Shane Ambler, thanks!

10 years agoRename the sculpt/paint unified flags for better consistency, no functional changes
Nicholas Bishop [Thu, 12 Jan 2012 18:08:07 +0000 (18:08 +0000)]
Rename the sculpt/paint unified flags for better consistency, no functional changes

10 years agoMove unified paint fields from ToolSettings into their own UnifiedPaintSettings struct.
Nicholas Bishop [Thu, 12 Jan 2012 17:22:32 +0000 (17:22 +0000)]
Move unified paint fields from ToolSettings into their own UnifiedPaintSettings struct.

File subversion is bumped to two in order to copy over the old fields.

This removes two RNA properties, sculpt_paint_use_unified_size and

Code review link:

10 years agoFix #29860: cycles musgrave scale input not working correct.
Brecht Van Lommel [Thu, 12 Jan 2012 17:13:56 +0000 (17:13 +0000)]
Fix #29860: cycles musgrave scale input not working correct.

10 years agoRemove empty comment I added on accident.
Kent Mein [Thu, 12 Jan 2012 17:05:13 +0000 (17:05 +0000)]
Remove empty comment I added on accident.


10 years agouse render osa setting for opengl render sample count and BLI_jitter for opengl rende...
Campbell Barton [Thu, 12 Jan 2012 17:04:09 +0000 (17:04 +0000)]
use render osa setting for opengl render sample count and BLI_jitter for opengl rendering (previously was hard coded at 5).

10 years agoSome small fixes to get things compiling on solaris with cmake.
Kent Mein [Thu, 12 Jan 2012 16:31:27 +0000 (16:31 +0000)]
Some small fixes to get things compiling on solaris with cmake.
There are also some changes that need to be done to libmv but I'm
leaving those out so I can get it patched upstream first.

(Only works with gcc/g++ if we want to use sun's compiler we would need
to get rid of all of our annonymous structs which I don't think
we want to do at this point, example:

typedef struct wmNDOFMotionData {
        union {
                float tvec[3]; // translation
                struct { float tx, ty, tz; };   // this would need to be fixed
// something like this or something similar:
                struct { float x, y, z; } t;


10 years ago../lib/linux wont built with theoraenc theoradec unbuntu user also complained that...
Campbell Barton [Thu, 12 Jan 2012 15:56:08 +0000 (15:56 +0000)]
../lib/linux wont built with theoraenc theoradec unbuntu user also complained that this failed to link.

Im not sure whats best default here, removing for now.

if it gives more problems we could have a FindTheora module.

10 years agoFix #29864: crash running blender in background mode with non-default key
Brecht Van Lommel [Thu, 12 Jan 2012 15:44:18 +0000 (15:44 +0000)]
Fix #29864: crash running blender in background mode with non-default key

10 years agoremove blender 2.5 references in docs
Campbell Barton [Thu, 12 Jan 2012 15:16:08 +0000 (15:16 +0000)]
remove blender 2.5 references in docs

10 years agoreplace fixed sizes with sizeof when passing string length since size wasn't always...
Campbell Barton [Thu, 12 Jan 2012 13:16:30 +0000 (13:16 +0000)]
replace fixed sizes with sizeof when passing string length since size wasn't always correct.

10 years agoset pose channel names to match the length of bones, correct comment too which was...
Campbell Barton [Thu, 12 Jan 2012 12:35:52 +0000 (12:35 +0000)]
set pose channel names to match the length of bones, correct comment too which was glib and misleading.

10 years agode-duplicate object conversion code in BGE
Campbell Barton [Thu, 12 Jan 2012 09:02:29 +0000 (09:02 +0000)]
de-duplicate object conversion code in BGE

10 years agoadded comment; zbuffillGLinv4 and zbuffillGL4 are identical except for a 2 lines.
Campbell Barton [Thu, 12 Jan 2012 07:10:44 +0000 (07:10 +0000)]
added comment; zbuffillGLinv4 and zbuffillGL4 are identical except for a 2 lines.
no functional changes.

10 years agoremove commented editmesh code which is now moved to transform.c
Campbell Barton [Thu, 12 Jan 2012 06:32:07 +0000 (06:32 +0000)]
remove commented editmesh code which is now moved to transform.c

10 years agoremove redundant trailing slashes
Campbell Barton [Thu, 12 Jan 2012 06:11:08 +0000 (06:11 +0000)]
remove redundant trailing slashes

10 years agode-duplicate function copy-paste for node color sampling.
Campbell Barton [Thu, 12 Jan 2012 05:46:45 +0000 (05:46 +0000)]
de-duplicate function copy-paste for node color sampling.

10 years agoCucumber - AA for blenderplayer and fullscreen
Dalai Felinto [Wed, 11 Jan 2012 20:53:22 +0000 (20:53 +0000)]
Cucumber - AA for blenderplayer and fullscreen
svn merge ^/branches/soc-2011-cucumber -r 38968,38970,38973,39045,40845

*  we replaced fullscreen by playerflag in DNA_scene.types.h. So no doversion here, I think this is a small reversion can't see any potential problem in forcuing users to re-check fullscreen. If the file is really old (<250) it will doversion though;

* (for after commit) it would be nice to gray out the width/height when desktop=True

* for a rainy day: it would be nice to have other ghost modes (e.g. screensaver) to support desktop + MSAA as well. It's not a huge deal given that I don't even know if anything else work (apart from windowed, fullscreen and embed) but it doesn't hurt to have it updated as well.

* there is something strange with outliner. I think space_outliner merge-info is not in sync with the ^/ folder. It's probably a wrong merge early in cucumber.

Commit Logs:
# 40845 by dfelinto
remove desktop and fullscreen properties. They are both part of playerflag now
also I removed the fullscreen from the DNA completely. I don't think we need doversion that..

#39045 by kupoman
The Desktop option is now greyed out when fullscreen is not checked rather than disappearing from the UI completely.

#38973 by kupoman
Adding a checkbox to the UI to allow the full screen Blender Player to use the current desktop resolution instead of the resolution setting.

#38970 by kupoman
Multisampling now works in a fullscreen Blender Player.

#38968 by moguri
Committing a patch from Mitchell Stokes (Moguri) to include a setting in the UI for the Blenderplayer multisampling.

10 years agouse skip-save for ED_object_add_generic_props(), not essential - but it was annoying...
Campbell Barton [Wed, 11 Jan 2012 20:14:15 +0000 (20:14 +0000)]
use skip-save for ED_object_add_generic_props(), not essential - but it was annoying to have 'Reset' move objects to 0,0,0

10 years agofix for error in last commit - don't overwrite options in the new operator which...
Campbell Barton [Wed, 11 Jan 2012 20:03:41 +0000 (20:03 +0000)]
fix for error in last commit - don't overwrite options in the new operator which have been set before the operator runs.

10 years agorunning operators now uses last used settings, added reset button to set defaults.
Campbell Barton [Wed, 11 Jan 2012 19:33:14 +0000 (19:33 +0000)]
running operators now uses last used settings, added reset button to set defaults.

- uses redo stack to get recent settings from.
- adds a flag to IDProperties so RNA_property_is_set() can return false even if the property is exists.
- PROP_SKIP_SAVE option skips these settings from getting reset (as with presets).

10 years agoadd RNA_property_is_set function, use for WM_menu_invoke to avoid double lookup and...
Campbell Barton [Wed, 11 Jan 2012 16:48:22 +0000 (16:48 +0000)]
add RNA_property_is_set function, use for WM_menu_invoke to avoid double lookup and py api to de-duplicate some checks

10 years agorename RNA_property_is_set() --> RNA_struct_property_is_set() in preperation to add...
Campbell Barton [Wed, 11 Jan 2012 16:32:12 +0000 (16:32 +0000)]
rename RNA_property_is_set() --> RNA_struct_property_is_set() in preperation to add a second version of the function which takes the property rather then its name.

10 years agoFix #29836: stress not working as input for displacement texture. Previously it
Brecht Van Lommel [Wed, 11 Jan 2012 16:21:17 +0000 (16:21 +0000)]
Fix #29836: stress not working as input for displacement texture. Previously it
would be computed after displacement, but I don't think this made much sense.

10 years agoChanges composite node group of double edge mask node from FILTER to MATTE.
Peter Larabell [Wed, 11 Jan 2012 15:16:48 +0000 (15:16 +0000)]
Changes composite node group of double edge mask node from FILTER to MATTE.

10 years agoFix #29848: cycles not respecting dupli group visible layers, also exposed
Brecht Van Lommel [Wed, 11 Jan 2012 13:55:00 +0000 (13:55 +0000)]
Fix #29848: cycles not respecting dupli group visible layers, also exposed
DupliObject.hide property in API now.

10 years agoFix: toggling premultiply or color management not updating packed images.
Brecht Van Lommel [Wed, 11 Jan 2012 13:18:24 +0000 (13:18 +0000)]
Fix: toggling premultiply or color management not updating packed images.

10 years agoFix: cycles CPU device not being used when it should be on some multi-GPU
Brecht Van Lommel [Wed, 11 Jan 2012 13:18:06 +0000 (13:18 +0000)]
Fix: cycles CPU device not being used when it should be on some multi-GPU

10 years agodynamicpaint had some incorrect string sizes for layers names, use BLI string functio...
Campbell Barton [Wed, 11 Jan 2012 12:56:31 +0000 (12:56 +0000)]
dynamicpaint had some incorrect string sizes for layers names, use BLI string functions in more places too.

10 years agouse BLI_strncpy and BLI_snprintf when the size of the string is known.
Campbell Barton [Wed, 11 Jan 2012 12:33:51 +0000 (12:33 +0000)]
use BLI_strncpy and BLI_snprintf when the size of the string is known.

fix for sequencer unique naming which was missed with string length update.

10 years agoAdded mode-getting functions for GHOST under X11 (GNU/Linux).
Alex Fraser [Wed, 11 Jan 2012 12:28:31 +0000 (12:28 +0000)]
Added mode-getting functions for GHOST under X11 (GNU/Linux).
Enabled xvidmode by default in cmake.
Patch approved by Campbell.

10 years agoThis patch implements mode switching (resolution changing) for full-screen games.
Alex Fraser [Wed, 11 Jan 2012 11:59:57 +0000 (11:59 +0000)]
This patch implements mode switching (resolution changing) for full-screen games.
Hopefully, this should be platform agnostic. Requires WITH_GHOST_SDL.
This patch contains code from Quake 2 and bzflag.
Tracker: [#29839]

10 years agominor cleanup for string use - no functional changes
Campbell Barton [Wed, 11 Jan 2012 09:33:44 +0000 (09:33 +0000)]
minor cleanup for string use - no functional changes
- use more logical names for strings, noticed too many strings called `str` when reviewing name patch.
- pass __func__ macro to uiBeginBlock(), quite a few names were wrong (copy/paste error).

10 years agoLonger names support for all ID and other object names
Sergey Sharybin [Wed, 11 Jan 2012 08:51:06 +0000 (08:51 +0000)]
Longer names support for all ID and other object names

This commit extends limit of ID and objects to 64 (it means 63 meaning
characters and 1 for zero-terminator). CustomData layers names are also
Changed DNA structures and all places where length constants were hardcoded.

All names which are "generating" from ID block should be limited by MAX_ID_NAME-2,
all non-id names now has got own define called MAX_NAME which should be used all
over for non-id names to make further name migration stuff easier.

All name fields in DNA now have comment with constant which corresponds to
hardcoded numeric value which should make it easier to further update this
limits or even switch to non-hardcoded values in DNA.

Special thanks to Campbell who helped figuring out some issues and helped a lot
in finding all cases where hardcoded valued were still used in code.

Both of forwards and backwards compatibility is stored with blender versions newer
than January 5, 2011. Older versions had issue with placing null-terminator to
DNA strings on file load which will lead to some unpredictable behavior or even

10 years agobge camera actuator: -X and -Y axis
Dalai Felinto [Wed, 11 Jan 2012 07:27:39 +0000 (07:27 +0000)]
bge camera actuator: -X and -Y axis

The camera actuator only allows to look the object from its front face.

Given that Blender takes -Y as the default forward orientation, the current
functionality doesn't let a camera to track an actor from behind.

This patch allows for -X and -Y axis tracking. This way a camera over the
shoulders of a character is possible (without resorting to rotate the
mesh/armature original orientation.

- patch reviewed by Campbell Barton, thanks

10 years agoFixed typo in comments for libmv build rules files
Sergey Sharybin [Wed, 11 Jan 2012 07:19:44 +0000 (07:19 +0000)]
Fixed typo in comments for libmv build rules files

10 years agofix [#29794] Cannot hide faces in weight-paint mode
Campbell Barton [Wed, 11 Jan 2012 07:03:47 +0000 (07:03 +0000)]
fix [#29794] Cannot hide faces in weight-paint mode

bug was introduced with cycles merge.

10 years agominor changes to BLF api use
Campbell Barton [Wed, 11 Jan 2012 05:45:39 +0000 (05:45 +0000)]
minor changes to BLF api use
- replace calls to BLF_width & BLF_height --> BLF_width_and_height
- no need to call strlen() on length value passed to BLF_draw(). this already checks for \0 char.

10 years agoChange how object menu selection works, use an operator with an enum rather then...
Campbell Barton [Wed, 11 Jan 2012 03:40:20 +0000 (03:40 +0000)]
Change how object menu selection works, use an operator with an enum rather then a menu with 'OBJECT_OT_select_name',

remove 'OBJECT_OT_select_name' operator since its no longer needed.

10 years agoremove spot_interactive() which is now handled by generic py operator.
Campbell Barton [Wed, 11 Jan 2012 02:25:43 +0000 (02:25 +0000)]
remove spot_interactive() which is now handled by generic py operator.

10 years agopatch [#29853] UTF-8 copy&paste for X11 GHOST
Campbell Barton [Wed, 11 Jan 2012 00:34:42 +0000 (00:34 +0000)]
patch [#29853] UTF-8 copy&paste for X11 GHOST

10 years agominor edits to xml presets
Campbell Barton [Wed, 11 Jan 2012 00:22:21 +0000 (00:22 +0000)]
minor edits to xml presets
- check 'SKIP_SAVE' property (used for active theme area which become annoying)
- indent presets better

10 years agowhen building blender as a py module use add_library(... MODULE on all systems, was...
Campbell Barton [Wed, 11 Jan 2012 00:09:46 +0000 (00:09 +0000)]
when building blender as a py module use add_library(... MODULE on all systems, was SHARED on linux/windows.

10 years agoCommenting and comment fixing
Joshua Leung [Tue, 10 Jan 2012 23:14:20 +0000 (23:14 +0000)]
Commenting and comment fixing

* Fixed incorrect description for scene.keyingsets list
* Added dividers to try and make it clearer what structs were related.
  * Reshuffled TransformOrientation struct since it occurred right in the middle
of all the other Paint-Mode stuff

10 years agoSVN maintenance.
Guillermo S. Romero [Tue, 10 Jan 2012 19:45:20 +0000 (19:45 +0000)]
SVN maintenance.

10 years ago(no commit message)
Peter Larabell [Tue, 10 Jan 2012 19:08:08 +0000 (19:08 +0000)]

10 years agoOSX: cleanup for cmake MODULE compile, not working yet, needs more investigation
Jens Verwiebe [Tue, 10 Jan 2012 19:01:27 +0000 (19:01 +0000)]
OSX: cleanup for cmake MODULE compile, not working yet, needs more investigation

10 years agoOSX: fix compiling Blender as MODULE
Jens Verwiebe [Tue, 10 Jan 2012 16:47:20 +0000 (16:47 +0000)]
OSX: fix compiling Blender as MODULE

10 years agomove theme presets out of the header into the main panel.
Campbell Barton [Tue, 10 Jan 2012 16:30:16 +0000 (16:30 +0000)]
move theme presets out of the header into the main panel.

10 years agoenable xml preset save/load, replace install/export themes with these.
Campbell Barton [Tue, 10 Jan 2012 16:20:01 +0000 (16:20 +0000)]
enable xml preset save/load, replace install/export themes with these.

10 years agoinitial support for XML presets, these have the advantage...
Campbell Barton [Tue, 10 Jan 2012 15:08:12 +0000 (15:08 +0000)]
initial support for XML presets, these have the advantage...

- missing attributes are ignored and don't error out like they would on a script when the API changes.
- don't run code (secure to run from untrusted sources).

use xml presets for themes.

10 years agoFix #29827: 2.61 Scale and translate bugs
Sergey Sharybin [Tue, 10 Jan 2012 14:54:51 +0000 (14:54 +0000)]
Fix #29827: 2.61 Scale and translate bugs

Scale lead to crash because of incorrect check for buffer size.
Translate bug was caused by ignoring buffer offset.

10 years agoFix regressions in the color management / dither patch.
Brecht Van Lommel [Tue, 10 Jan 2012 14:24:18 +0000 (14:24 +0000)]
Fix regressions in the color management / dither patch.

10 years agoFix jobs progress display in taskbar incorrectly flashing on/off with multiple
Brecht Van Lommel [Tue, 10 Jan 2012 14:24:02 +0000 (14:24 +0000)]
Fix jobs progress display in taskbar incorrectly flashing on/off with multiple
jobs active.

10 years agoAdding the kyrgyz language.
Bastien Montagne [Tue, 10 Jan 2012 14:02:27 +0000 (14:02 +0000)]
Adding the kyrgyz language.

10 years agoremove WITH_OGG define, its not used anywhere.
Campbell Barton [Tue, 10 Jan 2012 13:33:53 +0000 (13:33 +0000)]
remove WITH_OGG define, its not used anywhere.

10 years agoSome editors choke on lines over 100,000 chars long. Better split.
Campbell Barton [Tue, 10 Jan 2012 11:22:41 +0000 (11:22 +0000)]
Some editors choke on lines over 100,000 chars long. Better split.

10 years agocomment unused vars
Campbell Barton [Mon, 9 Jan 2012 22:18:04 +0000 (22:18 +0000)]
comment unused vars

10 years agoCamera tracking: fixes for preview widget
Sergey Sharybin [Mon, 9 Jan 2012 20:19:07 +0000 (20:19 +0000)]
Camera tracking: fixes for preview widget

- Clamping of image on boundaries now happens nicely
- Looks like to prevent dark edges on image boundary when doing
  bicubic interpolation, margin should be 3px. Maybe somebody can verify this?

10 years agoCamera tracking: minor code cleanup of RNA file, no functional changes
Sergey Sharybin [Mon, 9 Jan 2012 20:18:57 +0000 (20:18 +0000)]
Camera tracking: minor code cleanup of RNA file, no functional changes

10 years agoCamera tracking: tracks copy/paste operator
Sergey Sharybin [Mon, 9 Jan 2012 20:18:48 +0000 (20:18 +0000)]
Camera tracking: tracks copy/paste operator

This commit implements basic clipboard support for movie tracking data
int clip editor. Used own implementation of clipboard like it's done
for sequencer.
Ideally it needed to be switched to more general clipboard system, but
currently this system is designed for text data only and it need to
be re-designed itself. But this feature is quite useful since object
tracking is implemented, so it should be OK to live with such own
implementation for a while.

10 years agoCamera tracking: marker's frame number is now writable from python api
Sergey Sharybin [Mon, 9 Jan 2012 20:18:36 +0000 (20:18 +0000)]
Camera tracking: marker's frame number is now writable from python api

10 years agoCamera tracking: improvements of python api
Sergey Sharybin [Mon, 9 Jan 2012 20:18:28 +0000 (20:18 +0000)]
Camera tracking: improvements of python api

- marker_find_frame moved to MovieTrack.markers and called find_frame
- Added MovieTrack.markers.insert_frame to insert marker at specified frame
- Added MovieTrack.markers.delete_frame to delete marker from specified frame

10 years agoui typo + small fix
Dalai Felinto [Mon, 9 Jan 2012 20:13:03 +0000 (20:13 +0000)]
ui typo + small fix

Blender internally deals with Font Objects, but as far as the user is concerned they are Text Objects.
Which, btw, makes me wonder why we have an 'F' as the logo for Text objects, and why the ob.type is 'FONT' in python

(I guess it's a Font Data for a Text object)

10 years agoCycles: multi GPU rendering support.
Brecht Van Lommel [Mon, 9 Jan 2012 16:58:01 +0000 (16:58 +0000)]
Cycles: multi GPU rendering support.

The rendering device is now set in User Preferences > System, where you can
choose between OpenCL/CUDA and devices. Per scene you can then still choose
to use CPU or GPU rendering.

Load balancing still needs to be improved, now it just splits the entire
render in two, that will be done in a separate commit.

10 years agoCycles: show elapsed time for F12/background render.
Brecht Van Lommel [Mon, 9 Jan 2012 16:57:46 +0000 (16:57 +0000)]
Cycles: show elapsed time for F12/background render.

10 years agoCycles: small tweak to checker texture, scale rather than add with epsilon,
Brecht Van Lommel [Mon, 9 Jan 2012 16:57:26 +0000 (16:57 +0000)]
Cycles: small tweak to checker texture, scale rather than add with epsilon,
looks a bit better on all sides of a mesh.

10 years agoFix #29835: joining meshes leads to crash
Sergey Sharybin [Mon, 9 Jan 2012 15:17:09 +0000 (15:17 +0000)]
Fix #29835: joining meshes leads to crash

10 years agoFix #29793: Physics go crazy if frames get skipped
Sergey Sharybin [Mon, 9 Jan 2012 14:08:06 +0000 (14:08 +0000)]
Fix #29793: Physics go crazy if frames get skipped

Calculate cloth and softbody only for single frame time deltas
(like it's already done for smoke)

10 years agohave add_weight_mcol_dm() set the 4th corner of a tri faces color to 0, otherwise...
Campbell Barton [Mon, 9 Jan 2012 10:38:22 +0000 (10:38 +0000)]
have add_weight_mcol_dm() set the 4th corner of a tri faces color to 0, otherwise uninitialized memory gets copied about.

10 years agoWIP script to check results of different modifier combinations and display modes...
Campbell Barton [Mon, 9 Jan 2012 10:30:27 +0000 (10:30 +0000)]
WIP script to check results of different modifier combinations and display modes, useful for validating bmesh changes don't break specific modifier combinations.

10 years agoTag unused argument
Sergey Sharybin [Mon, 9 Jan 2012 09:30:51 +0000 (09:30 +0000)]
Tag unused argument

10 years agobugfix for solidify modifier rim faces which were created from triangles, would get...
Campbell Barton [Mon, 9 Jan 2012 09:30:04 +0000 (09:30 +0000)]
bugfix for solidify modifier rim faces which were created from triangles, would get wrong customdata copied since it used the 4th index of a tri.

fixed already in bmesh.

10 years agoTypo fix - thanks "Olson" on IRC!
Joshua Leung [Mon, 9 Jan 2012 09:12:55 +0000 (09:12 +0000)]
Typo fix - thanks "Olson" on IRC!

10 years agodont draw object center dot for opengl render
Campbell Barton [Mon, 9 Jan 2012 03:16:30 +0000 (03:16 +0000)]
dont draw object center dot for opengl render

10 years agofix an error rendering opengl weightpaint data wasn't working when python initialized...
Campbell Barton [Mon, 9 Jan 2012 02:50:09 +0000 (02:50 +0000)]
fix an error rendering opengl weightpaint data wasn't working when python initialized opengl render on startup (needed for testing script).

10 years agoFix #29828: Reloading background movie clip crashes Blender
Sergey Sharybin [Sun, 8 Jan 2012 19:51:14 +0000 (19:51 +0000)]
Fix #29828: Reloading background movie clip crashes Blender

Crash was caused by invalidating scopes used by space clip editors. It shouldn't
actually happen in movie clip reload operator due to it will happen on NA_EDITED
notifier handler sent to movie clip context.

10 years agoCycles: checker texture node, patch by Thomas.
Brecht Van Lommel [Sun, 8 Jan 2012 14:55:43 +0000 (14:55 +0000)]
Cycles: checker texture node, patch by Thomas.