10 years agoMerged changes in the trunk up to revision 41768.
Tamito Kajiyama [Sat, 12 Nov 2011 23:12:30 +0000 (23:12 +0000)]
Merged changes in the trunk up to revision 41768.

Conflicts resolved:

Additional changes:

* source/blender/makesrna/intern/rna_linestyle.c: Fixed white
space issues that generated a number of compiler errors.  The
problem was that two string literals for enumerating MA_RAMP_SOFT
and MA_RAMP_LINEAR contained a space.  The string literals are
supposed to represent a valid C identifier because of their use
for automatic code generation.

* Stroke transparency has been temporarily disabled due to a
functionality conflict with some merged changes.  A fix of this
issue is planned.

10 years agoFix for the view map construction not taking account of face marks.
Tamito Kajiyama [Sat, 12 Nov 2011 19:08:16 +0000 (19:08 +0000)]
Fix for the view map construction not taking account of face marks.

10 years agoCycles:
Brecht Van Lommel [Sat, 12 Nov 2011 14:29:52 +0000 (14:29 +0000)]
* Fix object scaling update issue with interactive rendering + static BVH.
* Fix negative scaling issue with static BVH.
* Fix #29217: excessive fireflies in first sample.

10 years agomathutils.geometry.distance_point_to_plane(pt, plane_co, plane_no) - utility function...
Campbell Barton [Sat, 12 Nov 2011 10:06:56 +0000 (10:06 +0000)]
mathutils.geometry.distance_point_to_plane(pt, plane_co, plane_no) - utility function, BLI math version too.

10 years agoFix for the Perlin Noise 1D geometry modifier having a noise frequency
Tamito Kajiyama [Sat, 12 Nov 2011 09:02:24 +0000 (09:02 +0000)]
Fix for the Perlin Noise 1D geometry modifier having a noise frequency
relative to the stroke length (i.e., the number of noise displacement
values was the same for strokes of different lengths).  This resulted
in very noisy short strokes and much less noisy long strokes.  Now the
noise frequency is relative to the distance from the starting point of
a stroke.  That is, two strokes of the same length will be distorted
by the same number of noise displacement values, whereas longer strokes
will have more noise displacement values along stroke.

Problem report by JO5EF through the BA Freestyle thread, thank you!

