Merge branch 'master' into blender2.8
This commit is contained in:
commit
7a0750016e
Notes:
blender-bot
2023-02-14 05:39:38 +01:00
Referenced by issue #55730, Shift + c not working to center the cursor to 0,0,0 Referenced by issue #55733, Sculpt mode display bug with subsurf modifier Referenced by issue #55727, Crashes when "s" is pressed while dragging 3d cursor
|
@ -948,11 +948,14 @@ void UI_editsource_active_but_test(uiBut *but)
|
|||
|
||||
static int editsource_text_edit(
|
||||
bContext *C, wmOperator *op,
|
||||
char filepath[FILE_MAX], int line)
|
||||
const char filepath[FILE_MAX], const int line)
|
||||
{
|
||||
struct Main *bmain = CTX_data_main(C);
|
||||
Text *text;
|
||||
|
||||
/* Developers may wish to copy-paste to an external editor. */
|
||||
printf("%s:%d\n", filepath, line);
|
||||
|
||||
for (text = bmain->text.first; text; text = text->id.next) {
|
||||
if (text->name && BLI_path_cmp(text->name, filepath) == 0) {
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue