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

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

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

9 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

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

9 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).

9 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

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

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

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

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

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

9 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

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

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

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

9 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]

9 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).

9 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

9 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

9 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

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

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

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

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

9 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

9 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

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

9 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

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

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

9 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

9 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

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

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

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

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

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

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

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

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

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

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

9 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?

9 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

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

9 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

9 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

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

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

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

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

9 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

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

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

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

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

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

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

9 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

9 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).

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

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

9 years agoColor:
Brecht Van Lommel [Sun, 8 Jan 2012 13:55:53 +0000 (13:55 +0000)]

* Accelerated sRGB <=> linear conversion using lookup table, this can speed up
  loading of images in the compositor and simple renders quite a bit.
* Dithering now uses the Floyd-Steinberg algorithm. Previously it would simply
  randomize each pixel slightly, adding noise, now that should be reduced.

Patch #29309 by David M.

9 years agoImproved auto-hiding of unused sockets for collapsed nodes.
Lukas Toenne [Sun, 8 Jan 2012 10:23:19 +0000 (10:23 +0000)]
Improved auto-hiding of unused sockets for collapsed nodes.

Instead of generally hiding all unused sockets in collapsed mode, the sockets now have a new explicit flag SOCK_AUTO_HIDDEN, which is only toggled when the hide_toggle operator is called. This way the auto-hidden sockets stay as they are when nodes are duplicated etc. The new flag is necessary to distinguish between manually hidden sockets (via hide_sockets_toggle operator) and automatically hidden sockets and restore the node state when unhiding a node.

9 years agoFix for [#28978]
Alexander Kuznetsov [Sun, 8 Jan 2012 05:10:52 +0000 (05:10 +0000)]
Fix for [#28978]
Disabling mode switching in panning in 2d as it is disabled in 3d also.
Apparently, it is a not good idea to call modal method from a modal method as the last won't be canceled.

9 years agoCode cleanup
Joshua Leung [Sun, 8 Jan 2012 04:14:13 +0000 (04:14 +0000)]
Code cleanup

Removing some old + unused stuff that's not coming back. For example, the code
for the old "specials menu" used everywhere/all contexts.

9 years agoFix for last commit, missed check for ob, could cause errors when object was removed.
Thomas Dinges [Fri, 6 Jan 2012 22:55:15 +0000 (22:55 +0000)]
Fix for last commit, missed check for ob, could cause errors when object was removed.

9 years agoMore whitespace cleanup in python scripts
Sergey Sharybin [Fri, 6 Jan 2012 21:25:28 +0000 (21:25 +0000)]
More whitespace cleanup in python scripts

9 years agoWhitespace cleanup in curve properties script
Sergey Sharybin [Fri, 6 Jan 2012 21:24:10 +0000 (21:24 +0000)]
Whitespace cleanup in curve properties script

9 years agoFix #29568: Blender restores deleted scene
Sergey Sharybin [Fri, 6 Jan 2012 17:32:20 +0000 (17:32 +0000)]
Fix #29568: Blender restores deleted scene

Special notifiers used for scene deletion which lead to undo pushes
after SCENE_OT_delete operator happening with scene still present in
the mainfile. That was a reason why operator redo used to restore

It's not so obvious why special notifier type is needed for scene
set and deletion -- it confuses undo system without having some
obvious advantages. Using "direct" scene deletion and setting
seems to be working fine so let's see if there'll be some issues
with this.

9 years agoMove glTexEnvi to draw__start/draw__end.
Diego Borghetti [Fri, 6 Jan 2012 16:40:57 +0000 (16:40 +0000)]
Move glTexEnvi to draw__start/draw__end.

As Campbell point, this is to avoid call glGet/glTexEnvi
on each character.

9 years agoTweaks for Node Header UI code:
Thomas Dinges [Fri, 6 Jan 2012 16:37:07 +0000 (16:37 +0000)]
Tweaks for Node Header UI code:
* Don't show "New material" operator, when object type can't have materials
* Don't show "Use Nodes" for lamps in Blender Internal.

9 years agoFix #29743: Video sequencer wipe effect bug
Sergey Sharybin [Fri, 6 Jan 2012 10:08:46 +0000 (10:08 +0000)]
Fix #29743: Video sequencer wipe effect bug

Blur width used to be calculated quite strange depending on current angle.
Also, it used to be using wrong formula to calculate distance between
current point and boundary line which made blur width almost useless.

Now actual blur width is doesn't depend on angle and use corrected formula
for distance calculation which makes blur width slider behaves more

This commit might make old files using wipe+blur be rendered a bit differently,
but don't think it's indeed issue because old behavior was crappy to setup
something useful so don't think this setup was used a lot.

9 years agouse warnigns for all msvc configurations
Campbell Barton [Fri, 6 Jan 2012 05:13:36 +0000 (05:13 +0000)]
use warnigns for all msvc configurations

9 years agoBumping up scons+msvc warning level to w1 so that we at least get some warnings
Joshua Leung [Fri, 6 Jan 2012 04:07:09 +0000 (04:07 +0000)]
Bumping up scons+msvc warning level to w1 so that we at least get some warnings
out of it.

9 years agoBugfix [#29806] World nodetrees not included in Animation Editor filtering
Joshua Leung [Fri, 6 Jan 2012 04:03:31 +0000 (04:03 +0000)]
Bugfix [#29806] World nodetrees not included in Animation Editor filtering

This was mostly only a problem when using Cycles, where NodeTrees are used to
control the world settings.

Also needed to knock out a few remnants of some bygone attempted optimisation
attempts which were preventing this from working (i.e. if a world block didn't
have any animdata, it's child nodetree would never get seen/tested). These
worked ok in the past, but are not that flexible for extension.

9 years agoCycles / Nodes:
Thomas Dinges [Fri, 6 Jan 2012 01:31:36 +0000 (01:31 +0000)]
Cycles / Nodes:
* Make it possible to add a new material from the Node header, if no material exists in the (active) material slot.

9 years ago3DView / Properties Region:
Thomas Dinges [Fri, 6 Jan 2012 01:14:57 +0000 (01:14 +0000)]
3DView / Properties Region:
* Simplify UI inside the Transform Orientation Panel.

9 years agoCycles/Material list:
Thomas Dinges [Fri, 6 Jan 2012 01:07:13 +0000 (01:07 +0000)]
Cycles/Material list:
* Don't display "Node <none>" message in the material list, when new shading nodes are used.

9 years agoProperties Window UI:
Thomas Dinges [Thu, 5 Jan 2012 23:49:57 +0000 (23:49 +0000)]
Properties Window UI:
* Some tweaks to the stamp panel to make it more compact.
* Remove "Stamp" Prefix for the color values, redundant info.

9 years agofix error building without openexr
Campbell Barton [Thu, 5 Jan 2012 23:36:03 +0000 (23:36 +0000)]
fix error building without openexr

9 years agoFix #29723: wrong IOR for raytraced refraction after reflection inside mesh,
Brecht Van Lommel [Thu, 5 Jan 2012 22:41:56 +0000 (22:41 +0000)]
Fix #29723: wrong IOR for raytraced refraction after reflection inside mesh,
patch by Juha Maki-Kanto.

9 years agoFix #29760: cycles border render issue on 32 bit linux.
Brecht Van Lommel [Thu, 5 Jan 2012 22:41:46 +0000 (22:41 +0000)]
Fix #29760: cycles border render issue on 32 bit linux.

9 years agocorrect error in own commit r43159, unintentionally removed NULL check
Campbell Barton [Thu, 5 Jan 2012 22:14:38 +0000 (22:14 +0000)]
correct error in own commit r43159, unintentionally removed NULL check

9 years agoFix #29796: Poor screencast quality with any AVI Codec
Sergey Sharybin [Thu, 5 Jan 2012 18:03:48 +0000 (18:03 +0000)]
Fix #29796: Poor screencast quality with any AVI Codec

Looks like some codecs depends on valid PTS set for frame to encode
frame in right way. PTS is calculating based on current frame number
appending to stream which is stored in render data.

So use rd.cfra in screenshot_startjob() instead of keeping own variable
for reporting current frame number.

Now codecs should be happy and work nice.

9 years agoFix mistake in recent refactoring, dither needs to be float not int.
Brecht Van Lommel [Thu, 5 Jan 2012 17:50:34 +0000 (17:50 +0000)]
Fix mistake in recent refactoring, dither needs to be float not int.

9 years agoFix #29801: various compositing nodes not working correct after translate,
Brecht Van Lommel [Thu, 5 Jan 2012 17:50:25 +0000 (17:50 +0000)]
Fix #29801: various compositing nodes not working correct after translate,
e.g. separate HSVA node.

9 years agoCode refactoring: split render result related functions into separate file.
Brecht Van Lommel [Thu, 5 Jan 2012 17:50:09 +0000 (17:50 +0000)]
Code refactoring: split render result related functions into separate file.

9 years ago* Fixing a typo in clip operators.
Thomas Dinges [Thu, 5 Jan 2012 16:57:15 +0000 (16:57 +0000)]
* Fixing a typo in clip operators.
CLIP_spacees_walk > CLIP_spaces_walk

9 years ago2.6 UI Files:
Thomas Dinges [Thu, 5 Jan 2012 16:04:25 +0000 (16:04 +0000)]
2.6 UI Files:
* Some code cleanup.

9 years agono need to recalculate normals after setting smooth flags, for a short time the flag...
Campbell Barton [Thu, 5 Jan 2012 15:45:57 +0000 (15:45 +0000)]
no need to recalculate normals after setting smooth flags, for a short time the flag was used for vertex normals but not anymore.

9 years agoprint message for unknown args to make it clear that these are not recognized.
Campbell Barton [Thu, 5 Jan 2012 11:02:27 +0000 (11:02 +0000)]
print message for unknown args to make it clear that these are not recognized.

9 years agoadd _default versions of sequence sound functions since most of their uses passed...
Campbell Barton [Thu, 5 Jan 2012 10:34:50 +0000 (10:34 +0000)]
add _default versions of sequence sound functions since most of their uses passed along the same args from sequence strips. (no functional changes)

9 years agodisable recent attempt to static link mingw DLL's causes errors for some users.
Campbell Barton [Thu, 5 Jan 2012 10:05:24 +0000 (10:05 +0000)]
disable recent attempt to static link mingw DLL's causes errors for some users.

also remove break statement, mistake on last commit.

9 years agoreplace double prints in readfile.c with a BKE_reportf wrapper
Campbell Barton [Thu, 5 Jan 2012 09:50:07 +0000 (09:50 +0000)]
replace double prints in readfile.c with a BKE_reportf wrapper

9 years agologic editor ui adjustment, all gameprop types are replaced by the ...
Dalai Felinto [Thu, 5 Jan 2012 08:08:58 +0000 (08:08 +0000)]
logic editor ui adjustment, all gameprop types are replaced by the (not only Text)

9 years agolink mingw libstdc++ and libgcc libs statically so users dont need mingw installed...
Campbell Barton [Thu, 5 Jan 2012 07:52:03 +0000 (07:52 +0000)]
link mingw libstdc++ and libgcc libs statically so users dont need mingw installed to use mingw builds

9 years agomore edits to r43145,
Campbell Barton [Thu, 5 Jan 2012 06:34:14 +0000 (06:34 +0000)]
more edits to r43145,
- remove redundant check in new prop operator which is covered by operators poll func.
- use get_ob_property to get the object prop in BL_ConvertTextProperty() rather then looping for it.

9 years agoedit on recent font UI changes.
Campbell Barton [Thu, 5 Jan 2012 06:12:26 +0000 (06:12 +0000)]
edit on recent font UI changes.

don't show the text objects body in the ui - this could be pages of text and even though it only draws part of this, it still allocates and frees the string on every draw.