10 years agoBugfix [#29212] Select before/after current frame deselects all channels in
Joshua Leung [Sat, 12 Nov 2011 05:00:24 +0000 (05:00 +0000)]
Bugfix [#29212] Select before/after current frame deselects all channels in
graph editor

No need to deselect all channels when doing the select left/right operator,
since we don't replace the selection afterwards with anything useful. This would
be a problem when the "Only Show Selected" option is enabled (as it is by
default), as this results in the curves being worked on disappearing from view.

F-Curves though will still get deselected as a result of the code to deselect
keyframes. Will need to review whether this is still a good idea (original
intention was so that only curves with keyframes selected would remain

10 years agoBugfix [#29125] Motion paths odd behaviour
Joshua Leung [Sat, 12 Nov 2011 04:40:53 +0000 (04:40 +0000)]
Bugfix [#29125] Motion paths odd behaviour

* Made it impossible to try to calculate/create new motion paths lasting 0
frames (i.e. 250 to 250) since we cannot allocate a zero-length array for these.
Start frame can now be at most end-frame - 1, and end frame at least start frame
+ 1

* If an invalid configuration does occur, warnings/reports will now be issued in
response to this instead of silently failing (as per this bugreport).

10 years agoHack-fix for crash-by-assertion on mingw builds on startup if the CUDA driver on
Joshua Leung [Sat, 12 Nov 2011 03:59:45 +0000 (03:59 +0000)]
Hack-fix for crash-by-assertion on mingw builds on startup if the CUDA driver on
the computer is too old (and probably can't be upgraded to a version that does)
to support the cuDriverGetVersion method.

10 years agoCycles: more linux build system tweaks, attempting to avoid using boost
Brecht Van Lommel [Fri, 11 Nov 2011 20:57:00 +0000 (20:57 +0000)]
Cycles: more linux build system tweaks, attempting to avoid using boost
system libraries by default if we have a lib/ directory.

10 years agoAdded to the Parameter Editor mode new stroke geometry modifier `Blueprint'
Tamito Kajiyama [Fri, 11 Nov 2011 20:35:03 +0000 (20:35 +0000)]
Added to the Parameter Editor mode new stroke geometry modifier `Blueprint'
that produces a blueprint using circular, elliptic, and square contour strokes.
Related changes and bug fixes were made as follows:

* The randomness in radius and center has been transformed into optional
parameters of the pyBluePrintCirclesShader and pyBluePrintEllipsesShader.
Also a new optional parameter to control the randomness of backbone
stretching has been added to the pyBluePrintSquaresShader.

* A bug in the pyBluePrintSquaresShader that invisible stroke vertices at
corners of rectangular contour strokes were not properly drawn.  The problem
was due to the changes of the / operator between Python 2.x to 3.x.  Even
when the two operands of the division operator are integers, Python 3.x
gives a floating-point number when the quotient is not an integer.  The fix
was just to replace the / operator by the // operator for integer division.

* An unpleasant discontinuity in circular and elliptical contour strokes
was fixed.

* The length parameter of the Backbone Stretcher geometry modifier has been
renamed to `backbone_length' in line with the parameter of the same name in
the pyBluePrintSquaresShader.

10 years agoCycles: fix wrong openimageio path for lib/ directory.
Brecht Van Lommel [Fri, 11 Nov 2011 19:20:52 +0000 (19:20 +0000)]
Cycles: fix wrong openimageio path for lib/ directory.

10 years agoFix #29207: cancelling volume precache at high resolution was too slow, added
Brecht Van Lommel [Fri, 11 Nov 2011 16:01:13 +0000 (16:01 +0000)]
Fix #29207: cancelling volume precache at high resolution was too slow, added
more test_break calls.

10 years agoCMake/Scons: automatically use ffmpeg, boost and openimageio from the svn lib/
Brecht Van Lommel [Fri, 11 Nov 2011 14:52:24 +0000 (14:52 +0000)]
CMake/Scons: automatically use ffmpeg, boost and openimageio from the svn lib/
directory if available, which should make building with ffmpeg and cycles easier.

If this folder is not available or another path is specified in
or CMakeCache.txt, this should have no effect. Wiki build instructions now show
how to use these.

10 years agocorrect indentation and some whitespace edits (no functional changes)
Campbell Barton [Fri, 11 Nov 2011 13:09:14 +0000 (13:09 +0000)]
correct indentation and some whitespace edits (no functional changes)

10 years agoquiet -Wdouble-promotion warnings
Campbell Barton [Fri, 11 Nov 2011 12:00:08 +0000 (12:00 +0000)]
quiet -Wdouble-promotion warnings

10 years agoFix #29220 & #29221: missing cycles updates when switching scenes.
Brecht Van Lommel [Fri, 11 Nov 2011 11:42:29 +0000 (11:42 +0000)]
Fix #29220 & #29221: missing cycles updates when switching scenes.

10 years agoDynamic Paint:
Miika Hamalainen [Fri, 11 Nov 2011 10:46:26 +0000 (10:46 +0000)]
Dynamic Paint:
* Renamed "Sharp" proximity falloff to "Constant".
* Added a new "Negate Volume" option for "Volume + Proximity" brush.
* Possible fix for random particle clipping errors.

10 years agofix [#29203] Camera can still move even when transforms locked
Campbell Barton [Fri, 11 Nov 2011 05:34:07 +0000 (05:34 +0000)]
fix [#29203] Camera can still move even when transforms locked

added object_tfm_protected_backup, object_tfm_protected_restore so its easier to transform the object and respect protected channels (otherwise you need checks everywhere for each channel which is verbose).

10 years agopep/style edits & quiet some warnings
Campbell Barton [Fri, 11 Nov 2011 03:28:46 +0000 (03:28 +0000)]
pep/style edits & quiet some warnings

10 years agoBugfix [#29210] ChildOf constraint Set Inverse
Joshua Leung [Fri, 11 Nov 2011 00:44:48 +0000 (00:44 +0000)]
Bugfix [#29210] ChildOf constraint Set Inverse

For Objects, Set Inverse was unreliable as the constraint didn't get reset
properly before being calculated

10 years agoDynamic Paint UI:
Thomas Dinges [Thu, 10 Nov 2011 20:31:50 +0000 (20:31 +0000)]
Dynamic Paint UI:
* Code cleanup, changed some splits to row's, much nicer when you only use 2 properties in a row.
* if > elif
* Removed some duplicated code for an if/elif/else check

Did some minor separator() changes too.

10 years ago2.6 Physics UI Files:
Thomas Dinges [Thu, 10 Nov 2011 19:10:23 +0000 (19:10 +0000)]
2.6 Physics UI Files:
* Remove redundant check for md, this is already done in the super class poll.

10 years agoSVN maintenance.
Guillermo S. Romero [Thu, 10 Nov 2011 17:43:37 +0000 (17:43 +0000)]
SVN maintenance.

10 years agoMark unused variable.
Sergey Sharybin [Thu, 10 Nov 2011 17:19:12 +0000 (17:19 +0000)]
Mark unused variable.

10 years agoCycles: fix missing particle panels and show emitter option not being respected.
Brecht Van Lommel [Thu, 10 Nov 2011 16:02:46 +0000 (16:02 +0000)]
Cycles: fix missing particle panels and show emitter option not being respected.

10 years agoCycles: attempt to fix build issue with mingw.
Brecht Van Lommel [Thu, 10 Nov 2011 14:53:56 +0000 (14:53 +0000)]
Cycles: attempt to fix build issue with mingw.

10 years agoCycles:
Brecht Van Lommel [Thu, 10 Nov 2011 14:32:16 +0000 (14:32 +0000)]
* Fix excessive fireflies in Velvet BSDF (patch by David).
* Disable some unused SSE code
* Remove RTTI disabling flags for now, this is giving some compile issues and
  was only needed of OSL which we're not using yet.

10 years agoCycles: attempted fix for error building with sse/mtune optimization flags.
Brecht Van Lommel [Thu, 10 Nov 2011 14:13:32 +0000 (14:13 +0000)]
Cycles: attempted fix for error building with sse/mtune optimization flags.

10 years agoCycles: fix crash in image assign/remove in image editor.
Brecht Van Lommel [Thu, 10 Nov 2011 13:39:25 +0000 (13:39 +0000)]
Cycles: fix crash in image assign/remove in image editor.

10 years agoNodes: fix crash loading old files that have node sockets changed, the version
Brecht Van Lommel [Thu, 10 Nov 2011 13:38:55 +0000 (13:38 +0000)]
Nodes: fix crash loading old files that have node sockets changed, the version
patch for the default value storage needs to be done before lib linking,
otherwise this can crash. Fixes problem opening some old cycles files.

10 years agoFix [#29214] build modifier calculates wrong fraction of faces/verts/edges to draw
Andrew Wiggin [Thu, 10 Nov 2011 13:28:58 +0000 (13:28 +0000)]
Fix [#29214] build modifier calculates wrong fraction of faces/verts/edges to draw

10 years agoCycles: when material/world/lamp doesn't use nodes, show color in the UI.
Brecht Van Lommel [Thu, 10 Nov 2011 13:00:53 +0000 (13:00 +0000)]
Cycles: when material/world/lamp doesn't use nodes, show color in the UI.

10 years agoDynamic Paint:
Miika Hamalainen [Thu, 10 Nov 2011 13:00:27 +0000 (13:00 +0000)]
Dynamic Paint:
* Added BKE_dynamicpaint.h to CMake list.
* Changed some unsigned integers back to signed, as OpenMP can't iterate unsigned values anyway.
* Fixed more warnings.

10 years agoCycles: many of the new nodes were not showing properties/buttons in nodes in
Brecht Van Lommel [Thu, 10 Nov 2011 12:53:40 +0000 (12:53 +0000)]
Cycles: many of the new nodes were not showing properties/buttons in nodes in
the node editor.

10 years agoCycles:
Brecht Van Lommel [Thu, 10 Nov 2011 12:52:17 +0000 (12:52 +0000)]
* Add back option to bundle CUDA kernel binaries with builds.
* Disable runtime CUDA kernel compilation on Windows, couldn't get this working,
  since it seems to depend on visual studio being installed, even though for
  this particular case it shouldn't be needed. CMake only at the moment.
* Runtime compilation on linux/mac should now work if nvcc is not installed in
  the default location, but available in PATH.

10 years agoquiet some warnings from recent merge
Campbell Barton [Thu, 10 Nov 2011 12:28:26 +0000 (12:28 +0000)]
quiet some warnings from recent merge

10 years agoFixed possible issue drawing undistorted clip in clip editor.
Sergey Sharybin [Thu, 10 Nov 2011 12:15:09 +0000 (12:15 +0000)]
Fixed possible issue drawing undistorted clip in clip editor.
Check for marker's visibility was a bit odd.

10 years agoRestored GPL header of NOD_composite.h (funny s&r ?!?).
Bastien Montagne [Thu, 10 Nov 2011 11:33:57 +0000 (11:33 +0000)]
Restored GPL header of NOD_composite.h (funny s&r ?!?).

10 years agoWhitespace tweaks
Joshua Leung [Thu, 10 Nov 2011 10:34:26 +0000 (10:34 +0000)]
Whitespace tweaks

10 years agoDynamic Paint merge:
Miika Hamalainen [Thu, 10 Nov 2011 10:24:34 +0000 (10:24 +0000)]
Dynamic Paint merge:
Commit Dynamic Paint from "soc-2011-carrot" branch into trunk.

End-user documentation:

GSoC wiki page:

10 years agoWorkaround #29205: Crash while using Edge Split modifier (while rotating vertices...
Sergey Sharybin [Thu, 10 Nov 2011 08:29:22 +0000 (08:29 +0000)]
Workaround #29205: Crash while using Edge Split modifier (while rotating vertices in edit mode with edge split viewable)

This bug is caused by exactly the same reason as #26316: differences in how new vertices/edges
are getting calculated first and how they're adding later. In some cases extra vertices are
creating which weren't counted before.

This patch prevents crash in such situations, but result mesh can be a bit wrong.
This should work fine in bmesh, so think it's acceptable to have such workaround
before actual fix coming with bmesh.

10 years ago- possible fix for vertex paint 'fill' crash.
Campbell Barton [Thu, 10 Nov 2011 06:06:35 +0000 (06:06 +0000)]
- possible fix for vertex paint 'fill' crash.
- remove unneeded call to defvert_find_index() when weight painting.

10 years agoadd some missing headers to cmake, also add some files as comments since it seems...
Campbell Barton [Thu, 10 Nov 2011 06:05:22 +0000 (06:05 +0000)]
add some missing headers to cmake, also add some files as comments since it seems they should be added but evidently work fine without.

10 years agoquiet warning
Campbell Barton [Thu, 10 Nov 2011 04:03:08 +0000 (04:03 +0000)]
quiet warning

10 years agopresets now work from non-redo popups,
Campbell Barton [Thu, 10 Nov 2011 03:44:50 +0000 (03:44 +0000)]
presets now work from non-redo popups,

ended up having to add a new pointer into the uiBlock (which I'd rather have avoided), but setting the uiLayoutSetContextPointer(..) was complicated to properly use for submenus and popus.

10 years agoWhile reviewing this part of the code for a Blender Proceedings article, I noticed...
Jason Hays [Thu, 10 Nov 2011 02:09:58 +0000 (02:09 +0000)]
While reviewing this part of the code for a Blender Proceedings article, I noticed that the lock enforcer was taking several improper steps to redistribute evenly with multi-paint.

Beforehand, a few problems were in view: some of the indexing was changed towards the end to use the more efficient stack structure, but needed to use the correct def group indices.

Also, the designated selected group would use its own value to acquire the standard to base change distributed to the others.

Lastly, the total_change was used rather than -left_overs in the formula to compute the new designated weight within the means of the locks' allowed changes.

Now, while maintaining the ratios of the selection, it correctly returns left over change that could not be redistributed to the unlocked groups.

10 years agoOne library from OpenEXR is needed for oiio. Hope buildbot is working fine now.
Sergey Sharybin [Wed, 9 Nov 2011 19:25:16 +0000 (19:25 +0000)]
One library from OpenEXR is needed for oiio. Hope buildbot is working fine now.

10 years agoDisable libmv for blenderplayer rules used by buildbot
Sergey Sharybin [Wed, 9 Nov 2011 19:04:17 +0000 (19:04 +0000)]
Disable libmv for blenderplayer rules used by buildbot

10 years ago- Added options to link staticly against oiio/boost
Sergey Sharybin [Wed, 9 Nov 2011 19:02:42 +0000 (19:02 +0000)]
- Added options to link staticly against oiio/boost
- Also changed buildbot settings so now linking should happe staticly

10 years agoFixes for MinGW cmake debug build:
Antony Riakiotakis [Wed, 9 Nov 2011 18:50:48 +0000 (18:50 +0000)]
Fixes for MinGW cmake debug build:

* OpenEXR doesn't need debug suffix
* Fix libmv template issue when linking by removing duplicate libmv inclusion. I wonder how this never turned up in release builds as well.

Important: Since OpenImageIO went into trunk, OpenEXR, possibly along with other image libraries will need to be turned on too because OIIO depends on them.

10 years agoFix ${} var usage. Was missing BF_OIIO and BF_BOOST init.
Nathan Letwory [Wed, 9 Nov 2011 17:22:55 +0000 (17:22 +0000)]
Fix ${} var usage. Was missing BF_OIIO and BF_BOOST init.

Noticed still missing: OSX file copying (cycles .py files, kernel files, licenses).

10 years agoEnable Cycles for buildbot
Sergey Sharybin [Wed, 9 Nov 2011 17:18:37 +0000 (17:18 +0000)]
Enable Cycles for buildbot

10 years agoMerge with trunk r41701 soc-2011-carrot
Miika Hamalainen [Wed, 9 Nov 2011 15:46:53 +0000 (15:46 +0000)]
Merge with trunk r41701

10 years agoFixed/restored translation of node classes (in foreach_nodeclass funcs)
Bastien Montagne [Wed, 9 Nov 2011 15:00:11 +0000 (15:00 +0000)]
Fixed/restored translation of node classes (in foreach_nodeclass funcs)

10 years agoMoving i18n code to BLF_translation.h
Bastien Montagne [Wed, 9 Nov 2011 14:13:17 +0000 (14:13 +0000)]
Moving i18n code to BLF_translation.h

This way, we will be able to use it in non-UI parts of the code too.

10 years agoNo tabs in scons! Sorry for that..
Antony Riakiotakis [Wed, 9 Nov 2011 14:00:24 +0000 (14:00 +0000)]
No tabs in scons! Sorry for that..

10 years agoCycles: mac + scons build should not work.
Brecht Van Lommel [Wed, 9 Nov 2011 11:49:39 +0000 (11:49 +0000)]
Cycles: mac + scons build should not work.

10 years agocorrect comment, no longer needed.
Antony Riakiotakis [Wed, 9 Nov 2011 11:38:04 +0000 (11:38 +0000)]
correct comment, no longer needed.

10 years agoMake scons work MinGW. This commit resolves several issues such as enable OpenEXR...
Antony Riakiotakis [Wed, 9 Nov 2011 11:33:10 +0000 (11:33 +0000)]
Make scons work MinGW. This commit resolves several issues such as enable OpenEXR, Game Engine and Player, enable latest features, and solve link order for gcc. So MinGW is right now fully supported as a build system for release type builds. Debug builds not tested.

10 years agominor: Moved italian and russian translations to "nearly done" menu part.
Bastien Montagne [Wed, 9 Nov 2011 10:04:36 +0000 (10:04 +0000)]
minor: Moved italian and russian translations to "nearly done" menu part.

10 years agoMoving version-patches for theme/userpref setting changes as result of
Joshua Leung [Wed, 9 Nov 2011 03:38:36 +0000 (03:38 +0000)]
Moving version-patches for theme/userpref setting changes as result of
GSoC11-Pepper changes forward to the version patch in place for Cycles +

It turns out that the original version patches introduced for these settings
were being done for the wrong version, and hence did not show in trunk as they
should have (2.59 came out before the branch was merged, so this kindof slipped
under the radar). The affected settings were:
- default handle-type (which was supposed to be "auto-clamped" but was "auto" in
- theme settings for these handle colours

10 years agominor: some fixes and tweaks in new messages, found while translating them in french...
Bastien Montagne [Tue, 8 Nov 2011 23:27:31 +0000 (23:27 +0000)]
minor: some fixes and tweaks in new messages, found while translating them in french...

10 years agoCycles: fix light strength mistmatch when clicking "use nodes".
Brecht Van Lommel [Tue, 8 Nov 2011 22:38:10 +0000 (22:38 +0000)]
Cycles: fix light strength mistmatch when clicking "use nodes".

Regarding merge status, there should be no build failures, but cycles may not
be enabled in your build, we are still solving:

* Windows: CUDA kernel compile at runtime is failing, probably will have to
  do precompiled kernel again.
* Mac: scons is not building cycles yet.
* Linux doesn't have boost + openimageio libs available in lib/ yet, so it
  requires manual install of those libs still.

10 years agoCycles:
Thomas Dinges [Tue, 8 Nov 2011 21:46:31 +0000 (21:46 +0000)]
* Scons: Disable Cycles per default on Linux/Mac for now until compile issues have been sorted out.

10 years agoCycles: cmake tweaks for linux build, instructions on the wiki no longer worked.
Brecht Van Lommel [Tue, 8 Nov 2011 21:40:08 +0000 (21:40 +0000)]
Cycles: cmake tweaks for linux build, instructions on the wiki no longer worked.

10 years agoScons:
Thomas Dinges [Tue, 8 Nov 2011 21:17:42 +0000 (21:17 +0000)]
* Fixing x64 compile with Cycles.

10 years agoBuild system fixes:
Thomas Dinges [Tue, 8 Nov 2011 20:56:55 +0000 (20:56 +0000)]
Build system fixes:
* Fixed Boost libs names after upgrade to 1.47
* Remove old reference to space_sound from cmake.

10 years agoAdd compiles support for Cycles.
Nathan Letwory [Tue, 8 Nov 2011 20:40:02 +0000 (20:40 +0000)]
Add compiles support for Cycles.

No CUDA compiling yet, will be added later.

10 years agoedits to cycles cmake files so can parse them.
Campbell Barton [Tue, 8 Nov 2011 20:27:37 +0000 (20:27 +0000)]
edits to cycles cmake files so can parse them.

10 years agodon't overwrite existing CMAKE_CXX_FLAGS for cycles (they may be important)
Campbell Barton [Tue, 8 Nov 2011 19:08:56 +0000 (19:08 +0000)]
don't overwrite existing CMAKE_CXX_FLAGS for cycles (they may be important)

10 years agoRemove redundant .remove()
Nathan Letwory [Tue, 8 Nov 2011 19:04:19 +0000 (19:04 +0000)]
Remove redundant .remove()

10 years agoFix GLEW linking error on MinGW.
Antony Riakiotakis [Tue, 8 Nov 2011 18:58:29 +0000 (18:58 +0000)]
Fix GLEW linking error on MinGW.
The __imp__ prefix on glew lib linking errors should have been a good indication: the code was looking for the glew dll.
Bypassed by adding GLEW_STATIC to the definitions.

10 years agoCycles: fix crash loading existing files, forgot to merge over this line.
Brecht Van Lommel [Tue, 8 Nov 2011 18:49:12 +0000 (18:49 +0000)]
Cycles: fix crash loading existing files, forgot to merge over this line.

10 years agoquiet warning
Campbell Barton [Tue, 8 Nov 2011 18:23:23 +0000 (18:23 +0000)]
quiet warning

10 years agostop cmake from overwriting BOOST_ROOT and OPENIMAGEIO_ROOT_DIR which the builder...
Campbell Barton [Tue, 8 Nov 2011 18:15:53 +0000 (18:15 +0000)]
stop cmake from overwriting BOOST_ROOT and OPENIMAGEIO_ROOT_DIR which the builder is supposed to be able to set.

10 years agoCycles Merge:
Brecht Van Lommel [Tue, 8 Nov 2011 17:53:49 +0000 (17:53 +0000)]
Cycles Merge:
* It seems we have a problem compiling the CUDA kernel at runtime on Windows,
  will need to investigate more how to solve this best, CPU render should go
  fine though.
* Change OPENIMAGEIO to OPENIMAGEIO_ROOT_DIR on linux for consistency.

10 years agoUpdate MinGW to use correct lib location for boost
Antony Riakiotakis [Tue, 8 Nov 2011 17:19:14 +0000 (17:19 +0000)]
Update MinGW to use correct lib location for boost

10 years agoCycles Merge
Brecht Van Lommel [Tue, 8 Nov 2011 17:00:40 +0000 (17:00 +0000)]
Cycles Merge


Cycles is available is an extra render engine from the top header. It's not
feature complete, consider this as a first preview release. Known bugs:

Building currently only works with CMake, SCons support is being worked on
and should be available soon.

Also missing still is precompiled OpenImageIO and Boost for Linux, these will
be added later in lib/linux*, if you do not have these installed on your
system, Cycles will simply not be available.

10 years ago- operator presets now work in the 3D view as well as the file selector.
Campbell Barton [Tue, 8 Nov 2011 16:59:06 +0000 (16:59 +0000)]
- operator presets now work in the 3D view as well as the file selector.

to enable from python:
  bl_options = {'REGISTER', 'UNDO', 'PRESET'}

from C:

- added context member 'active_operator'
- enable this for 'Add Torus' for testing.

10 years agoFix compile after audaspace file source.remove..
Jens Verwiebe [Tue, 8 Nov 2011 16:53:59 +0000 (16:53 +0000)]
Fix compile after audaspace file source.remove..

10 years agoDon't compile AUD_JOSResampleReaderCoeff.cpp twice (it's included in AUD_JOSResampleR...
Sergey Sharybin [Tue, 8 Nov 2011 16:24:31 +0000 (16:24 +0000)]
Don't compile AUD_JOSResampleReaderCoeff.cpp twice (it's included in AUD_JOSResampleReader.cpp)

Patch from nico_ga, thanks!

10 years agoFix #29201: movie clip editor - right click crashes blender
Sergey Sharybin [Tue, 8 Nov 2011 16:09:20 +0000 (16:09 +0000)]
Fix #29201: movie clip editor - right click crashes blender

Just another not very smart check for "boundary" case of usecase.

10 years ago*Correct syntax for static, since we invoke g++ as linker and we have to pass it...
Antony Riakiotakis [Tue, 8 Nov 2011 16:03:28 +0000 (16:03 +0000)]
*Correct syntax for static, since we invoke g++ as linker and we have to pass it to ld.
*CMakefile: Update boost and OpenImageIO libraries for MinGW like in the cycles branch

10 years agoCorrect syntax for static, since we invoke g++ as linker and we have to pass it to ld cycles
Antony Riakiotakis [Tue, 8 Nov 2011 16:02:34 +0000 (16:02 +0000)]
Correct syntax for static, since we invoke g++ as linker and we have to pass it to ld

10 years agoFix #29198: Problem with text interface when you enable the International fonts
Sergey Sharybin [Tue, 8 Nov 2011 15:12:41 +0000 (15:12 +0000)]
Fix #29198: Problem with text interface when you enable the International fonts

Not sure why, but doing the same things as in script from FontForge UI, there's
no issues described in report. Probably matter of some default settings.
Hope it works now fine for everyone.

10 years ago- disable undo for user preferences (every click would do push an undo), was noticeab...
Campbell Barton [Tue, 8 Nov 2011 15:11:27 +0000 (15:11 +0000)]
- disable undo for user preferences (every click would do push an undo), was noticeable on large files.
- also netbeans project file generator now uses branch name for project.

10 years agoCycles now uses correct libs on MinGW
Antony Riakiotakis [Tue, 8 Nov 2011 14:47:03 +0000 (14:47 +0000)]
Cycles now uses correct libs on MinGW

10 years agoCycles:
Brecht Van Lommel [Tue, 8 Nov 2011 14:10:33 +0000 (14:10 +0000)]
* Disable precompiled cuda binaries, always do at run time
* Change preview samples default to 10
* Hide volume panels since they don't do anything yet

10 years agoAttempt to fix #29200: Camera Tracking Solver
Sergey Sharybin [Tue, 8 Nov 2011 14:03:16 +0000 (14:03 +0000)]
Attempt to fix #29200: Camera Tracking Solver

It was an mistake in join tracks operator which lead to reading unitialized memory.

10 years agoTexturing: texture and 3d view draw type changes, these should only have any
Brecht Van Lommel [Tue, 8 Nov 2011 13:07:16 +0000 (13:07 +0000)]
Texturing: texture and 3d view draw type changes, these should only have any
effect for a render engine using new shading nodes. In short:

* No longer uses images assigned to faces in the uv layer, rather the active
  image texture node is what is edited/painted/drawn.
* Textured draw type now shows the active image texture node, with solid
* Material draw mode shows GLSL shader of a simplified material node tree,
  using solid lighting.
* Textures for modifiers, brushes, etc, are now available from a dropdown in
  the texture tab in the properties editor. These do not use new shading nodes

10 years agoFix for last fix, guess this compiled ok because it's interpreted as a goto label.
Brecht Van Lommel [Tue, 8 Nov 2011 12:58:03 +0000 (12:58 +0000)]
Fix for last fix, guess this compiled ok because it's interpreted as a goto label.

10 years agoFix an issue with uninitialized memory
Jens Verwiebe [Tue, 8 Nov 2011 12:44:57 +0000 (12:44 +0000)]
Fix an issue with uninitialized memory

10 years agoCycles: svn merge -r41627:41650 ^/trunk/blender
Brecht Van Lommel [Tue, 8 Nov 2011 12:33:17 +0000 (12:33 +0000)]
Cycles: svn merge -r41627:41650 ^/trunk/blender

10 years agoNodes: add cycles shader nodes, these will only be available to render engines
Brecht Van Lommel [Tue, 8 Nov 2011 11:38:16 +0000 (11:38 +0000)]
Nodes: add cycles shader nodes, these will only be available to render engines
that use the new shading nodes system. Documentation:

10 years agoCode cleanup: fix compile warning.
Brecht Van Lommel [Tue, 8 Nov 2011 11:15:40 +0000 (11:15 +0000)]
Code cleanup: fix compile warning.

10 years agoFix: incorrect use of IFACE_ macro, and correct a typo.
Brecht Van Lommel [Tue, 8 Nov 2011 11:02:57 +0000 (11:02 +0000)]
Fix: incorrect use of IFACE_ macro, and correct a typo.

10 years ago- Fixed typo in KLT description tooltip
Sergey Sharybin [Tue, 8 Nov 2011 10:17:50 +0000 (10:17 +0000)]
- Fixed typo in KLT description tooltip
- Fixed inconsistent data type used for pts number in ffmpeg_fetchibuf
  and stored in timecode structure. Not really issue for "correct" movie files,
  but probably can help for "broken" one

10 years agoFix a typo in building undistorted proxies for movie clips.
Sergey Sharybin [Tue, 8 Nov 2011 09:34:43 +0000 (09:34 +0000)]
Fix a typo in building undistorted proxies for movie clips.

Thanks Campbell to point on this issue.

10 years agouse some more logical BLI math functions & tracking used INT_MAX on a short.
Campbell Barton [Tue, 8 Nov 2011 09:02:47 +0000 (09:02 +0000)]
use some more logical BLI math functions & tracking used INT_MAX on a short.

10 years agoMerged changes in the trunk up to revision 41638.
Tamito Kajiyama [Tue, 8 Nov 2011 06:30:02 +0000 (06:30 +0000)]
Merged changes in the trunk up to revision 41638.

Conflicts resolved: