blender.git
7 years agosvn merge ^/trunk/blender -r42914:42918
Campbell Barton [Wed, 28 Dec 2011 10:27:25 +0000 (10:27 +0000)]
svn merge ^/trunk/blender -r42914:42918

7 years agocopy BLI_edgehash changes from bmesh branch, main change is use of mempool.
Campbell Barton [Wed, 28 Dec 2011 10:20:37 +0000 (10:20 +0000)]
copy BLI_edgehash changes from bmesh branch, main change is use of mempool.

7 years agoun-inline edgehash functions, BLI_edgehash_insert was far too big to inline.
Campbell Barton [Wed, 28 Dec 2011 10:06:10 +0000 (10:06 +0000)]
un-inline edgehash functions, BLI_edgehash_insert was far too big to inline.

and have edge hash use unsigned ints since edge verts are unsigned ints for MEdge's

7 years agoun-inline edgehash functions, BLI_edgehash_insert especially was too large to inline
Campbell Barton [Wed, 28 Dec 2011 09:47:24 +0000 (09:47 +0000)]
un-inline edgehash functions, BLI_edgehash_insert especially was too large to inline

7 years agosvn merge ^/trunk/blender -r42911:42914
Campbell Barton [Wed, 28 Dec 2011 09:21:24 +0000 (09:21 +0000)]
svn merge ^/trunk/blender -r42911:42914

7 years agominor edits and correcton to assert
Campbell Barton [Wed, 28 Dec 2011 09:14:09 +0000 (09:14 +0000)]
minor edits and correcton to assert

7 years agomerge in customdata changes from BMesh - biggest change is caching the layer index...
Campbell Barton [Wed, 28 Dec 2011 09:11:11 +0000 (09:11 +0000)]
merge in customdata changes from BMesh - biggest change is caching the layer index values in a typemap.

7 years agosvn merge ^/trunk/blender -r42902:42911
Campbell Barton [Wed, 28 Dec 2011 08:36:25 +0000 (08:36 +0000)]
svn merge ^/trunk/blender -r42902:42911

7 years agoreduce size of typemap, and minor changes to sync with trunk
Campbell Barton [Wed, 28 Dec 2011 08:33:19 +0000 (08:33 +0000)]
reduce size of typemap, and minor changes to sync with trunk

7 years agominor changes from bmesh into trunk
Campbell Barton [Wed, 28 Dec 2011 08:29:03 +0000 (08:29 +0000)]
minor changes from bmesh into trunk

7 years agosync some edits with bmesh
Campbell Barton [Wed, 28 Dec 2011 07:43:06 +0000 (07:43 +0000)]
sync some edits with bmesh

7 years agomacro for getting next/previous MPoly loops
Campbell Barton [Wed, 28 Dec 2011 07:10:27 +0000 (07:10 +0000)]
macro for getting next/previous MPoly loops

7 years agoset mloop edge and vertex as unsigned ints since face/edge reference verts as unsigne...
Campbell Barton [Wed, 28 Dec 2011 04:43:29 +0000 (04:43 +0000)]
set mloop edge and vertex as unsigned ints since face/edge reference verts as unsigned ints too

7 years agofor bpy.props, when 'name' argument is not initialized, vallback to the attribute...
Campbell Barton [Wed, 28 Dec 2011 04:25:46 +0000 (04:25 +0000)]
for bpy.props, when 'name' argument is not initialized, vallback to the attribute name rather than an empty string.

7 years agosaving to legacy mesh format is now functional
Campbell Barton [Tue, 27 Dec 2011 13:44:15 +0000 (13:44 +0000)]
saving to legacy mesh format is now functional

7 years agosvn merge ^/trunk/blender -r42886:42902
Campbell Barton [Tue, 27 Dec 2011 13:28:30 +0000 (13:28 +0000)]
svn merge ^/trunk/blender -r42886:42902

7 years agooption to save as older mesh format (ifdef'd for now)
Campbell Barton [Tue, 27 Dec 2011 13:17:58 +0000 (13:17 +0000)]
option to save as older mesh format (ifdef'd for now)

7 years agoChange visualize indices so that edit select mode chooses which elements are visualized
Howard Trickey [Tue, 27 Dec 2011 12:50:23 +0000 (12:50 +0000)]
Change visualize indices so that edit select mode chooses which elements are visualized

7 years agoOSX: adding PNG codec to QTKit, to have one more alpha enabled one atm
Jens Verwiebe [Tue, 27 Dec 2011 11:29:27 +0000 (11:29 +0000)]
OSX: adding PNG codec to QTKit, to have one more alpha enabled one atm

7 years agoMore fixes for timecode usage with BKE_movieclip_get_ibuf_flag
Sergey Sharybin [Tue, 27 Dec 2011 11:09:06 +0000 (11:09 +0000)]
More fixes for timecode usage with BKE_movieclip_get_ibuf_flag

7 years agoFix #29688: Timecode is not used in tracking
Sergey Sharybin [Tue, 27 Dec 2011 10:52:23 +0000 (10:52 +0000)]
Fix #29688: Timecode is not used in tracking

Use proper timecode flags sending to BKE_movieclip_get_ibuf_flag function,
so now frames for tracking would be full-resolution but calculated using
timecode defined in th interface,

7 years agoOSX: adding some more codecs to QTKit
Jens Verwiebe [Tue, 27 Dec 2011 10:51:01 +0000 (10:51 +0000)]
OSX: adding some more codecs to QTKit

7 years agoUpdate build files to use new OpenAL libraries
Sergey Sharybin [Tue, 27 Dec 2011 09:37:19 +0000 (09:37 +0000)]
Update build files to use new OpenAL libraries

7 years agooption to save bmesh files in older mesh format so they can load in older versoons...
Campbell Barton [Tue, 27 Dec 2011 08:39:55 +0000 (08:39 +0000)]
option to save bmesh files in older mesh format so they can load in older versoons of blender.

- saves UV's and VCols
- skips NGons
- resulting files load in both BMesh and Trunk.

TODO - add an option in the UI to access this.

7 years agosvn merge ^/trunk/blender -r42882:42886
Campbell Barton [Tue, 27 Dec 2011 04:08:21 +0000 (04:08 +0000)]
svn merge ^/trunk/blender -r42882:42886

7 years agoremove unneeded casts from 'unsigned int' to 'int'
Campbell Barton [Tue, 27 Dec 2011 03:54:23 +0000 (03:54 +0000)]
remove unneeded casts from 'unsigned int' to 'int'

7 years ago* Fixing compile after recent i18 commits.
Thomas Dinges [Tue, 27 Dec 2011 01:35:39 +0000 (01:35 +0000)]
* Fixing compile after recent i18 commits.

7 years agoFix own error in r42881, didn't add rectangle padding correctly.
Nicholas Bishop [Mon, 26 Dec 2011 23:36:44 +0000 (23:36 +0000)]
Fix own error in r42881, didn't add rectangle padding correctly.

7 years agosvn merge ^/trunk/blender -r42871:42882
Campbell Barton [Mon, 26 Dec 2011 21:39:16 +0000 (21:39 +0000)]
svn merge ^/trunk/blender -r42871:42882

7 years ago[#29144] Snapping control points: can't choose which one to delete
Martin Poirier [Mon, 26 Dec 2011 20:23:07 +0000 (20:23 +0000)]
[#29144] Snapping control points: can't choose which one to delete
Reported by Pep Ribal
You can now select which snap point to remove (with Alt-A) by moving the cursor over them.
Display colors are also used to indicate which snap points are active, selected or just there.

7 years agoFactor out some generic parts of the sculpting PBVH redraw planes code.
Nicholas Bishop [Mon, 26 Dec 2011 20:19:55 +0000 (20:19 +0000)]
Factor out some generic parts of the sculpting PBVH redraw planes code.

One function converts bounding boxes to screen space, the other
converts a screen-space rectangle to 3D clipping planes.

Also const-ified some parameters in the ED_view3d API.

7 years agoAdd a glClear() in GHOST/X11 between creating the GLX context and
Nicholas Bishop [Mon, 26 Dec 2011 19:12:13 +0000 (19:12 +0000)]
Add a glClear() in GHOST/X11 between creating the GLX context and
displaying the window.

This fixes a brief flash of random data on Blender startup on my
system (Ubuntu 11.10, ATI Mobility Radeon HD 5650, Gallium drivers.)

Code review link:
http://codereview.appspot.com/5505071/

7 years ago[#29611] Crash when scale one vertex with snap.
Martin Poirier [Mon, 26 Dec 2011 19:03:32 +0000 (19:03 +0000)]
[#29611] Crash when scale one vertex with snap.
Reported by Andrey Penyaz
Scale snap defaults to 1 when snapping is impossible (distance to center of transformation is zero).

7 years agoAnother fix for #29494: Problem loading translations at Blender's startup
Sergey Sharybin [Mon, 26 Dec 2011 14:52:36 +0000 (14:52 +0000)]
Another fix for #29494: Problem loading translations at Blender's startup

Reset only LANG variable to it's default value when setting locale to
short/long name failed and set LANGUAGE to value calculated from LANG
or value in user preferences (depending on if Default language is set)
so correct language ill be used for messages even if locale files aren't
generated.

Also disabled i18n prints in non-debug run so console wouldn't be polluted
by messages which aren't really informative for user now and might confuse.

7 years agoAdded WITH_BF_LIBMV to command line options
Sergey Sharybin [Mon, 26 Dec 2011 14:52:21 +0000 (14:52 +0000)]
Added WITH_BF_LIBMV to command line options

7 years agoformatting edits only to use more consisted style
Campbell Barton [Mon, 26 Dec 2011 12:26:11 +0000 (12:26 +0000)]
formatting edits only to use more consisted style

7 years agoformatting edits & minor corrections
Campbell Barton [Mon, 26 Dec 2011 00:42:35 +0000 (00:42 +0000)]
formatting edits & minor corrections

7 years agopatch from debian from Kevin 'kiniou' Roy
Campbell Barton [Mon, 26 Dec 2011 00:13:03 +0000 (00:13 +0000)]
patch from debian from Kevin 'kiniou' Roy

added __GNU__ and __GLIBC__ to conditional defined in order to compile on KFreeBSD

7 years agofix for a bug in mathutils when a vector was accessing a matrix and the matrix size...
Campbell Barton [Mon, 26 Dec 2011 00:05:41 +0000 (00:05 +0000)]
fix for a bug in mathutils when a vector was accessing a matrix and the matrix size increased, future access too the vector would write past the allocated bounds. now raise an exception.

7 years agosvn merge ^/trunk/blender -r42839:42871
Campbell Barton [Sun, 25 Dec 2011 21:31:19 +0000 (21:31 +0000)]
svn merge ^/trunk/blender -r42839:42871

7 years agoinclude BLO_sys_types in customdata header rather than stdint directly.
Campbell Barton [Sun, 25 Dec 2011 21:27:23 +0000 (21:27 +0000)]
include BLO_sys_types in customdata header rather than stdint directly.

7 years agoCycles Test App:
Thomas Dinges [Sun, 25 Dec 2011 13:34:18 +0000 (13:34 +0000)]
Cycles Test App:
* Added some new integrator parameters to the xml reading.
* Added ability to specify window width/height, if not set it uses film/camera width/height.
* Added back the xml exporter script from cycles branch, with modifications to hock up into the UI. To use it, copy the script into 2.61/scripts/startup.

Note: This is intended for developers for now, but the standalone Cycles app has potential to be used as benchmark for example.

7 years agouse docstrings for mathutils getset's, also some formatting edits, no functional...
Campbell Barton [Sun, 25 Dec 2011 11:36:26 +0000 (11:36 +0000)]
use docstrings for mathutils getset's, also some formatting edits, no functional changes.

7 years agopicky formatting of mathutils
Campbell Barton [Sat, 24 Dec 2011 13:26:30 +0000 (13:26 +0000)]
picky formatting of mathutils

7 years agoRe-enable CYCLES and OpenEXR since they work for MInGW. IMPORTANT: Only use the lates...
Antony Riakiotakis [Sat, 24 Dec 2011 11:56:13 +0000 (11:56 +0000)]
Re-enable CYCLES and OpenEXR since they work for MInGW. IMPORTANT: Only use the latest MinGW to compile blender.

7 years agoOSX/gcc-4.6, fix for typedef uin64_t
Jens Verwiebe [Sat, 24 Dec 2011 08:03:43 +0000 (08:03 +0000)]
OSX/gcc-4.6, fix for typedef uin64_t

7 years agoupdate bpy_extras.view3d_utils for matrix changes
Campbell Barton [Sat, 24 Dec 2011 07:11:40 +0000 (07:11 +0000)]
update bpy_extras.view3d_utils for matrix changes

AFAIK all trunk scripts are now updated for changes to matrix row/col.

7 years agomathtils, convenience attributes added 'row' and 'col', this makes the row/col swap...
Campbell Barton [Sat, 24 Dec 2011 07:03:19 +0000 (07:03 +0000)]
mathtils, convenience attributes added 'row' and 'col', this makes the row/col swap a lot easier to deal with, since
 now you can still use column access

previously...
  mat[2] = 1, 2, 3

needed to be converted into...
  mat[0][2] = 1
  mat[1][2] = 2
  mat[2][2] = 3

but with column access you can do...
  mat.col[2] = 1, 2, 3

Having 'row' attribute is a bit redundant since direct indexing on a matrix uses row but included for completeness.

7 years agofix for error with matrix access and negative indices with recent row/col swap.
Campbell Barton [Sat, 24 Dec 2011 06:13:58 +0000 (06:13 +0000)]
fix for error with matrix access and negative indices with recent row/col swap.

7 years agomathutils get/set function rename + minor changes to matrix functions (no functional...
Campbell Barton [Sat, 24 Dec 2011 04:58:01 +0000 (04:58 +0000)]
mathutils get/set function rename + minor changes to matrix functions (no functional changes)

7 years agoreplace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.
Campbell Barton [Sat, 24 Dec 2011 03:03:42 +0000 (03:03 +0000)]
replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.

7 years agominor edits to cycles c/python module
Campbell Barton [Sat, 24 Dec 2011 02:47:13 +0000 (02:47 +0000)]
minor edits to cycles c/python module

- rename 'bcycles' --> '_cycles', since this is the python convention when a py module uses a C module internally.
- use macros for returning None
- make with_osl an attribute rather then a function.
- changes methods METH_VARARGS --> METH_O when single args are used.

7 years agoformatting edits 120 line length
Campbell Barton [Sat, 24 Dec 2011 02:37:42 +0000 (02:37 +0000)]
formatting edits 120 line length

7 years agoFormatting edits <120 length lines
Campbell Barton [Sat, 24 Dec 2011 02:32:08 +0000 (02:32 +0000)]
Formatting edits <120 length lines

7 years agoBugfix for [#29684] Output video presets messed up
Thomas Dinges [Fri, 23 Dec 2011 22:07:34 +0000 (22:07 +0000)]
Bugfix for [#29684] Output video presets messed up
* This was caused ny the ImageType refactor.
* Problem persisted with Quicktime too, could not test that, but should fix presets there too.

7 years agochange customdata mask from an 'unsigned int' to an 'u_int64_t', since BMesh branch...
Campbell Barton [Fri, 23 Dec 2011 20:30:23 +0000 (20:30 +0000)]
change customdata mask from an 'unsigned int' to an 'u_int64_t', since BMesh branch has run out of bits

7 years agofix [#29683] OpenEXR Output Appears to be broken
Campbell Barton [Fri, 23 Dec 2011 20:26:37 +0000 (20:26 +0000)]
fix [#29683] OpenEXR Output Appears to be broken

own error with moving image settings.

7 years agoUI: small further tweak to last region expand/collapse fix, when moving the
Brecht Van Lommel [Fri, 23 Dec 2011 13:53:21 +0000 (13:53 +0000)]
UI: small further tweak to last region expand/collapse fix, when moving the
operator redo panel up now it no longer hides the region, just stops it at
max size.

7 years agoFix test key conflict operator error, due to missing scripts window.
Brecht Van Lommel [Fri, 23 Dec 2011 13:53:09 +0000 (13:53 +0000)]
Fix test key conflict operator error, due to missing scripts window.

7 years agoMoving back sr locales to sr_RS (else, with recent changes (42830), loading sr was...
Bastien Montagne [Fri, 23 Dec 2011 13:36:07 +0000 (13:36 +0000)]
Moving back sr locales to sr_RS (else, with recent changes (42830), loading sr was no more working). My mistake, using only sr wasn't useful here (unlike spanish, we only have one version of serbian, in cyrilic and latin forms...)!

7 years agoFix #29652: operator tab can not be maximised
Sergey Sharybin [Fri, 23 Dec 2011 12:56:48 +0000 (12:56 +0000)]
Fix #29652: operator tab can not be maximised

Clamp region's size on expand to max allowed size, so it wouldn't
be automatically hidden just after expand.

7 years agosvn merge ^/trunk/blender -r42778:42839
Campbell Barton [Fri, 23 Dec 2011 08:41:53 +0000 (08:41 +0000)]
svn merge ^/trunk/blender -r42778:42839

7 years agogive errors when using unsupported configurations with mingw`
Campbell Barton [Fri, 23 Dec 2011 07:37:51 +0000 (07:37 +0000)]
give errors when using unsupported configurations with mingw`

7 years agoCleaning up the GPU_extensions_init/exit() code a bit to keep the Blenderplayer from...
Mitchell Stokes [Fri, 23 Dec 2011 07:10:01 +0000 (07:10 +0000)]
Cleaning up the GPU_extensions_init/exit() code a bit to keep the Blenderplayer from crashing on exit and restart.

7 years agofix for own mistake [#29031] Importing BGL Can Crash the BGE and Blender
Campbell Barton [Fri, 23 Dec 2011 05:42:06 +0000 (05:42 +0000)]
fix for own mistake [#29031] Importing BGL Can Crash the BGE and Blender

was adding the Buffer type to the module without increffing

7 years agoadd DNA support for int64_t. nothing uses this currently.
Campbell Barton [Fri, 23 Dec 2011 04:40:07 +0000 (04:40 +0000)]
add DNA support for int64_t. nothing uses this currently.

7 years agorecent matrix row/col swap broke matrix assignment in the BGE, fix provided by Andrew...
Campbell Barton [Fri, 23 Dec 2011 00:51:54 +0000 (00:51 +0000)]
recent matrix row/col swap broke matrix assignment in the BGE, fix provided by Andrew Hale

7 years agoDNA genfile - de-duplicate some checks and replace magic type numbers with an enum
Campbell Barton [Thu, 22 Dec 2011 23:18:43 +0000 (23:18 +0000)]
DNA genfile - de-duplicate some checks and replace magic type numbers with an enum

7 years agoAnother Fix after Cucumber Merge:
Thomas Dinges [Thu, 22 Dec 2011 22:34:23 +0000 (22:34 +0000)]
Another Fix after Cucumber Merge:
* Cycles did not displayed the Scene panels anymore, due to addition of COMPAT_ENGINE to them.

7 years agoupdate the api changelog 2.60 --> 2.61
Campbell Barton [Thu, 22 Dec 2011 21:44:52 +0000 (21:44 +0000)]
update the api changelog 2.60 --> 2.61

7 years agoCode cleanup: fix some clang static checker warnings.
Brecht Van Lommel [Thu, 22 Dec 2011 20:29:44 +0000 (20:29 +0000)]
Code cleanup: fix some clang static checker warnings.

7 years agoFix #29494: Problem loading translations at Blender's startup
Sergey Sharybin [Thu, 22 Dec 2011 19:09:21 +0000 (19:09 +0000)]
Fix #29494: Problem loading translations at Blender's startup

Problem was caused by trying to set locale to short named "es" locale
which failed. It's not really obvious which full locale name should
be used here (there are plenty of dialects), so rather than keeping
locale stuff on state when both of locale and utf-8 locale names
failed, restore default settings (restore environment variables and
use default locale for gettext).

This will resolve cases when spanish language is native on the system,
but it will fail in cases when somebody will want to have spanish
interface in non-spanish system. This might be worked around by setting
LANG and LANGUAGE environment variables to es_<dialect>.UTF-8 and it
should work fine,

7 years agoTranslation context for RNA properties
Sergey Sharybin [Thu, 22 Dec 2011 18:25:59 +0000 (18:25 +0000)]
Translation context for RNA properties

This commit implements a way to define context of property which is used by
localization stuff and which is needed to resolve translation context when
some word wit the same english spelling is used in different meanings
(like Manual in meaning of tutorial, and Manual in meaning of something is
setting up by hand).

To define property's context there's a function RNA_def_property_translation_context.
If property doesn't have context, regular BLF_gettext function is used to get
translation of property name, otherwise BLF_pgettext is used for this.

Hence, for correct translation, messages in .po files should be marked
by "msgctxt" context, otherwise property with context declared wouldn't
be translated at all. Toolchain scripts from bf-translation project
would be updated soon.

If context for some values of enumerator property, property itself should
be moved to other context and all items from this enum would be moved to
this context automatically (it's impossible to move one few items to
another context).

P.S. Think context like "BRUSH" or "MODIFIER" are preferable than "NOUN" and "VERB"
     because in some cases the same english noun used in different areas better be
 translated differently to make translation more native.

7 years agoFix/workaround for russian ui crash on exit
Sergey Sharybin [Thu, 22 Dec 2011 16:00:34 +0000 (16:00 +0000)]
Fix/workaround for russian ui crash on exit

Crash was caused by data segment corruption near "string" in view3d_modeselect_pup().
Enlarged size of this static buffer, so it's now enough to store translated modeselect string.

It's not actually fixes because in some other language this modeline might be much longer
and it'll lead to corruptions again.

7 years agoSome small perf tweaks to weightvg proximity: do not use indices in case all vertices...
Bastien Montagne [Thu, 22 Dec 2011 14:04:25 +0000 (14:04 +0000)]
Some small perf tweaks to weightvg proximity: do not use indices in case all vertices are affected...

7 years agoupdate axis conversion for recent matrix changes
Campbell Barton [Thu, 22 Dec 2011 11:06:41 +0000 (11:06 +0000)]
update axis conversion for recent matrix changes

7 years agofix for matrix assignment with recent changes which broke for eg:
Campbell Barton [Thu, 22 Dec 2011 08:44:08 +0000 (08:44 +0000)]
fix for matrix assignment with recent changes which broke for eg:
  ob.matrix_world = matrix

7 years agoremove commented index drawing code (now its a debug option), and remove code in...
Campbell Barton [Thu, 22 Dec 2011 05:52:31 +0000 (05:52 +0000)]
remove commented index drawing code (now its a debug option), and remove code in editmesh stat drawing which was left over from when text drawing was immediate rather then cached.

7 years agopatch [#29673] Visualize Indices (developer aid)
Campbell Barton [Thu, 22 Dec 2011 05:39:23 +0000 (05:39 +0000)]
patch [#29673] Visualize Indices (developer aid)
by Howard Trickey (howardt)

7 years agopicky edits - use "" for non enum strings.
Campbell Barton [Thu, 22 Dec 2011 03:56:21 +0000 (03:56 +0000)]
picky edits - use "" for non enum strings.

7 years agopatch [#29534] Change Matrix Representation and Access in Python to Conform with...
Campbell Barton [Thu, 22 Dec 2011 01:05:03 +0000 (01:05 +0000)]
patch [#29534] Change Matrix Representation and Access in Python to Conform with Standard Notation
from Andrew Hale

Scripts which access matrix row/columns directly and scripts that create new matrices with elements defined will need updating.

For more info see...

* Guide for updating scripts
  http://wiki.blender.org/index.php/User:TrumanBlending/Matrix_Indexing

* Discussion thread
  http://markmail.org/message/4bpqpxkcvq4wjyfu

7 years agosplit >120 length lines (mostly if statements)
Campbell Barton [Thu, 22 Dec 2011 00:03:20 +0000 (00:03 +0000)]
split >120 length lines (mostly if statements)

7 years agopatch [#29676] ALPHA OVER: Fix associated alpha over situation to fix [#29675] patch...
Dalai Felinto [Wed, 21 Dec 2011 23:59:57 +0000 (23:59 +0000)]
patch [#29676] ALPHA OVER: Fix associated alpha over situation to fix [#29675] patch by Troy Sobotka
note: if alpha is negative the code will still produce non-optimal results.
This is a separate issue though, the patch fix the premul assumption that
alpha can be zero and rgb still be valid.

7 years agoMatrix.translation wrapper vector, continent accessing to matrix[3][0:3].
Campbell Barton [Wed, 21 Dec 2011 23:12:16 +0000 (23:12 +0000)]
Matrix.translation wrapper vector, continent accessing to matrix[3][0:3].

this is a part of patch 29534, being applied separately

from patch [#29534] Change Matrix Representation and Access in Python to Conform with Standard Notation
by Andrew Hale (trumanblending)

7 years agosplit some >120 lines, no functional changes
Campbell Barton [Wed, 21 Dec 2011 22:56:06 +0000 (22:56 +0000)]
split some >120 lines, no functional changes

7 years ago== Sculpt ==
Nicholas Bishop [Wed, 21 Dec 2011 22:23:39 +0000 (22:23 +0000)]
== Sculpt ==

Reformatted all lines longer than 120 characters in sculpt.c. Should
be no functional changes. Thanks to Campbell for pointing out the
issue.

I wouldn't normally do this, but just for reference, here is a
screenshot that hopefully makes clear why I think this is worth doing:
nicholasbishop.net/random/longlines00.png

7 years agofix for use of uninitialized value for ipo conversion.
Campbell Barton [Wed, 21 Dec 2011 21:40:21 +0000 (21:40 +0000)]
fix for use of uninitialized value for ipo conversion.

7 years agocleanup and some fixes to mathutils by Andrew Hale
Campbell Barton [Wed, 21 Dec 2011 21:21:27 +0000 (21:21 +0000)]
cleanup and some fixes to mathutils by Andrew Hale
* 1. Resize 4x4, code was ridiculously complex (cleanup only)
* 2. matrix * matrix checking for compatibility wasn't working right (bug in last release)
* 3. fix for result size for matrix * vector if matrix is 4x4 and vector size 3 (bug in recent patch)
* 4. fix for result size vector * matrix if matrix is 4x4 and vector size 3 (bug in recent patch)

7 years agopatch [#29667] Fix for potential memory corruption in path_util.c
Campbell Barton [Wed, 21 Dec 2011 20:56:49 +0000 (20:56 +0000)]
patch [#29667] Fix for potential memory corruption in path_util.c
from Andrew Wiggin (ender79)

7 years agoCycles: support for multiple render layers. It currently renders each layer
Brecht Van Lommel [Wed, 21 Dec 2011 20:51:55 +0000 (20:51 +0000)]
Cycles: support for multiple render layers. It currently renders each layer
entirely before moving on to the next.

7 years agoCycles: code refactoring, to do render layer visibility test a bit different,
Brecht Van Lommel [Wed, 21 Dec 2011 20:51:43 +0000 (20:51 +0000)]
Cycles: code refactoring, to do render layer visibility test a bit different,
replacing the camera visibility flag with object layer flags.

7 years agoSVN maintenance.
Guillermo S. Romero [Wed, 21 Dec 2011 20:32:29 +0000 (20:32 +0000)]
SVN maintenance.

7 years agoA few small fixes to new UI messages...
Bastien Montagne [Wed, 21 Dec 2011 18:18:36 +0000 (18:18 +0000)]
A few small fixes to new UI messages...

7 years agoFix linux linking issue with md5 commit.
Brecht Van Lommel [Wed, 21 Dec 2011 14:35:48 +0000 (14:35 +0000)]
Fix linux linking issue with md5 commit.

7 years agoFix #29670: color picker draw issues with RGB values out of soft range.
Brecht Van Lommel [Wed, 21 Dec 2011 13:49:22 +0000 (13:49 +0000)]
Fix #29670: color picker draw issues with RGB values out of soft range.

7 years agoCode refactoring: move MD5 out of imbuf into blenlib.
Brecht Van Lommel [Wed, 21 Dec 2011 13:48:51 +0000 (13:48 +0000)]
Code refactoring: move MD5 out of imbuf into blenlib.

7 years agoCycles: some small code refactoring related to buffer parameters.
Brecht Van Lommel [Wed, 21 Dec 2011 13:48:35 +0000 (13:48 +0000)]
Cycles: some small code refactoring related to buffer parameters.

7 years agoDo not show "Modify" modifiers group for curve objects
Sergey Sharybin [Wed, 21 Dec 2011 13:31:28 +0000 (13:31 +0000)]
Do not show "Modify" modifiers group for curve objects

This commit prevents adding empty groups to Add Modifier menu making
this menu small and nice for objects which don't support all modifiers
from some group (like Curves don't support Modify modifiers).

7 years agoSmall i18n edits:
Bastien Montagne [Wed, 21 Dec 2011 11:56:42 +0000 (11:56 +0000)]
Small i18n edits:
* Added serbian_latin locale (sr@latin).
* Changed serbian UI to  "Serbian (Српски)" (as requested by Nikola Radovanovic, serbian translator).
* Reordered languages in menu in alphabetical order!

7 years agofix for mathutils mat*vec for non sqyare matrices by Andrew Hale
Campbell Barton [Wed, 21 Dec 2011 11:36:28 +0000 (11:36 +0000)]
fix for mathutils mat*vec for non sqyare matrices by Andrew Hale