10 years agosse flags for intel c++ compiler
Campbell Barton [Fri, 30 Sep 2011 16:37:46 +0000 (16:37 +0000)]
sse flags for intel c++ compiler

10 years agoformatting edits only
Campbell Barton [Fri, 30 Sep 2011 15:51:58 +0000 (15:51 +0000)]
formatting edits only

10 years agoFix #28432: Scrolling lists respond incorrectly if mouse is not moved
Sergey Sharybin [Fri, 30 Sep 2011 15:42:04 +0000 (15:42 +0000)]
Fix #28432: Scrolling lists respond incorrectly if mouse is not moved

Copy hardmin for LISTROW and ROW buttons when updating button
from old block due to list item index is stored in this value.

10 years agominor changes, dont append with cmake platform flags which is a string and use enum...
Campbell Barton [Fri, 30 Sep 2011 15:22:13 +0000 (15:22 +0000)]
minor changes, dont append with cmake platform flags which is a string and use enum values rather then ints in a few places.

10 years agoremoving duplicate library linking from cmake, fingers crossed that this wont break...
Campbell Barton [Fri, 30 Sep 2011 15:21:10 +0000 (15:21 +0000)]
removing duplicate library linking from cmake, fingers crossed that this wont break on other systems (works here).

10 years agoFix [#28773] Auto Set Preview Range Does not work on selection in DopeSheet
Bastien Montagne [Fri, 30 Sep 2011 12:33:52 +0000 (12:33 +0000)]
Fix [#28773] Auto Set Preview Range Does not work on selection in DopeSheet
(viewall was also broken for DopeSheet, btw, same cause).

10 years agoWhitespace clean-up
Sergey Sharybin [Fri, 30 Sep 2011 12:24:17 +0000 (12:24 +0000)]
Whitespace clean-up

10 years agoBump maps flip: now white means salience, black means concavity
Sergey Sharybin [Fri, 30 Sep 2011 09:55:21 +0000 (09:55 +0000)]
Bump maps flip: now white means salience, black means concavity

Files created in blender before this revision should be rendered in
exactly the same way they used to render before.

Patch by Morten Mikkelsen, finished by Ton and me.

10 years agoi18n: fixed mistage in message generator which lead to some messages disappeared.
Sergey Sharybin [Fri, 30 Sep 2011 09:25:53 +0000 (09:25 +0000)]
i18n: fixed mistage in message generator which lead to some messages disappeared.

Also, cleaned up po files from unused messages.

10 years agoadd bevel weight to editmode buttons, patch from Psy-Fi or IRC.
Campbell Barton [Fri, 30 Sep 2011 08:27:38 +0000 (08:27 +0000)]
add bevel weight to editmode buttons, patch from Psy-Fi or IRC.

10 years agoMinor: Other UI strings typos and tweaks.
Bastien Montagne [Fri, 30 Sep 2011 08:10:53 +0000 (08:10 +0000)]
Minor: Other UI strings typos and tweaks.

10 years agofix for crash generating messages.txt, I wasn't getting this crash because I had...
Campbell Barton [Fri, 30 Sep 2011 07:47:45 +0000 (07:47 +0000)]
fix for crash generating messages.txt, I wasn't getting this crash because I had 'WITH_PYTHON_SAFETY' enabled which was using different iterators (which dont crash), now there on by default.

made headless and no-python configurations work again and added --factory-startup to doc building command.

10 years agopo : adding note for windows translators/devs + remove backup function in
Dalai Felinto [Fri, 30 Sep 2011 05:36:56 +0000 (05:36 +0000)]
po : adding note for windows translators/devs + remove backup function in
(no more tons of *.po~ in the folder)

10 years agoRecast: upgrade library.
Benoit Bolsee [Thu, 29 Sep 2011 21:38:57 +0000 (21:38 +0000)]
Recast: upgrade library.

- Upgrade Recast library to latest portable version
- Implement recast_qsort based on FreeBSD qsort.c to have
  portable thread safe quick sort for use in conversion routine.
- Better default value for the Build Navigation Mesh operator

10 years agoSVN maintenance.
Guillermo S. Romero [Thu, 29 Sep 2011 18:37:09 +0000 (18:37 +0000)]
SVN maintenance.

10 years agoremove the pot and messages file, they change too much with only minor changes to...
Campbell Barton [Thu, 29 Sep 2011 17:19:51 +0000 (17:19 +0000)]
remove the pot and messages file, they change too much with only minor changes to the source and can be regenerated.

10 years agoimprovements to translation message generator
Campbell Barton [Thu, 29 Sep 2011 17:15:58 +0000 (17:15 +0000)]
improvements to translation message generator

- for rna stringsinclude the path as comment, eg:

- skip strings like %dx%d or -X.

- for strings extracted from python scripts include file:line reference as with C files.

- have messages in order they appear in the file, files and classes sorted so it reads more logically.

- extract these comments from the messages.txt file into the pot file.

10 years agoOSX: another non-ASCII char, sorry
Jens Verwiebe [Thu, 29 Sep 2011 17:02:19 +0000 (17:02 +0000)]
OSX: another non-ASCII char, sorry

10 years agoMinor: Other UI strings typos and tweaks.
Bastien Montagne [Thu, 29 Sep 2011 15:58:15 +0000 (15:58 +0000)]
Minor: Other UI strings typos and tweaks.

10 years agoCommented and tagged some unused vars, added some var init (gcc warnings...).
Bastien Montagne [Thu, 29 Sep 2011 15:28:22 +0000 (15:28 +0000)]
Commented and tagged some unused vars, added some var init (gcc warnings...).
Won’t go further, most other warnings are from GE or intern/extern lib code...

10 years agoMinor: Other UI strings typos and tweaks. Also updated french po & mo.
Bastien Montagne [Thu, 29 Sep 2011 14:41:11 +0000 (14:41 +0000)]
Minor: Other UI strings typos and tweaks. Also updated french po & mo.
(grrr... That update created tons of new things... back to ~40% done...)

10 years agoFix #28416: setting fluid simulation start time to anything other than zero
Brecht Van Lommel [Thu, 29 Sep 2011 14:18:01 +0000 (14:18 +0000)]
Fix #28416: setting fluid simulation start time to anything other than zero
gave wrong results. Note how in this code it already incremented to the start
time and then incorrectly added it again. Patch by Chris Foster, thanks!

10 years agoFix #28769 & #28768: problem with duplicated keymap items after fix yesterday.
Brecht Van Lommel [Thu, 29 Sep 2011 13:52:58 +0000 (13:52 +0000)]
Fix #28769 & #28768: problem with duplicated keymap items after fix yesterday.

10 years agofix for error generating docs, write all files as utf-8
Campbell Barton [Thu, 29 Sep 2011 12:11:58 +0000 (12:11 +0000)]
fix for error generating docs, write all files as utf-8

10 years agoPedantic changes to description for recently added select grouped operator
Sergey Sharybin [Thu, 29 Sep 2011 10:17:34 +0000 (10:17 +0000)]
Pedantic changes to description for recently added select grouped operator

10 years agoi18n: update font to solve squares in arabic glyphs recently reported in ML
Sergey Sharybin [Thu, 29 Sep 2011 10:08:45 +0000 (10:08 +0000)]
i18n: update font to solve squares in arabic glyphs recently reported in ML

10 years agotake 2 at fixing the crash...
Campbell Barton [Thu, 29 Sep 2011 09:29:46 +0000 (09:29 +0000)]
take 2 at fixing the crash...

10 years agoAttempt to fix error reported by yafaray devs from my commit r40660
Campbell Barton [Thu, 29 Sep 2011 09:19:15 +0000 (09:19 +0000)]
Attempt to fix error reported by yafaray devs from my commit r40660

10 years agorna function:
Campbell Barton [Thu, 29 Sep 2011 08:23:52 +0000 (08:23 +0000)]
rna function:
  vecs = Camera.view_frame(scene)

returns 4 points for the camera frame, without this its very hard to know if a point is in the camera view or not, without rewriting blenders internal logic in python.

10 years agomake drawobject.c's code for getting the camera view frame into its own function...
Campbell Barton [Thu, 29 Sep 2011 07:59:33 +0000 (07:59 +0000)]
make drawobject.c's code for getting the camera view frame into its own function. (no functional changes)

10 years agomaking PO/POT/... update scripts py3.2 compatible + making it almost win compatible
Dalai Felinto [Thu, 29 Sep 2011 06:34:58 +0000 (06:34 +0000)]
making PO/POT/... update scripts py3.2 compatible + making it almost win compatible

Adding from codecs import open + the encoding in so it works for python 3.2.
Now it should be easier to replace the executable folders in the first lines of the file.
It now also works if you are in the same folder as the .po files (i.e. os.path.dirname(__FILE__) is empty)

It's still not working for me on Mingw because I need gettext 1.8 and so far I found only the 1.7
(in 1.7 msgmerge --lang is not supported)

10 years agouse math functions for curve handle calculation.
Campbell Barton [Thu, 29 Sep 2011 06:15:33 +0000 (06:15 +0000)]
use math functions for curve handle calculation.

10 years agono-longer select handles when transforming in the dopesheet since now the dope sheet...
Campbell Barton [Thu, 29 Sep 2011 06:13:25 +0000 (06:13 +0000)]
no-longer select handles when transforming in the dopesheet since now the dope sheet acts as if handles are hidden.
also remove invalid comment.

10 years agofix [#28765] keyframe handles do not move with curves in graph editor when hidden...
Campbell Barton [Thu, 29 Sep 2011 05:03:21 +0000 (05:03 +0000)]
fix [#28765] keyframe handles do not move with curves in graph editor when hidden, resulting in bad curves.

hide handles wasn't properly respected by transform function testhandles_fcurve().

10 years agoReverting part of r.40659
Joshua Leung [Wed, 28 Sep 2011 23:43:48 +0000 (23:43 +0000)]
Reverting part of r.40659

The output of an automated tool is not a valid excuse for clobbering
code to increase maintenance headaches later on.

10 years agoFix #28728: volume precaching took a long time with many objects, changed
Brecht Van Lommel [Wed, 28 Sep 2011 19:18:29 +0000 (19:18 +0000)]
Fix #28728: volume precaching took a long time with many objects, changed
threading to no longer sleep 50ms for each object, using work queue now.

Also it was showing SSS preprocessing while actually doing Volume precaching,
fixed as well.

10 years agoFix autosave trying to write to / if no userpref temp directory was set,
Brecht Van Lommel [Wed, 28 Sep 2011 19:11:59 +0000 (19:11 +0000)]
Fix autosave trying to write to / if no userpref temp directory was set,
like other code in blender it should write to the one actually verified
to exist.

Also fixes wrong temp directory when loading user preferences with no
temp directory from a state where one was specified.

10 years agoFix #28726: maya key configuration lost after file > new.
Brecht Van Lommel [Wed, 28 Sep 2011 19:05:47 +0000 (19:05 +0000)]
Fix #28726: maya key configuration lost after file > new.

10 years agofix 2 bugs with reset-default failing on operators redo panel.
Campbell Barton [Wed, 28 Sep 2011 18:45:17 +0000 (18:45 +0000)]
fix 2 bugs with reset-default failing on operators redo panel.
- The operator its self was registered so resetting the defaults would unhelpfully replace the toolbar with the reset to defaults operator panel.
- The callback for the operator wasnt being used so the settings were changed but the operator didnt re-run.

10 years agousing Blender 2.49 as playback for Ctrl+F11 doesn't take 'frame step' into consideration
Dalai Felinto [Wed, 28 Sep 2011 17:57:12 +0000 (17:57 +0000)]
using Blender 2.49 as playback for Ctrl+F11 doesn't take 'frame step' into consideration
... now it does ;) -- self-reported bug, not in tracker. Sorry statics people.

10 years agoNow in proper english, hehe
Jens Verwiebe [Wed, 28 Sep 2011 17:52:07 +0000 (17:52 +0000)]
Now in proper english, hehe

10 years agoUsing non ASCII-conform char in comment broke compile
Jens Verwiebe [Wed, 28 Sep 2011 17:45:32 +0000 (17:45 +0000)]
Using non ASCII-conform char in comment broke compile

10 years agoOSX: Give clear commenting and more up-to-date defaults
Jens Verwiebe [Wed, 28 Sep 2011 17:28:37 +0000 (17:28 +0000)]
OSX: Give clear commenting and more up-to-date defaults

10 years agoOSX: change omp default True gor gcc-4.6.1 only atm
Jens Verwiebe [Wed, 28 Sep 2011 17:21:08 +0000 (17:21 +0000)]
OSX: change omp default True gor gcc-4.6.1 only atm

10 years agoOSX: always compile GHOST and Quicktime with Apple-gcc-4.2, simplifies for non-apple...
Jens Verwiebe [Wed, 28 Sep 2011 17:15:28 +0000 (17:15 +0000)]
OSX: always compile GHOST and Quicktime with Apple-gcc-4.2, simplifies for non-apple compilers

10 years agodont give an error on when texface conversion fails on load. give a warning instead.
Campbell Barton [Wed, 28 Sep 2011 16:25:50 +0000 (16:25 +0000)]
dont give an error on when texface conversion fails on load. give a warning instead.

this is needed because python converts report errors to exceptions (as if the file load operator couldn't complete), but infact it does load the file so rather then stopping the script, just report this as a warning.

10 years agoFix #28185: Regression test: outlinertest blend
Sergey Sharybin [Wed, 28 Sep 2011 16:13:36 +0000 (16:13 +0000)]
Fix #28185: Regression test: outlinertest blend

Added notifier handler to outliner.

10 years agofix for crash with demo mode addon, modal operator loading a blend file would free...
Campbell Barton [Wed, 28 Sep 2011 15:42:55 +0000 (15:42 +0000)]
fix for crash with demo mode addon, modal operator loading a blend file would free all window data which was then accessed, causing a crash.

10 years agoCommented and tagged some unused vars, added some var init (gcc warnings...)
Bastien Montagne [Wed, 28 Sep 2011 15:22:13 +0000 (15:22 +0000)]
Commented and tagged some unused vars, added some var init (gcc warnings...)

10 years agopatch [#28571]
Campbell Barton [Wed, 28 Sep 2011 14:12:27 +0000 (14:12 +0000)]
patch [#28571]
from Bastien Montagne (mont29)

Only applied Sequencer Select Grouped functionality - similar to the one in object mode, select strips based on type, time, data etc.

10 years agoMinor: Other UI strings typos and tweaks. Also updated french po & mo.
Bastien Montagne [Wed, 28 Sep 2011 14:08:56 +0000 (14:08 +0000)]
Minor: Other UI strings typos and tweaks. Also updated french po & mo.

10 years agoOSX: solve weaklinking for non-apple compilers by using Xlinker, build also QTKit...
Jens Verwiebe [Wed, 28 Sep 2011 11:56:50 +0000 (11:56 +0000)]
OSX: solve weaklinking for non-apple compilers by using Xlinker, build also QTKit with apple gcc, to be more compatible to distributed gnu-gcc compilers without objC, objC++ capabilities

10 years agofix [#28158] Image crop keyframes/fcurves do not 'stick' to strip
Campbell Barton [Wed, 28 Sep 2011 10:05:56 +0000 (10:05 +0000)]
fix [#28158] Image crop keyframes/fcurves do not 'stick' to strip

10 years agotransform sequencer update was checking against the wrong transform mode.
Campbell Barton [Wed, 28 Sep 2011 09:47:30 +0000 (09:47 +0000)]
transform sequencer update was checking against the wrong transform mode.

10 years agoBugfix for wrong playback reported by Sergey Sharybin in IRC.
Joerg Mueller [Wed, 28 Sep 2011 09:37:50 +0000 (09:37 +0000)]
Bugfix for wrong playback reported by Sergey Sharybin in IRC.

10 years agoadd support for a 4th item for rna property enums in python so the numeric value...
Campbell Barton [Wed, 28 Sep 2011 09:18:20 +0000 (09:18 +0000)]
add support for a 4th item for rna property enums in python so the numeric value can be passed, this is so you can animate the enum and keep the values even if you add items in the middle of the enum. - request from ZanQdo.

10 years agoFix #28601: SEGFAULT: Regression in free_imbuf_seq
Sergey Sharybin [Wed, 28 Sep 2011 08:56:40 +0000 (08:56 +0000)]
Fix #28601: SEGFAULT: Regression in free_imbuf_seq

Actually, it's NULL-pointer dereference in rna_Sequence_update caused by RNA cache.

Discussed with Joshua and he thought it's acceptable for now to add
extra NULL-check here.

10 years agoFix crash when starting baking fluid when baking thread is already started.
Sergey Sharybin [Wed, 28 Sep 2011 08:31:02 +0000 (08:31 +0000)]
Fix crash when starting baking fluid when baking thread is already started.

10 years agoi18n: wrote small instruction for translators
Sergey Sharybin [Wed, 28 Sep 2011 08:13:06 +0000 (08:13 +0000)]
i18n: wrote small instruction for translators

- Added po/README.txt file with translation instructions
- If update_po and update_mo scripts now allows to provide list
  of languages which should be handled only, i.e.

./ ru

- Removed obsolete file from

10 years agocolor strip was showing image crop and and offset twice, also made 'Make Metastrip...
Campbell Barton [Wed, 28 Sep 2011 08:03:02 +0000 (08:03 +0000)]
color strip was showing image crop and and offset twice, also made 'Make Metastrip' key shortcut Ctrl+G (so shift+G can be used for select group like object mode)

10 years agofix for incorrect use of strlen() with the sequencer rna (no need for strlen()+1)
Campbell Barton [Wed, 28 Sep 2011 06:48:17 +0000 (06:48 +0000)]
fix for incorrect use of strlen() with the sequencer rna (no need for strlen()+1)

10 years agofix [#28725] No way to control fluid simulator from Python API?
Campbell Barton [Wed, 28 Sep 2011 06:26:46 +0000 (06:26 +0000)]
fix [#28725] No way to control fluid simulator from Python API?

now exec() blocks while doing fluid bake, invoke starts a background job (texture bake also works this way).

10 years agowhitespace edits, make formatting for functions consustent at least within the file.
Campbell Barton [Wed, 28 Sep 2011 05:53:40 +0000 (05:53 +0000)]
whitespace edits, make formatting for functions consustent at least within the file.

10 years agouse __func__ rather than function names in rna prints, some were incorrect.
Campbell Barton [Wed, 28 Sep 2011 05:20:14 +0000 (05:20 +0000)]
use __func__ rather than function names in rna prints, some were incorrect.
also replace use of strlen() where checking first char is enough.

10 years agocorrect own fix for #28751
Campbell Barton [Wed, 28 Sep 2011 02:02:57 +0000 (02:02 +0000)]
correct own fix for #28751

10 years agoFix for MSVC.
Sergey Sharybin [Tue, 27 Sep 2011 19:04:27 +0000 (19:04 +0000)]
Fix for MSVC.

10 years agoDetour: fix bug with steering actuator: object pointer not removed.
Benoit Bolsee [Tue, 27 Sep 2011 17:47:41 +0000 (17:47 +0000)]
Detour: fix bug with steering actuator: object pointer not removed.

10 years agoscons OSX - we don't need extra junk in blenderplayer ;)
Dalai Felinto [Tue, 27 Sep 2011 17:26:36 +0000 (17:26 +0000)]
scons OSX - we don't need extra junk in blenderplayer ;)

10 years agoOSX CMake bundle - blenderplayer doesn't need locale, data, ..
Dalai Felinto [Tue, 27 Sep 2011 17:06:10 +0000 (17:06 +0000)]
OSX CMake bundle - blenderplayer doesn't need locale, data, ..
also blenderplayer is a subset of Blender, so no need to repeat the macros here.

10 years agominor changes to interface code (no functional changes)
Campbell Barton [Tue, 27 Sep 2011 17:04:38 +0000 (17:04 +0000)]
minor changes to interface code (no functional changes)
- made 2 loops on menu items break out of the loop when the item is found.
- include function names in error prints.

10 years agofix [#28752] Brush Icons do not scale correctly with DPI
Campbell Barton [Tue, 27 Sep 2011 16:39:41 +0000 (16:39 +0000)]
fix [#28752] Brush Icons do not scale correctly with DPI

10 years agofix [#28751] Item in Enum propertie is grayed out
Campbell Barton [Tue, 27 Sep 2011 16:23:40 +0000 (16:23 +0000)]
fix [#28751] Item in Enum propertie is grayed out

was infact a very old bug where an empty title took the following word for the title, eg: "%t|First Item|Second Item"
the first item would be evaluated as a title.

10 years agoSilence some gcc warnings.
Sergey Sharybin [Tue, 27 Sep 2011 13:33:32 +0000 (13:33 +0000)]
Silence some gcc warnings.

10 years agoOSX: introduced a workaround for compiling with non-apple gcc-4.6.1, ghost must be...
Jens Verwiebe [Tue, 27 Sep 2011 13:18:34 +0000 (13:18 +0000)]
OSX: introduced a workaround for compiling with non-apple gcc-4.6.1, ghost must be compiled with apple-gcc nevertheless due objc incompatibilities

10 years agoReturn back nice eye icon to constraints header (instead of speaker which not so...
Sergey Sharybin [Tue, 27 Sep 2011 13:11:19 +0000 (13:11 +0000)]
Return back nice eye icon to constraints header (instead of speaker which not so nice in this context, imo)

10 years agocomment warnings as errors for MSVC - it too easily made small problems like unused...
Campbell Barton [Tue, 27 Sep 2011 12:08:35 +0000 (12:08 +0000)]
comment warnings as errors for MSVC - it too easily made small problems like unused vars into errors which gets annoying for non developers.

with GCC we have *some* warnings as errors which works out better.

10 years agoCommented and tagged some unused vars (gcc warnings...)
Bastien Montagne [Tue, 27 Sep 2011 11:02:19 +0000 (11:02 +0000)]
Commented and tagged some unused vars (gcc warnings...)

10 years agoOSX: fix player bundle_creation
Jens Verwiebe [Tue, 27 Sep 2011 10:51:57 +0000 (10:51 +0000)]
OSX: fix player bundle_creation

10 years handlers.
Campbell Barton [Tue, 27 Sep 2011 10:43:45 +0000 (10:43 +0000)] handlers.

10 years agoMinor: Other UI strings typos and tweaks. Also updated french po & mo.
Bastien Montagne [Tue, 27 Sep 2011 10:37:02 +0000 (10:37 +0000)]
Minor: Other UI strings typos and tweaks. Also updated french po & mo.

10 years agoFix for messages.txt generator -- KM_HIERARCHY was moved to other module
Sergey Sharybin [Tue, 27 Sep 2011 09:43:35 +0000 (09:43 +0000)]
Fix for messages.txt generator -- KM_HIERARCHY was moved to other module

10 years agoFix for recent commit: mistake in sconscript
Sergey Sharybin [Tue, 27 Sep 2011 09:40:53 +0000 (09:40 +0000)]
Fix for recent commit: mistake in sconscript

10 years agoFixing typo in comment - no functional changes
Sergey Sharybin [Tue, 27 Sep 2011 09:21:17 +0000 (09:21 +0000)]
Fixing typo in comment - no functional changes

10 years agonavmesh: code clean-up, should be no functional changes.
Sergey Sharybin [Tue, 27 Sep 2011 09:09:55 +0000 (09:09 +0000)]
navmesh: code clean-up, should be no functional changes.

10 years agonavmesh: solve bad level calls to edit mesh functions
Sergey Sharybin [Tue, 27 Sep 2011 09:09:52 +0000 (09:09 +0000)]
navmesh: solve bad level calls to edit mesh functions

Move navmesh operators from editors/object to editors/mesh

10 years agonavmesh: convert object_navmesh.cpp to plain c.
Sergey Sharybin [Tue, 27 Sep 2011 09:09:43 +0000 (09:09 +0000)]
navmesh: convert object_navmesh.cpp to plain c.

10 years agopy api
Campbell Barton [Tue, 27 Sep 2011 05:28:06 +0000 (05:28 +0000)]
py api
- use Py_ssize_t when dealing with python sequence sizes
- dont call PySequence_Size(py_b) in a loop (its slow).
- use faster sequence/float parsing in aud.Factory.filter

10 years agofix for py/rna api bug:
Campbell Barton [Tue, 27 Sep 2011 04:07:48 +0000 (04:07 +0000)]
fix for py/rna api bug:
  PyC_UnicodeAsByte(), used for getting python strings as bytes wasnt clearning utf-8 conversion errors.
  this would raise an error when getting an operators filepath.

10 years agofix for building on windows, clear some warnings too
Campbell Barton [Tue, 27 Sep 2011 01:32:27 +0000 (01:32 +0000)]
fix for building on windows, clear some warnings too

10 years ago[#28681] Switching transform type doesn't register correct operator for 'repeat'.
Martin Poirier [Tue, 27 Sep 2011 01:28:15 +0000 (01:28 +0000)]
[#28681] Switching transform type doesn't register correct operator for 'repeat'.
Reported by Nicholas Rishel

Part of a potential fix, see discussion in tracker.

10 years agoreplace strncpy with BLI_strncpy, in some cases strncpy was being misused since it...
Campbell Barton [Mon, 26 Sep 2011 18:51:10 +0000 (18:51 +0000)]
replace strncpy with BLI_strncpy, in some cases strncpy was being misused since it doesnt ensure \0 termination.
also dont call CTX_data_scene() twice when checking for function arguments.

10 years agofix [#28742] with icon misbehaves in headers
Campbell Barton [Mon, 26 Sep 2011 17:32:50 +0000 (17:32 +0000)]
fix [#28742] with icon misbehaves in headers

10 years agoreplace strnlen with BLI_strnlen, make some args const - no functional changes.
Campbell Barton [Mon, 26 Sep 2011 17:30:56 +0000 (17:30 +0000)]
replace strnlen with BLI_strnlen, make some args const - no functional changes.

10 years agouse BLI_snprintf rather than sprintf for interface functions
Campbell Barton [Mon, 26 Sep 2011 16:53:04 +0000 (16:53 +0000)]
use BLI_snprintf rather than sprintf for interface functions

10 years agopep8 cleanup and fix for keymap test operator from my own recent fix.
Campbell Barton [Mon, 26 Sep 2011 15:39:15 +0000 (15:39 +0000)]
pep8 cleanup and fix for keymap test operator from my own recent fix.

10 years agoRemove PROP_TRANSLATE flag from labels for operators, menus and panels.
Sergey Sharybin [Mon, 26 Sep 2011 14:29:39 +0000 (14:29 +0000)]
Remove PROP_TRANSLATE flag from labels for operators, menus and panels.

This flag lead to storing translated label for templates and
instant language switching became impossible.

This labels are display-time translated.

10 years agoAbort on guarded memory manager errors if WITH_ASSERT_ABORT is set
Sergey Sharybin [Mon, 26 Sep 2011 14:21:40 +0000 (14:21 +0000)]
Abort on guarded memory manager errors if WITH_ASSERT_ABORT is set

10 years agoCommented and tagged some unused vars (gcc warnings...). Also fixed some uninitialize...
Bastien Montagne [Mon, 26 Sep 2011 13:24:42 +0000 (13:24 +0000)]
Commented and tagged some unused vars (gcc warnings...). Also fixed some uninitialized warnings.

10 years agoMinor: Other UI strings typos and tweaks. Also updated french po & mo.
Bastien Montagne [Mon, 26 Sep 2011 12:08:04 +0000 (12:08 +0000)]
Minor: Other UI strings typos and tweaks. Also updated french po & mo.

10 years agofix for keymap export, move functions common for the UI and operators into bpy_extras...
Campbell Barton [Mon, 26 Sep 2011 11:22:07 +0000 (11:22 +0000)]
fix for keymap export, move functions common for the UI and operators into bpy_extras.keymap_utils